@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f8f7f3;
  --ink: #211d2b;
  --muted: #575260;
  --line: #dfdce3;
  --purple: #5731bb;
  --purple-dark: #432099;
  --lavender: #e9e1fc;
  --wrap: 75rem;
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd, ol { margin: 0; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9b79f1; outline-offset: 4px; }

.wrap { width: min(var(--wrap), calc(100% - 6rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .65rem 1rem; background: white; transform: translateY(-180%); z-index: 2; }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5.4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.55rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand-icon, .conversation-mark { display: grid; place-items: center; flex-shrink: 0; width: 2.35rem; aspect-ratio: 1; border-radius: .65rem; color: white; background: var(--purple); font-size: 1.35rem; font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.brand-pro { color: var(--purple); }
.site-header nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.5rem); }
.site-header nav a, .site-footer a:not(.brand) { color: var(--muted); font-size: .9rem; font-weight: 750; text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { color: var(--purple); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.35rem; padding: .75rem 1.3rem; border: 1px solid transparent; border-radius: .55rem; font-size: .96rem; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.button-small { min-height: 2.8rem; padding: .58rem 1rem; font-size: .875rem; }
.button-primary { color: white; background: var(--purple); }
.button-primary:hover { background: var(--purple-dark); }
.button-outline { color: var(--ink); border-color: #b9b2c5; }
.button-outline:hover { color: var(--purple-dark); border-color: var(--purple); background: #efe8fd; }

.hero { padding-block: clamp(3.5rem, 7.2vw, 6.5rem); display: grid; grid-template-columns: 1fr 1.14fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(3.7rem, 7.9vw, 6.85rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.02; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-copy p { max-width: 29rem; margin-block: 1.65rem 1.85rem; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.22rem); }
.hero-figure img { aspect-ratio: 1.2; height: auto; object-fit: cover; object-position: 50% 48%; border-radius: 1.3rem; background: #c4b5a7; }

h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.intro { margin-top: 1.05rem; color: var(--muted); font-size: 1.06rem; max-width: 39rem; }
.section-label { margin-bottom: .9rem; font-size: .875rem; font-weight: 800; letter-spacing: .045em; }
.reception { color: #fffdfa; background: #251d35; }
.reception-inner, .commerce-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: center; padding-block: clamp(3.9rem, 8vw, 6.7rem); }
.reception .section-label { color: #dfcdfd; }
.reception .intro { color: #e3dbe9; }
.scenarios { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.55rem; }
.scenarios button { min-height: 2.65rem; padding: .42rem .75rem; border: 1px solid #8e7ca6; border-radius: .5rem; color: #fffdfa; background: transparent; font-size: .875rem; font-weight: 750; cursor: pointer; transition: background-color .18s, color .18s; }
.scenarios button:hover { background: #43335a; }
.scenarios button[aria-pressed="true"] { color: #291747; background: #eee4ff; border-color: #eee4ff; }
.conversation { color: var(--ink); background: #fffdfc; border: 1px solid #e5def1; border-radius: 1.05rem; overflow: hidden; }
.conversation-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.2rem; border-bottom: 1px solid #eae5ee; }
.conversation-head h3 { font-size: 1rem; font-weight: 800; }
.conversation-head p { color: var(--muted); font-size: .875rem; }
.messages { display: grid; align-content: start; gap: 1rem; padding: 1.25rem; min-height: 18rem; }
.messages > div { max-width: 94%; }
.messages > div:first-child { justify-self: end; }
.messages > div:first-child .speaker { text-align: right; }
.speaker { margin-bottom: .25rem; color: var(--muted); font-size: .82rem; font-weight: 750; }
.bubble { padding: .65rem .85rem; border-radius: .6rem; }
.bubble-client { background: #edebef; border-bottom-right-radius: .12rem; }
.bubble-reply { background: #eee6fd; border-bottom-left-radius: .12rem; }
.demo-result { display: flex; align-items: baseline; gap: .45rem; color: #50455e; font-size: .88rem; font-weight: 750; }
.demo-result::before { content: "✓"; font-weight: 800; color: var(--purple); }

.ecosystem { padding-block: clamp(4rem, 9vw, 7.6rem); }
.section-heading { margin-bottom: 2rem; }
.featured-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.module { display: flex; flex-direction: column; min-height: 17rem; padding: clamp(1.35rem, 3vw, 2.05rem); border-radius: .95rem; }
.module-lavender { background: var(--lavender); }
.module-sand { background: #f0e9db; }
.module-mint { background: #ddeae1; }
.module-name { font-size: .9rem; line-height: 1.25; letter-spacing: .025em; font-weight: 800; }
.module h3 { max-width: 15rem; margin-block: auto .72rem; padding-top: 2rem; font-size: clamp(1.5rem, 2.25vw, 2rem); font-weight: 800; line-height: 1.13; letter-spacing: -.05em; }
.module h3 + p { color: #443e4b; }
.more-modules { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.2rem, 5vw, 4rem); margin-top: 2.4rem; }
.more-modules > div { padding-block: 1.15rem; border-top: 1px solid var(--line); }
.more-modules dt { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-bottom: .32rem; font-size: 1.12rem; font-weight: 800; letter-spacing: -.035em; }
.more-modules dd { color: var(--muted); }
.status { padding: .12rem .5rem; border-radius: 1rem; color: #492779; background: #eee4fd; font-size: .79rem; font-weight: 800; letter-spacing: 0; }

.commerce { background: #ede8f8; }
.commerce .section-label { color: #4b278d; }
.commerce-flow { padding: 0; list-style: none; }
.commerce-flow li { position: relative; display: flex; align-items: center; gap: 1rem; padding: .8rem 0; }
.commerce-flow li::before { content: ""; flex: 0 0 1rem; aspect-ratio: 1; border: 4px solid #6943b8; border-radius: 50%; }
.commerce-flow li:not(:last-child)::after { content: ""; position: absolute; left: .44rem; top: calc(50% + .55rem); bottom: calc(-50% + .55rem); width: 2px; background: #947dbe; }
.commerce-flow strong, .commerce-flow span { display: block; }
.commerce-flow strong { font-size: 1.18rem; font-weight: 800; letter-spacing: -.025em; }
.commerce-flow span { color: #51485d; }
.access { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; padding-block: clamp(3.4rem, 8vw, 5.8rem); }
.access h2 { font-size: clamp(2.3rem, 4.7vw, 3.65rem); }
.access .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5.3rem; }

@media (max-width: 54rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero, .reception-inner, .commerce-inner { gap: 2rem; }
  .hero h1 { font-size: clamp(3.3rem, 8vw, 5.5rem); }
  .featured-modules { gap: .75rem; }
  .module { min-height: 16rem; padding: 1.15rem; }
}

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .75rem .5rem; padding-block: .75rem; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; gap: .15rem 1.1rem; }
  .site-header nav a { padding-block: .25rem; }
  .hero, .reception-inner, .commerce-inner, .featured-modules { grid-template-columns: 1fr; }
  .hero { gap: 1.75rem; padding-block: 2.75rem; }
  .hero h1 { font-size: clamp(3.55rem, 13vw, 5.8rem); }
  .hero-copy p { margin-block: 1.1rem 1.35rem; }
  .hero-figure img { aspect-ratio: 1.36; }
  .module { min-height: auto; padding: 1.25rem; }
  .module h3 { padding-top: 1.15rem; }
  .more-modules { grid-template-columns: 1fr; margin-top: 1.8rem; }
  .access { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
