@font-face {
  font-family: Geist;
  src: url('./assets/geist.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --canvas: #fafafa;
  --paper: #ffffff;
  --ink: #121315;
  --muted: #555a64;
  --line: #e0e2e6;
  --accent: #244bcd;
  --focus: #3058e6;
  --gutter: clamp(20px, 5vw, 72px);
  --content: 1256px;
  --sans: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: var(--sans);
  --bg: var(--canvas);
  --white: var(--paper);
  --soft-accent: #e8edff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, h4, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip { position: fixed; z-index: 20; left: 12px; top: 10px; transform: translateY(-160%); padding: 8px 14px; background: var(--paper); }
.skip:focus { transform: translateY(0); }
.site-width { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.section { padding-block: clamp(82px, 11vw, 162px); }
.topbar { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #e5e6e9; background: #fafafaf5; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; min-height: 73px; }
.brand { display: block; width: 152px; }
.brand img { width: 100%; height: auto; }
.header-inner nav { display: flex; align-items: center; gap: clamp(14px, 2.55vw, 38px); color: #424650; font-size: .84rem; font-weight: 540; }
.header-inner nav a { padding-block: 8px; white-space: nowrap; }
.header-inner nav a:hover, .footer a:hover { color: var(--accent); }
.header-actions { display: flex; justify-content: end; align-items: center; gap: 8px; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 19px; gap: 13px; border: 1px solid transparent; border-radius: 8px; font-size: .875rem; line-height: 1.25; font-weight: 600; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.button span { font-weight: 500; font-size: 1.07em; }
.primary { background: #151619; color: #fff; }
.primary:hover { background: #373b44; color: #fff; }
.secondary { background: #fff; color: var(--ink); border-color: #d9dbe1; }
.secondary:hover { border-color: #aebbcf; background: #f2f4fa; }
.header-meeting { min-height: 39px; background: var(--paper); border-color: #d9dbe1; padding-inline: 13px; font-size: .79rem; }
.header-meeting:hover { background: #f0f1f4; }

.hero { padding-top: clamp(70px, 7.35vw, 115px); }
.hero-copy { text-align: center; display: grid; justify-items: center; gap: 20px; }
.kicker { color: var(--accent); font-size: .77rem; line-height: 1.25; font-weight: 620; letter-spacing: -.005em; }
.hero .kicker { display: inline-flex; align-items: center; gap: 9px; color: #3d475e; padding: 6px 10px; border: 1px solid #e1e5ef; background: #f3f5f9; border-radius: 40px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3f61e7; }
h1 { font-size: clamp(56px, 7.45vw, 113px); line-height: .99; font-weight: 620; letter-spacing: -.072em; }
h2 { font-size: clamp(45px, 5.7vw, 84px); font-weight: 610; line-height: .98; letter-spacing: -.057em; }
.hero-intro { color: var(--muted); font-size: clamp(16px, 1.48vw, 21px); letter-spacing: -.035em; margin-top: 2px; }
.actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; }
.hero-actions { margin-top: 6px; }
.spots { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .75rem; margin-top: -3px; }
.spots strong { font-weight: 580; color: var(--ink); }
.spots strong::before { content: '·'; color: #8b8d98; margin-right: 8px; }
.hero-image { display: block; overflow: hidden; margin-top: clamp(47px, 5.15vw, 77px); background: #e2ddd5; border-radius: 15px; aspect-ratio: 2.2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.section-intro { display: grid; align-content: start; gap: 14px; margin-bottom: clamp(27px, 4vw, 55px); }
.section-intro > p:not(.kicker) { color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); max-width: 43ch; }
.split-intro { grid-template-columns: 1.4fr .6fr; align-items: end; gap: 26px; }
.split-intro .kicker, .retail-copy .kicker { margin-bottom: 15px; }
.split-intro > p { margin-bottom: 2px; }
.narrow-intro { max-width: 750px; }

.studio { border: 1px solid #dcdfe5; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 70px #17264907; }
.studio-nav { display: flex; align-items: center; gap: 6px; padding: 9px 15px; border-bottom: 1px solid var(--line); background: #f7f8fa; }
.studio-nav button { min-height: 40px; padding: 0 16px; border: 1px solid transparent; background: transparent; border-radius: 6px; color: #555a64; font-size: .85rem; font-weight: 570; }
.studio-nav button:hover { color: #1e263c; }
.studio-nav button[aria-selected=true] { border-color: #dfe2e9; background: #fff; box-shadow: 0 1px 3px #2026330b; color: #172342; }
.studio-panel { display: grid; grid-template-columns: 1.13fr .87fr; }
.studio-preview { position: relative; min-width: 0; align-content: stretch; display: grid; background: #eeece8; }
.studio-photo { min-width: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); aspect-ratio: 1.32; overflow: hidden; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; animation: in .25s ease both; }
.studio-caption { position: absolute; bottom: 13px; left: 14px; padding: 6px 10px; border-radius: 5px; color: #fff; background: #17181ce7; font-size: .72rem; font-weight: 530; }
.studio-controls { display: grid; justify-items: start; align-content: center; gap: 15px; min-width: 0; padding: clamp(22px, 4.1vw, 56px); }
.studio-controls > h3 { font-size: clamp(29px, 3.7vw, 51px); letter-spacing: -.055em; line-height: 1; font-weight: 610; }
.studio-controls > p { color: var(--muted); font-size: .91rem; }
.studio-controls .studio-note { font-size: .72rem; color: #575d6c; }
.studio-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.studio-choices button, .mini-button { border: 1px solid #dfe2eb; background: #fff; border-radius: 6px; min-height: 39px; padding: 7px 10px; font-size: .78rem; font-weight: 530; text-align: left; }
.studio-choices button[aria-pressed=true], .mini-button[aria-pressed=true] { border-color: #aabaf8; background: #eef2ff; color: #1a3eab; }
.studio-choices button:hover, .mini-button:hover { border-color: #9dabc8; }
.frame-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.frame-rail button { min-width: 0; padding: 4px 4px 7px; border: 1px solid #dedfe6; background: #faf9f7; border-radius: 7px; font-size: .68rem; font-weight: 590; text-align: center; }
.frame-rail button[aria-pressed=true] { border-color: #506ce2; box-shadow: 0 0 0 1px #506ce2; }
.frame-rail button img { width: 100%; height: 55px; object-fit: cover; mix-blend-mode: multiply; border-radius: 4px; margin-bottom: 2px; }
.fit-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-height: 0; min-width: 0; background: #fff; }
.studio-product { display: grid; grid-template-columns: 61px 1fr auto; align-items: center; gap: 8px; width: 100%; min-width: 0; border-top: 1px solid var(--line); padding-top: 10px; font-size: .78rem; }
.studio-product img { width: 61px; height: 43px; object-fit: cover; border-radius: 5px; }
.studio-product small { display: block; color: var(--muted); font-size: .72rem; }
.share-preview { display: block; padding: 9px; background: #eeeeef; }
.share-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.share-gallery.poll-ready { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portrait-choice { position: relative; padding: 0; overflow: hidden; min-width: 0; width: 100%; border: 2px solid transparent; background: #e6e1d8; border-radius: 8px; text-align: left; color: white; }
.portrait-choice:hover { border-color: #6179df; }
.portrait-choice[aria-pressed=true] { border-color: #3559eb; }
.portrait-choice[aria-disabled=true] { cursor: default; }
.poll-img { display: block; width: 100%; height: auto; aspect-ratio: 1.05; object-fit: cover; object-position: center 39%; }
.poll-ready .poll-img { aspect-ratio: 1.55; }
.portrait-choice span, .portrait-choice strong { display: block; position: absolute; background: #17181ce8; padding: 4px 6px; border-radius: 4px; font-size: .66rem; }
.portrait-choice span { bottom: 6px; left: 6px; }
.portrait-choice strong { right: 6px; top: 6px; background: #17275a; }
.share-link { font-size: .77rem; color: var(--muted); }
.share-link summary { cursor: pointer; color: var(--ink); font-weight: 560; }
.share-link p { margin-top: 7px; }
.share-link code { overflow-wrap: anywhere; }
@keyframes in { from { opacity: .65; } to { opacity: 1; } }

.retail-section { color: #f6f7fa; background: #17191e; }
.retail-inner { display: grid; grid-template-columns: 1fr .84fr; gap: clamp(35px, 10vw, 142px); align-items: center; padding-block: clamp(78px, 10vw, 146px); }
.retail-copy { display: grid; justify-items: start; }
.retail-copy .kicker { color: #b2c4ff; }
.retail-copy > p:not(.kicker) { color: #b8bdc9; max-width: 38ch; margin-block: 18px 23px; font-size: clamp(16px, 1.45vw, 19px); }
.inline-link { font-size: .86rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; padding-bottom: 3px; border-bottom: 1px solid #788ed4; }
.inline-link:hover { color: #b2c4ff; }
.retail-steps { display: grid; }
.retail-steps article { display: grid; grid-template-columns: 28px 1fr; gap: 11px; padding-block: 22px; border-top: 1px solid #373c48; }
.retail-steps article:last-child { border-bottom: 1px solid #373c48; }
.step-id { align-self: start; font-size: .67rem; color: #aebdf9; padding-top: 3px; font-variant-numeric: tabular-nums; }
.retail-steps h3 { font-size: 1.07rem; font-weight: 560; letter-spacing: -.032em; line-height: 1.3; }
.retail-steps p { font-size: .84rem; color: #b8bdc9; margin-top: 5px; }

.price-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.offer { min-width: 0; display: grid; justify-items: start; align-content: start; padding: clamp(23px, 4.15vw, 55px); border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.founding-offer { background: #f0f3fb; border-color: #dce2f2; }
.offer-type { color: var(--accent); font-size: .79rem; font-weight: 630; margin-bottom: 7px; }
.offer h3 { font-size: clamp(24px, 3.5vw, 47px); font-weight: 620; line-height: 1.1; letter-spacing: -.055em; margin-bottom: 23px; }
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; white-space: nowrap; line-height: 1.03; }
.amount strong { font-size: clamp(39px, 4.8vw, 68px); font-weight: 620; letter-spacing: -.059em; font-variant-numeric: tabular-nums; }
.amount span { font-size: .83rem; color: var(--muted); }
.offer-desc { font-size: .83rem; color: var(--muted); margin-top: 8px; }
.offer ul { padding: 19px 0 0; margin: 17px 0 25px; border-top: 1px solid var(--line); list-style: none; font-size: .87rem; width: 100%; display: grid; gap: 9px; }
.offer li { display: flex; column-gap: 9px; }
.offer li::before { content: '✓'; font-size: .84em; align-self: center; color: #3556bc; }
.billing { display: flex; align-items: center; padding: 3px; gap: 2px; border-radius: 7px; background: #f3f4f6; border: 1px solid #eceef2; margin-bottom: 15px; }
.billing button { border: 1px solid transparent; padding: 5px 9px; background: transparent; border-radius: 5px; color: var(--muted); min-height: 32px; font-size: .73rem; font-weight: 570; }
.billing button[aria-pressed=true] { background: white; color: var(--ink); border-color: #e0e2e7; box-shadow: 0 1px 2px #1416270a; }
.founding-offer .amount { margin-top: 55px; }
.price-foot { font-size: .75rem; color: var(--muted); margin-top: 16px; }

.faq-section { background: #f2f3f5; }
.faq-layout { display: grid; grid-template-columns: .64fr 1.36fr; gap: 40px; align-items: start; }
.faq-layout .section-intro { margin-bottom: 0; }
.faq-list { border-top: 1px solid #d9dce4; }
.faq-list details { border-bottom: 1px solid #d9dce4; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding: 17px 1px; font-weight: 560; font-size: .98rem; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; color: #525c7a; flex: none; width: 23px; height: 23px; font-size: 1rem; font-weight: 500; }
.faq-list summary span::before { content: '+'; }
.faq-list details[open] summary span::before { content: '−'; }
.faq-list details p { max-width: 60ch; color: var(--muted); padding: 0 18px 17px 1px; font-size: .91rem; }

.contact { text-align: center; }
.contact-inner { display: grid; justify-items: center; gap: 18px; }
.contact h2 { font-size: clamp(48px, 7vw, 101px); }
.contact p { font-size: .98rem; color: var(--muted); }
.contact .actions { margin-top: 7px; }
.footer { border-top: 1px solid var(--line); padding-top: 34px; color: var(--muted); background: #f7f7f8; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 25px; padding-bottom: 28px; }
.footer-main p { font-size: .8rem; margin-top: 9px; }
.footer-main nav, .footer-bottom div { display: flex; flex-wrap: wrap; gap: 11px 21px; font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); font-size: .75rem; }
.footer-bottom div { font-size: inherit; }
.service-dialog { width: min(92vw, 440px); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 13px; padding: 27px; box-shadow: 0 14px 45px #11172e20; }
.service-dialog::backdrop { background: #1418277f; }
.service-dialog h2 { padding-right: 36px; font-size: 30px; letter-spacing: -.06em; }
.service-dialog p { margin-top: 10px; color: var(--muted); }
.service-dialog button { position: absolute; top: 13px; right: 13px; border: 1px solid var(--line); border-radius: 6px; background: white; width: 36px; height: 36px; font-size: 1.2rem; }

.tools-page .header-inner { display: flex; justify-content: space-between; }
.tools-content { padding-block: clamp(58px, 8vw, 100px); }
.tools-content h1 { font-size: clamp(50px, 7.5vw, 102px); }
.tool-links { display: flex; flex-wrap: wrap; gap: 11px 20px; padding-block: 13px; border-block: 1px solid var(--line); font-size: .83rem; font-weight: 580; }
.tool-links a:hover { color: var(--accent); }
.tool-section { margin-top: clamp(34px, 6vw, 80px); }
.tool-section > h2 { font-size: clamp(31px, 4.4vw, 64px); margin-bottom: 18px; }
.tools-page .calc, .tools-page .dashboard { border-radius: 12px; }
.tools-page .calc h3 { font-size: clamp(24px, 3.15vw, 43px); letter-spacing: -.065em; line-height: 1.07; font-weight: 620; }
.tools-page .metrics { background: #e5e8f0; }
.tools-page .metric { background: #f4f6fb; }
.tools-page .metric strong { font-size: clamp(23px, 2.6vw, 35px); font-weight: 580; letter-spacing: -.055em; }
.tools-page .track span, .tools-page .bar-group i { background: #435aba; }
.tools-page .bar-group i+i { background: #a4b2ee; }
.tools-page .legend span::before { background: #435aba; }
.tools-page .legend span+span::before { background: #a4b2ee; }
.tools-page input[type=range] { accent-color: #435aba; }
.tools-page .step-track button.current { background: var(--accent); }
.tools-page .footer { padding-top: 0; }
.tools-page .footer-bottom { border-top: 0; }
.tools-plan { display: flex; align-items: center; gap: 10px; font-size: .81rem; margin-block: 12px; }
.tool-preview { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.tool-back { margin-top: 35px; }
.tool-preview .button, .tools-page .checkout .button { min-height: 42px; }
.legal-page .header-inner { display: flex; }
.legal-content { min-height: 65vh; padding-block: 85px; display: grid; align-content: start; justify-items: start; gap: 16px; }
.legal-content h1 { font-size: clamp(53px, 7vw, 92px); }
.legal-content p { max-width: 65ch; color: var(--muted); }

@media (max-width: 840px) {
  .studio-panel { grid-template-columns: 1fr 1fr; }
  .studio-controls { padding: 22px; gap: 10px; }
  .studio-photo { aspect-ratio: 1.05; }
  .header-inner { gap: 13px; }
  .brand { width: 133px; }
}
@media (max-width: 700px) {
  .site-width { width: calc(100% - 2 * var(--gutter)); }
  .header-inner { min-height: 63px; grid-template-columns: 1fr auto; gap: 7px; }
  .header-inner nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px var(--gutter); background: var(--canvas); border-bottom: 1px solid var(--line); }
  .header-inner nav.open { display: grid; gap: 2px; }
  .header-inner nav a { padding-block: 9px; }
  .menu-toggle { display: grid; align-content: center; justify-items: center; width: 39px; height: 39px; gap: 4px; padding: 0; border: 1px solid #dfe1e5; background: white; border-radius: 7px; }
  .menu-toggle span { display: block; width: 14px; height: 1.5px; background: #202229; }
  .header-meeting { padding-inline: 9px; font-size: .72rem; gap: 7px; }
  .hero { padding-top: clamp(49px, 12vw, 76px); }
  .hero-copy { gap: 15px; }
  .hero h1 { font-size: clamp(39px, 9.3vw, 65px); letter-spacing: -.061em; }
  .hero .button, .contact .button { min-height: 45px; padding-inline: 12px; gap: 8px; font-size: .81rem; }
  .hero-intro { width: min(100%, 31ch); }
  .hero-image { aspect-ratio: 1.22; margin-top: 38px; border-radius: 11px; }
  .hero-image img { object-position: 64% center; }
  .split-intro, .retail-inner, .faq-layout, .price-layout, .studio-panel { grid-template-columns: 1fr; }
  .split-intro { gap: 9px; }
  .split-intro .kicker { margin-bottom: 10px; }
  .studio-photo { aspect-ratio: 1.32; }
  .studio-nav { padding: 6px; gap: 2px; justify-content: space-between; }
  .studio-nav button { flex: 1; min-width: 0; padding: 0 5px; font-size: .77rem; }
  .frame-rail { max-width: 390px; }
  .retail-steps article { padding-block: 14px; }
  .founding-offer .amount { margin-top: 0; }
  .faq-layout { gap: 22px; }
  .footer-main { display: grid; gap: 18px; }
  .tool-preview { grid-template-columns: 1fr; }
}
@media (max-width: 385px) {
  :root { --gutter: 16px; }
  .brand { width: 111px; }
  .hero h1 { font-size: clamp(36px, 9.8vw, 43px); }
  .hero .button, .contact .button { min-height: 44px; padding-inline: 10px; gap: 6px; font-size: .78rem; }
  .hero-image { margin-top: 30px; }
  .studio-controls { padding: 15px; }
  .frame-rail button img { height: 43px; }
  .portrait-choice span, .portrait-choice strong { font-size: .57rem; left: 3px; padding: 3px; }
  .portrait-choice strong { left: auto; right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
