@font-face {
  font-family: "DM Sans";
  src: url("/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #172448;
  --blue: #3458d2;
  --accent: #496ff3;
  --body: #4c5a70;
  --line: #dce3ed;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--navy);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, main:focus-visible { outline: 3px solid #c04c06; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; left: 24px; top: -120px; z-index: 3; padding: 12px 18px; border-radius: 8px; background: white; }
.skip:focus { top: 4px; }
.top { height: 98px; padding-top: 20px; position: relative; z-index: 1; background: linear-gradient(to bottom, var(--accent) 0 69px, #f6f8f7 69px); }
.navigation {
  min-height: 78px; padding: 12px 20px 12px 26px; display: flex; align-items: center; gap: 32px;
  border: 1px solid #e9edf3; border-radius: 21px; background: #fff; box-shadow: 0 5px 22px #202a5b06;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 1.48rem; font-weight: 800; letter-spacing: -.065em; line-height: 1; }
.brand > span:last-child { color: #3155ca; }
.brand-icon { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 35px; height: 35px; padding: 9px 7px; margin-right: 9px; background: #0170ff; border-radius: 10px; }
.brand-icon i { width: 4px; height: 6px; border-radius: 2px; background: #fff; }
.brand-icon i:nth-child(2) { height: 11px; }
.brand-icon i:nth-child(3) { height: 16px; }
nav { display: flex; align-items: center; justify-content: center; gap: 32px; flex: 1; }
nav a, .text-link, footer a { font-size: .89rem; font-weight: 650; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.nav-login, .button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; background: var(--blue); color: #fff; font-weight: 700; }
.nav-login { padding: 13px 18px; border-radius: 10px; font-size: .88rem; }
.nav-login:hover, .button:hover { background: #2446b2; }
.hero {
  position: relative; padding: clamp(45px, 5.3vw, 85px) 0 clamp(64px, 6.4vw, 104px);
  background: radial-gradient(ellipse at 94% 32%, #f6eee1a1, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 71px, #162b5c07 72px, transparent 73px), #f6f8f7;
  border-bottom: 1px solid #e8ebee;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 5.4vw, 86px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #324172; font-size: .77rem; font-weight: 700; letter-spacing: .035em; }
.eyebrow > span { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px #496ff318; }
h1 { font-size: clamp(2.8rem, 4.6vw, 4.55rem); font-weight: 700; line-height: 1.035; letter-spacing: -.06em; text-wrap: balance; }
h1 em { color: var(--blue); font-style: normal; }
.lead { margin: 22px 0 0; max-width: 47ch; color: var(--body); font-size: clamp(1rem, 1.23vw, 1.14rem); line-height: 1.63; }
.actions { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; margin-top: 29px; }
.button { padding: 16px 20px; border-radius: 13px; font-size: .94rem; }
.nav-login span, .button span, .text-link span { font-size: 1.14em; }
.text-link span { margin-left: 4px; }
.example {
  position: relative; isolation: isolate; padding: 24px clamp(17px,3.1vw,46px) 50px; border-radius: 32px;
  background: radial-gradient(ellipse at 87% -34%, #8199ff 0, transparent 64%),
    repeating-radial-gradient(ellipse at -17% 112%, transparent 0 25px, #ffffff21 26px, transparent 27px),
    linear-gradient(145deg, #526edc, #3658d5 55%, #273f9b); color: white;
}
figcaption { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #fff; font-size: .73rem; font-weight: 650; letter-spacing: .025em; }
figcaption::before { content: ""; width: 14px; height: 8px; border-radius: 3px; border: 1px solid #c4d4ff; }
.screen { position: relative; border-radius: 18px; overflow: hidden; color: var(--navy); box-shadow: 0 14px 36px #0e17563d; background: #f5f7fc; }
.screen-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #dde3ee; }
.client-avatar { flex: none; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 12px; background: #ece8fc; color: #61479f; font-size: .92rem; font-weight: 700; }
.screen-head strong, .screen-head small, .handoff small, .handoff strong { display: block; }
.screen-head strong { font-size: .84rem; }
.screen-head small, .handoff small { margin-top: 2px; color: #5a667a; font-size: .68rem; }
.chat-status { margin-left: auto; padding: 5px 8px; border-radius: 999px; background: #e1f4ea; color: #20634b; font-size: .64rem; font-weight: 700; white-space: nowrap; }
.messages { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 19px; list-style: none; }
.messages li { width: fit-content; max-width: 86%; padding: 8px 13px 10px; border: 1px solid #dfe5ef; border-radius: 13px 13px 13px 3px; }
.messages b { font-size: .64rem; color: #5c6880; }
.messages p { margin-top: 2px; line-height: 1.42; font-size: .8rem; }
.from-client { align-self: flex-start; background: #fff; }
.messages .from-ia { align-self: flex-end; background: #e8edff; border-color: #d4ddff; border-radius: 13px 13px 3px 13px; }
.from-ia b { color: #3655ac; }
.handoff {
  position: absolute; right: 18px; bottom: -19px; display: flex; align-items: center; gap: 11px;
  padding: 12px 17px; border: 1px solid #dbe3ef; border-radius: 14px; background: white; color: var(--navy);
  box-shadow: 0 9px 24px #20326717;
}
.handoff-icon { display: grid; place-items: center; width: 34px; height: 34px; background: #dff5e9; color: #287758; border-radius: 11px; font-size: 1.35rem; }
.handoff small { margin: 0 0 2px; }
.handoff strong { font-size: .84rem; font-weight: 720; }
.flow { padding-block: clamp(52px, 6vw, 86px); scroll-margin-top: 24px; }
.section-intro { margin-bottom: 26px; }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.85rem); line-height: 1.12; font-weight: 690; letter-spacing: -.055em; }
.section-intro p, .tenant p { margin-top: 10px; color: var(--body); font-size: 1rem; line-height: 1.55; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps article { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fcfdff; }
h3 { margin: 17px 0 8px; font-size: 1.16rem; line-height: 1.25; letter-spacing: -.035em; }
.steps p { color: var(--body); font-size: .91rem; line-height: 1.62; }
.step-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: #3454c2; background: #e9eeff; border-radius: 12px; }
.icon-chat::before { content: ""; width: 18px; height: 14px; border: 2px solid currentColor; border-radius: 5px 5px 5px 0; }
.icon-chat::after { content: ""; position: absolute; left: 15px; top: 19px; width: 9px; border-top: 2px solid currentColor; }
.icon-ia { color: #7655a5; background: #f1edfa; font-size: 1.95rem; }
.icon-team { color: #247757; background: #e3f4eb; }
.icon-team::before, .icon-team::after { content: ""; position: absolute; border: 2px solid currentColor; }
.icon-team::before { top: 9px; width: 9px; height: 9px; border-radius: 50%; }
.icon-team::after { width: 18px; height: 9px; bottom: 10px; border-radius: 9px 9px 3px 3px; }
.tenant { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(25px,4vw,54px); margin-bottom: 36px; background: #18254c; color: white; border-radius: 26px; }
.tenant h2 { font-size: clamp(1.7rem, 2.55vw, 2.5rem); }
.tenant p { color: #d4dced; max-width: 56ch; }
.light { flex-shrink: 0; background: #fff; color: var(--navy); }
.light:hover { background: #eaf0ff; }
footer { display: flex; justify-content: space-between; gap: 10px; padding: 24px 0 36px; border-top: 1px solid var(--line); color: #536078; }
footer > span { font-weight: 750; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 32px; }
  h1 { font-size: clamp(2.85rem, 6vw, 3.5rem); }
  .example { padding-inline: 18px; }
  .screen-head { gap: 7px; padding-inline: 11px; }
  .actions { gap: 14px; }
  .steps article { padding: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .top { height: 76px; padding-top: 12px; background: linear-gradient(to bottom, var(--accent) 0 47px, #f6f8f7 47px); }
  .navigation { padding: 9px 12px; border-radius: 16px; min-height: 64px; justify-content: space-between; }
  nav { display: none; }
  .brand { font-size: 1.3rem; }
  .brand-icon { width: 31px; height: 31px; border-radius: 9px; padding: 7px 6px; }
  .nav-login { padding: 11px 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 570px; }
  .hero { padding: 42px 0 48px; }
  h1 { font-size: clamp(2.65rem, 8.8vw, 3.85rem); }
  .eyebrow { margin-bottom: 14px; }
  .lead { margin-top: 16px; }
  .actions { margin-top: 23px; }
  .example { padding: 17px clamp(16px, 7vw, 40px) 40px; border-radius: 23px; }
  .handoff { bottom: -14px; right: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps article { padding: 18px 20px 18px 76px; position: relative; }
  .step-icon { position: absolute; top: 19px; left: 19px; }
  h3 { margin-top: 0; }
  .tenant { display: grid; justify-items: start; gap: 18px; }
}
@media (max-width: 370px) {
  .navigation { gap: 8px; }
  .chat-status { white-space: normal; text-align: center; }
  .hero h1 { font-size: 2.48rem; }
  .actions { align-items: flex-start; flex-direction: column; }
}
