@font-face {
  font-family: 'Sora';
  src: url('/assets/sora.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #141319;
  --panel: #1d1b24;
  --ink: #f7f3ff;
  --muted: #c0baca;
  --border: #393441;
  --accent: #d9cbff;
  --accent-ink: #231638;
  --measure: 70ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--base);
  font: 550 1rem/1.65 'Manrope', system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: 'Sora', system-ui, sans-serif;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.045em;
  margin: 0;
}
h1 { font-size: clamp(2.65rem, 6vw, 5.65rem); }
h2 { font-size: clamp(1.7rem, 4vw, 3.25rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(1160px, calc(100% - 68px)); margin-inline: auto; }
.skip { position: fixed; z-index: 99; inset: 1rem auto auto 1rem; padding: .6rem .9rem; background: var(--panel); transform: translateY(-180%); }
.skip:focus { transform: none; }

.top { border-bottom: 1px solid var(--border); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--ink); text-decoration: none; font: 800 1.15rem/1 'Sora', sans-serif; letter-spacing: -.025em; }
.brand img { border-radius: 10px; flex: none; }
.header-inner nav, .footer-inner nav { margin-inline: auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.65rem; }
.header-inner nav a, .footer-inner nav a { color: var(--muted); text-decoration: none; font-size: .89rem; font-weight: 700; }
.header-inner nav a:hover, .footer-inner nav a:hover { color: var(--ink); text-decoration: underline; }
.header-cta { border: 1px solid var(--border); border-radius: 10px; color: var(--ink); font-size: .88rem; padding: 8px 12px; text-decoration: none; white-space: nowrap; }
.header-cta span { margin-inline-start: .2rem; color: var(--accent); }

.draft-note { text-align: center; background: #272333; color: #e5dafa; padding: 6px 14px; font-size: .8rem; }

.hero { background: radial-gradient(ellipse at 88% 23%, #271c34 0, var(--base) 65%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 70px); min-height: 550px; padding: 48px 0 54px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .82rem; font-weight: 800; color: #e5dafa; margin: 0 0 1.05rem; }
.eyebrow span { width: 8px; height: 8px; background: #c9abff; border-radius: 50%; box-shadow: 0 0 12px #bd85fb7f; }
.hero h1 { font-size: clamp(2.78rem, 5.2vw, 5rem); }
.hero h1 span { color: #c5a4fb; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 44ch; margin: 1.25rem 0 1.75rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .68rem 1rem; min-height: 46px; max-width: 100%; border-radius: 12px; border: 1px solid transparent; text-decoration: none; font-weight: 800; line-height: 1.3; font-size: .9rem; }
.button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); cursor: pointer; }
.button.primary:hover { background: #eee5ff; color: #231638; }
.button.primary:disabled { opacity: .58; cursor: wait; }
.button.subtle { color: var(--ink); background: #26222e; border-color: var(--border); }
.button.subtle:hover { background: #34303e; }
.arrow { margin-left: .25rem; }
.hero-demo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 450px;
  margin: 0;
  border: 1px solid #5a3b63;
  border-radius: 28px;
  background: #241027;
}
.hero-visualizer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .9; z-index: -2; }
.hero-demo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(124deg, #150f1c22 32%, #170d2170); }
.phone { position: relative; width: min(43%, 180px); padding: 5px; background: #131217; border: 1px solid #a692a5; border-radius: 22px; transform: rotate(7deg) translate(27%, -2%); box-shadow: 0 24px 60px #000a, 0 0 0 3px #0009; overflow: hidden; }
.phone img { height: auto; width: 100%; object-position: top; border-radius: 17px; }
.hero-demo figcaption { position: absolute; left: 15px; bottom: 13px; background: #17131ded; color: #f4eef9; padding: .32rem .58rem; border-radius: 8px; font-size: .72rem; }

.formats { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; min-height: 70px; padding: 16px 0; border-block: 1px solid var(--border); }
.formats span:first-child { color: var(--muted); font-size: .9rem; }
.formats strong { border-left: 1px solid var(--border); padding-left: 1.4rem; font-weight: 800; color: var(--ink); font-size: .92rem; }
.formats a { margin-left: auto; font-size: .85rem; }
.discover { padding-block: 76px; scroll-margin-top: 22px; }
.section-head p:last-child { margin-block: .9rem 0; color: var(--muted); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 26px 0; }
.feature-list article { background: var(--panel); border: 1px solid var(--border); border-radius: 17px; padding: 21px; }
.feature-list article p { margin: .64rem 0 0; color: var(--muted); }
.feature-list h2 { font-size: 1.35rem; }
.feature-mark { display: inline-grid; align-items: center; justify-items: center; width: 35px; height: 35px; margin-bottom: 17px; border-radius: 11px; background: #38294b; color: #eadbff; }
.bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: #231d2e; border-radius: 22px; padding: clamp(24px, 4vw, 42px); margin-bottom: 75px; border: 1px solid #433750; }
.bottom-cta h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.bottom-cta p { margin: .55rem 0 0; color: var(--muted); }
.bottom-cta .button { flex: none; }

.subpage, .legal { padding-block: clamp(48px, 8vw, 100px); }
.subpage > p { max-width: var(--measure); }
.subpage > .feature-list { margin-block: 32px 24px; }
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 8vw, 100px); align-items: start; }
.contact-intro p { overflow-wrap: anywhere; }
.contact-form { padding: clamp(16px, 4vw, 30px); background: var(--panel); border: 1px solid var(--border); border-radius: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; font-weight: 800; }
.contact-form :is(input, select, textarea) { width: 100%; min-width: 0; max-width: 100%; padding: .54rem .7rem; background: #17161e; color: var(--ink); border: 1px solid #5a5466; border-radius: 8px; }
.contact-form :is(input, textarea)::placeholder { color: #aaa3b6; }
.contact-form textarea { resize: vertical; }
.contact-form p { color: var(--muted); font-size: .89rem; }
.form-status { margin: .75rem 0 0; }
.form-status:empty { display: none; }
.form-status.success { color: #a2e5b9; }
.form-status.error { color: #ffb2bb; }

.legal { max-width: 1000px; }
.legal-head h1 { font-size: clamp(2.6rem, 7vw, 4.7rem); }
.legal-head .lead { max-width: var(--measure); }
.legal-nav { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; border-block: 1px solid var(--border); padding-block: 14px; margin: 28px 0; }
.legal-nav a { font-size: .84rem; }
.legal-body { max-width: 750px; overflow-wrap: anywhere; }
.legal-body section { padding: 28px 0; border-bottom: 1px solid var(--border); scroll-margin-top: .8rem; }
.legal-body h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: .9rem; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body strong { color: var(--ink); }
.legal-body ul, .legal-body ol { padding-left: 1.35rem; }
.legal-body li + li { margin-top: .68rem; }
.legal-body section > :last-child { margin-bottom: 0; }
.pending { color: #f8c6a5; }
.footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 108px; }
.copyright { color: var(--muted); white-space: nowrap; font-size: .83rem; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .hero-inner { gap: 24px; min-height: 0; }
  .hero-demo { min-height: 365px; }
  .phone { width: min(50%, 148px); }
  .hero-copy h1 { font-size: clamp(2.4rem, 6.15vw, 4.2rem); }
  .feature-list { gap: 10px; }
  .feature-list article { padding: 16px; }
  .footer-inner { gap: 1.1rem; }
  .footer-inner nav { gap: .7rem 1.15rem; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .45rem .9rem; padding-block: 10px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; margin: 0; justify-content: flex-start; gap: 1.1rem; }
  .hero-inner, .contact-page { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding: 42px 0 26px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 9.7vw, 4.1rem); }
  .hero-copy .lead { margin-block: .95rem 1.2rem; }
  .hero-demo { min-height: clamp(260px, 76vw, 370px); border-radius: 20px; }
  .phone { width: clamp(110px, 37%, 155px); }
  .formats { gap: .6rem .8rem; padding-block: 16px; }
  .formats strong { border: 0; padding: 0; }
  .formats a { margin-left: 0; }
  .discover { padding-block: 48px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .bottom-cta { display: block; margin-bottom: 48px; }
  .bottom-cta .button { margin-top: .9rem; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 20px; }
  .footer-inner nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
}

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