:root {
  color-scheme: light;
  --ink: #17191e;
  --muted: #64666d;
  --indigo: #2f3a8f;
  --lavender: #eef0fb;
  --tile: #f0f1f3;
  --line: #e4e5e9;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--indigo); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
::selection { color: var(--indigo); background: #e3e5fa; }
.wrap { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px 20px; color: #fff; background: var(--indigo); border-radius: 6px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 60px; padding: 15px 27px; border: 1px solid var(--indigo); border-radius: 10px; background: var(--indigo); color: #fff; font-size: 18px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.button:hover { background: #253078; }

/* Existing navigation, with the split hero from mockup B. */
.site-header { background: #f7f6f2; border-bottom: 1px solid #e2e1dd; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; min-height: 122px; }
.brand { display: block; width: 196px; }
.header-nav { display: flex; gap: 38px; color: var(--muted); font-size: 19px; }
.header-nav a:hover, .footer-nav a:hover { color: var(--indigo); text-decoration: underline; text-underline-offset: 5px; }
.header-inner > .button { justify-self: end; }
.hero { overflow: hidden; padding-top: 64px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 48px; }
.hero-copy { padding-bottom: 39px; }
.development { display: inline-block; padding: 5px 13px; border: 1px solid #dfe2f2; border-radius: 100px; color: var(--indigo); background: #f5f6fc; font-size: 13px; font-weight: 500; }
.hero h1 { margin-top: 21px; color: var(--indigo); font-size: clamp(42px, 4.7vw, 68px); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero-intro { margin: 25px 0 30px; max-width: 530px; color: var(--muted); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.product-figure { min-width: 0; text-align: left; }
/* Extend the lavender panel to the viewport edge; the inbox stays in the wrap. */
.product-panel { width: calc(100% + max(56px, (100vw - 1280px) / 2)); padding: 54px max(56px, (100vw - 1280px) / 2) 54px 44px; border-radius: 24px 0 0 24px; background: #e4e6f8; }
.inbox-app { display: grid; grid-template-columns: 35% minmax(0, 1fr); height: 464px; overflow: hidden; border: 1px solid #c1c5e4; border-radius: 12px; background: #fff; box-shadow: 0 0 0 4px #d8dbf0, 0 4px 16px #303a8f08; }
.inbox-list { min-width: 0; padding: 14px 7px 7px; border-right: 1px solid var(--line); }
.list-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 6px 14px; font-size: 16px; font-weight: 600; }
.list-heading .icon { width: 15px; height: 15px; color: #818695; }
.search-decoration { display: flex; align-items: center; gap: 6px; margin: 0 5px 9px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 5px; color: #858995; font-size: 11px; }
.search-decoration .icon { width: 13px; height: 13px; }
.guest-row { position: relative; display: flex; align-items: center; gap: 7px; min-height: 51px; padding: 8px 5px; border-radius: 6px; }
.guest-row.active { background: #eeedfb; }
.avatar { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border-radius: 50%; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.avatar-patel { background: #e5e4db; color: #525847; }
.avatar-tanaka { background: #e0e6ef; color: #43566c; }
.avatar-reed { background: #ebe0dc; color: #76564c; }
.avatar-morgan { background: #e6e0ef; color: #645278; }
.guest-summary { min-width: 0; flex: 1; }
.guest-name { overflow: hidden; padding-right: 27px; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.guest-summary p { overflow: hidden; color: #777d85; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.guest-time { position: absolute; top: 9px; right: 5px; color: #777d85; font-size: 8px; }
.conversation { display: flex; flex-direction: column; min-width: 0; }
.conversation-header { display: flex; align-items: center; gap: 9px; min-height: 59px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.conversation-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.conversation-header p { color: #777d85; font-size: 10px; }
.ellipsis { margin-left: auto; color: #858995; font-size: 20px; font-weight: 600; line-height: 1; }
.conversation-body { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 16px 13px 13px; }
.day-divider { display: flex; align-items: center; gap: 12px; color: #777d85; font-size: 10px; }
.day-divider::before, .day-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.guest-message { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.guest-message .avatar { width: 25px; height: 25px; font-size: 8px; }
.guest-message p { padding: 9px 10px; border-radius: 10px 10px 10px 3px; background: #f0f1f3; font-size: 12px; }
.reply-panel { margin-top: auto; overflow: hidden; border: 1px solid #d9dce7; border-radius: 8px; }
.reply-heading { padding: 9px 11px; border-bottom: 1px solid var(--line); background: #fafaff; color: #565d6b; font-size: 12px; }
.draft-copy { min-height: 107px; padding: 11px; color: #45494c; font-size: 12px; line-height: 1.6; }
.draft-copy p + p { margin-top: 8px; }
.reply-toolbar { display: flex; align-items: center; gap: 9px; padding: 7px; border-top: 1px solid #f0f1f5; color: #858995; }
.reply-toolbar .icon { width: 15px; height: 15px; }
.handover-label { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #646b78; font-size: 10px; white-space: nowrap; }
.toggle { position: relative; width: 27px; height: 16px; border-radius: 20px; background: var(--indigo); }
.toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.send-decoration { padding: 6px 10px; border-radius: 5px; background: var(--indigo); color: #fff; font-size: 11px; font-weight: 500; }
.product-figure figcaption { margin-top: 23px; color: var(--muted); text-align: center; font-size: 13px; }

/* Six equal tiles, then the full-width lavender process band. */
.features { padding-block: 85px 94px; scroll-margin-top: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.feature-tile { padding: 23px 19px 25px; border-radius: 12px; background: var(--tile); }
.feature-icon { width: 48px; height: 48px; margin-bottom: 22px; color: var(--indigo); stroke-width: 1.25; }
.feature-tile h3 { margin-bottom: 9px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.feature-tile p { color: #50535b; font-size: 15px; line-height: 1.5; }
.how-it-works { background: var(--lavender); padding-block: 64px; scroll-margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px; padding: 0; list-style: none; }
.step { display: flex; align-items: flex-start; gap: 25px; min-width: 0; }
.step-number { display: grid; place-items: center; width: 87px; height: 87px; flex-shrink: 0; border: 3px solid #cdd1ed; border-radius: 50%; color: var(--indigo); font-size: 43px; font-weight: 400; line-height: 1; }
.step-content { min-width: 0; padding-top: 10px; }
.step-icons { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; color: var(--indigo); }
.step-icons .icon { width: 58px; height: 58px; stroke-width: 1.25; }
.step-icons .step-arrow { width: 24px; height: 24px; stroke-width: 1.5; }
.step h3 { margin-bottom: 6px; font-size: 21px; font-weight: 500; }
.step p { color: #50535b; font-size: 17px; line-height: 1.5; }
.closing { padding-block: 66px 45px; }
.closing-panel { padding: 38px 24px; border-radius: 12px; background: var(--tile); text-align: center; }
.closing h2 { margin-bottom: 23px; font-size: 27px; line-height: 1.3; font-weight: 400; letter-spacing: -.025em; }
.site-footer { padding-block: 42px 36px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 13px; }
.footer-brand { margin-inline: auto; }
.footer-nav { display: flex; justify-content: center; gap: 27px; margin: 29px 0 22px; font-size: 15px; }
.company-details { margin-top: 9px; font-size: 12px; }

@media (max-width: 1199px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { min-height: 100px; }
  .brand { width: 168px; }
  .header-nav { gap: 28px; font-size: 17px; }
  .hero { padding-top: 52px; }
  .hero-inner { gap: 32px; }
  .hero h1 { font-size: clamp(36px, 4.7vw, 56px); }
  .hero-intro { font-size: 17px; }
  .product-panel { width: calc(100% + 32px); padding: 40px 32px 40px 28px; }
  .inbox-app { grid-template-columns: 36% minmax(0, 1fr); }
  .guest-row { gap: 5px; }
  .guest-row .avatar { width: 24px; height: 24px; font-size: 8px; }
  .conversation-header { padding-inline: 10px; }
  .conversation-body { padding-inline: 9px; }
  .guest-message { gap: 5px; }
  .guest-message p { padding-inline: 8px; font-size: 11px; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .feature-tile { padding: 23px; }
  .features { padding-block: 65px 72px; }
  .steps { gap: 28px; }
  .step { gap: 17px; }
  .step-number { width: 62px; height: 62px; font-size: 32px; }
  .step-content { padding-top: 6px; }
  .step-icons { gap: 5px; margin-bottom: 20px; }
  .step-icons .icon { width: 41px; height: 41px; }
  .step-icons .step-arrow { width: 18px; height: 18px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 16px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { display: flex; justify-content: space-between; gap: 18px; min-height: 84px; }
  .brand { width: 139px; flex-shrink: 0; }
  .header-nav { display: none; }
  .button { min-height: 51px; padding: 13px 22px; border-radius: 8px; font-size: 16px; }
  .header-inner > .button { min-height: 46px; padding: 11px 17px; font-size: 14px; }
  .hero { padding-top: 39px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .hero-copy { padding-bottom: 0; }
  .development { font-size: 12px; }
  .hero h1 { margin-top: 19px; font-size: clamp(36px, 10.7vw, 54px); line-height: 1.1; letter-spacing: -.04em; }
  .hero-intro { max-width: 510px; margin-block: 22px 25px; font-size: 16px; line-height: 1.65; }
  .product-panel { width: 100%; padding: 24px 16px; border-radius: 18px; }
  .inbox-app { grid-template-columns: minmax(0, 1fr); height: 395px; border-radius: 9px; }
  .inbox-list { display: none; }
  .conversation-header { min-height: 64px; padding: 10px 13px; }
  .conversation-header .avatar { width: 34px; height: 34px; font-size: 10px; }
  .conversation-name { font-size: 15px; }
  .conversation-header p { font-size: 11px; }
  .conversation-body { padding: 16px 12px 12px; }
  .guest-message { gap: 8px; margin-top: 24px; }
  .guest-message p { padding: 9px 10px; font-size: 12px; }
  .draft-copy { min-height: 114px; font-size: 12px; }
  .product-figure figcaption { margin-top: 18px; font-size: 11px; }
  .features { padding-block: 49px 52px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); max-width: 540px; margin-inline: auto; gap: 14px; }
  .feature-tile { display: grid; grid-template-columns: 43px minmax(0, 1fr); column-gap: 19px; padding: 25px 23px; }
  .feature-icon { grid-row: span 2; width: 39px; height: 39px; margin: 0; }
  .feature-tile h3 { margin-bottom: 7px; font-size: 17px; }
  .feature-tile p { font-size: 15px; }
  .how-it-works { padding-block: 39px 43px; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 34px; }
  .step { gap: 24px; }
  .step-number { width: 64px; height: 64px; font-size: 32px; }
  .step-content { padding-top: 4px; }
  .step-icons { gap: 9px; margin-bottom: 15px; }
  .step-icons .icon { width: 46px; height: 46px; }
  .step-icons .step-arrow { width: 20px; height: 20px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 16px; }
  .closing { padding-block: 40px 33px; }
  .closing-panel { padding: 33px 22px; }
  .closing h2 { max-width: 270px; margin: 0 auto 22px; font-size: 25px; text-wrap: balance; }
  .site-footer { padding-block: 34px 29px; font-size: 12px; }
  .footer-brand { width: 174px; }
  .footer-nav { gap: 25px; margin-block: 26px 21px; font-size: 14px; }
  .company-details { max-width: 335px; margin: 10px auto 0; font-size: 11px; line-height: 1.7; }
}

@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 10px; }
  .header-inner .brand { width: 124px; }
  .header-inner > .button { padding-inline: 12px; font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .feature-tile { column-gap: 14px; padding-inline: 18px; }
  .step { gap: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color .15s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
