:root {
  color-scheme: light;
  --navy: #151b35;
  --ink: #151d35;
  --muted: #53617a;
  --indigo: #453ac4;
  --deep: #29218a;
  --mint: #b7f5df;
  --wash: #f4f6fc;
  --edge: #dce2ef;
  --white: #fff;
  --display: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.6 var(--display); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7264ed; outline-offset: 4px; }
.wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 18px; top: -100px; padding: 10px 14px; background: var(--mint); color: var(--navy); }
.skip:focus { top: 12px; }
.site-header { background: var(--navy); color: white; }
.nav, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.identity { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 750; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.identity img { flex: none; }
nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 34px); }
nav a { color: #dce2f4; text-decoration: none; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--mint); }
.button { min-height: 45px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; padding: 9px 16px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 750; }
.button span, .text-link span { font-size: 16px; }
.header-cta { color: var(--mint); border: 1px solid #526080; white-space: nowrap; }
.header-cta:hover { background: #293456; }
.primary { background: var(--indigo); color: white; box-shadow: 0 6px 12px #453ac425; }
.primary:hover { background: var(--deep); }
.mint-button { background: var(--mint); color: var(--navy); white-space: nowrap; }
.mint-button:hover { background: #d4faec; }
.text-link { color: var(--deep); font-size: 14px; font-weight: 750; text-underline-offset: 4px; }
.text-link span { margin-left: 3px; }

.hero { background: radial-gradient(ellipse at 86% 40%, #eae7ff 0%, transparent 51%), linear-gradient(140deg, #fafbff, #f1f4fd); }
.hero-grid { display: grid; grid-template-columns: .96fr 1fr; align-items: center; gap: clamp(30px, 5vw, 68px); min-height: 555px; padding-block: 68px 58px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--indigo); font-size: 11px; line-height: 1.5; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.indicator { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #258b6e; }
.divider { width: 1px; height: 12px; background: #aaacd2; }
h1 { margin: 19px 0 21px; font-size: clamp(50px, 6vw, 84px); line-height: .99; font-weight: 800; letter-spacing: -.075em; }
h1 em { color: var(--indigo); font-style: normal; display: block; }
.hero-description { max-width: 49ch; font-size: clamp(17px, 1.55vw, 20px); color: var(--muted); line-height: 1.55; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 23px; margin-top: 28px; }
.product-visual { min-width: 0; }
.product-frame { overflow: hidden; background: var(--white); border: 1px solid #c9cfee; border-radius: 19px; box-shadow: 0 22px 57px #28235920, 0 4px 12px #2526590e; }
.frame-top { background: var(--navy); color: white; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 18px; }
.frame-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 750; }
.frame-label, .micro { font-size: 10px; font-weight: 800; letter-spacing: .105em; }
.frame-label { color: #c9d2eb; }
.frame-body { padding: 21px 21px 17px; }
.frame-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.micro { color: var(--muted); }
.frame-heading h2 { margin-top: 2px; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.035em; line-height: 1.15; }
.pill { flex: none; padding: 4px 9px; color: #6a430a; background: #fff1d2; border-radius: 20px; font-size: 11px; font-weight: 750; }
.frame-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 11px; }
.preview-sources, .preview-draft { min-width: 0; border: 1px solid var(--edge); border-radius: 11px; padding: 12px; }
.preview-sources h3 { font-size: 13px; margin-bottom: 3px; }
.preview-sources > div { display: flex; gap: 7px; align-items: center; padding: 7px 0; border-bottom: 1px solid #edf0f7; font-size: 12px; font-weight: 750; line-height: 1.25; }
.preview-sources > div:last-child { border-bottom: 0; padding-bottom: 0; }
.preview-sources small { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; color: var(--muted); }
.file-mark { color: var(--deep); background: #eeecff; border-radius: 5px; width: 23px; height: 24px; flex: none; display: grid; place-items: center; }
.preview-draft { background: #f6f5ff; }
.preview-draft .micro { color: var(--indigo); }
.preview-draft p { margin: 11px 0 2px; color: var(--muted); font-size: 11px; }
.preview-draft strong { display: block; font-size: 15px; line-height: 1.3; }
.source-tag { margin-top: 10px; color: var(--deep); font-weight: 700; font-size: 10px; }
.case-progress { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 17px; color: var(--muted); font-size: 11px; font-weight: 700; }
.case-progress > span { display: inline-flex; align-items: center; gap: 4px; }
.case-progress i { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #ecf0f6; font-size: 10px; font-style: normal; }
.case-progress .complete i { background: #dcf8ed; color: #20644f; }
.case-progress .current { color: var(--deep); }
.case-progress .current i { background: var(--indigo); color: white; }
figcaption { margin-top: 12px; text-align: right; color: var(--muted); font-size: 11px; }

.audience { border-block: 1px solid var(--edge); background: white; }
.audience-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 17px; }
.audience-inner p { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.audience ul { display: flex; flex-wrap: wrap; gap: 10px clamp(16px, 5vw, 65px); list-style: none; margin: 0; padding: 0; }
.audience li { font-weight: 700; font-size: 14px; }
.audience li span { color: var(--indigo); margin-right: 5px; font-size: 11px; }
.section { padding-block: clamp(52px, 7vw, 94px); }
.section-intro { max-width: 680px; margin-bottom: 30px; }
.section h2, .final-cta h2 { margin-top: 9px; font-size: clamp(31px, 4.1vw, 51px); font-weight: 800; letter-spacing: -.06em; line-height: 1.06; }
.section-intro > p:last-child:not(.eyebrow) { margin-top: 13px; color: var(--muted); font-size: 17px; }
.workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.workflow li { border-top: 2px solid #dcd8fb; padding-top: 18px; }
.step-number { display: inline-flex; border-radius: 7px; padding: 3px 8px; background: #eeecff; color: var(--deep); font-size: 12px; font-weight: 800; }
.workflow h3 { margin: 10px 0 5px; font-size: 19px; line-height: 1.25; letter-spacing: -.035em; }
.workflow p { color: var(--muted); font-size: 15px; }
.media-section { background: #f4f5ff; border-top: 1px solid var(--edge); }
.workflow-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 17px; box-shadow: 0 15px 36px #25265926; }
.video-transcript { margin-top: 17px; color: var(--muted); }
.video-transcript summary { width: fit-content; color: var(--deep); font-weight: 700; cursor: pointer; }
.video-transcript ol { padding-left: 23px; }
.gallery-heading { margin: clamp(40px, 7vw, 78px) 0 23px; scroll-margin-top: 20px; }
.screen-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.screen-gallery figure { overflow: hidden; border: 1px solid var(--edge); border-radius: 14px; background: white; }
.screen-gallery a { display: block; }
.screen-gallery a:focus-visible { outline-offset: -4px; }
.screen-gallery img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--edge); }
.screen-gallery figcaption { margin: 0; padding: 13px 17px 16px; text-align: left; font-size: 14px; }
.screen-gallery strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15px; }
.use-section { background: var(--wash); border-block: 1px solid var(--edge); }
.scenarios { display: grid; grid-template-columns: minmax(220px, .68fr) minmax(0, 1fr); gap: 24px; scroll-margin-top: 20px; }
.scenario-controls { display: grid; align-content: start; gap: 8px; }
.scenario-controls a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border: 1px solid var(--edge); border-radius: 10px; padding: 14px 13px; background: white; text-decoration: none; font-size: 14px; }
.scenario-controls a:hover { border-color: #8a80e6; }
.scenario-controls a span { color: var(--indigo); font-size: 12px; font-weight: 800; }
.scenario-controls a[aria-selected="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.scenario-controls a[aria-selected="true"] span { color: var(--mint); }
.scenario { padding: clamp(21px, 4vw, 38px); border-radius: 17px; border: 1px solid var(--edge); background: white; }
.scenario + .scenario { margin-top: 12px; }
.scenario[role="tabpanel"] { margin-top: 0; }
.scenario h3 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.13; letter-spacing: -.047em; }
.scenario p:not(.micro) { color: var(--muted); }
.scenario-example { display: grid; gap: 4px; margin-top: 20px; padding: 12px 15px; border-left: 3px solid var(--indigo); border-radius: 0 8px 8px 0; background: #f3f1ff; }
.scenario-example > span:last-child { color: var(--muted); font-size: 13px; }
.scenario-example .indicator { width: 6px; height: 6px; vertical-align: 1px; margin-right: 3px; }
.demo-caption { margin-top: 11px; color: var(--muted); font-size: 12px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--edge);
  border-radius: 17px;
  background: white;
}
.plan-featured { border-color: #a49be8; background: #f6f5ff; }
.plan h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.plan-price { margin-top: 8px; color: var(--muted); font-size: 14px; }
.plan-price strong { color: var(--deep); font-size: clamp(32px, 4vw, 48px); line-height: 1.2; letter-spacing: -.06em; }
.plan dl { flex: 1; margin: 19px 0 23px; padding-top: 14px; border-top: 1px solid var(--edge); font-size: 14px; }
.plan dt { font-weight: 750; }
.plan dd { margin: 2px 0 13px; color: var(--muted); }
.plan dd:last-child { margin-bottom: 0; }
.plan-button { color: var(--deep); border: 1px solid var(--edge); }
.plan-button:hover { background: var(--wash); border-color: #a49be8; }
.pricing-notes { margin-top: 19px; max-width: 84ch; color: var(--muted); font-size: 14px; }
.pricing-notes p + p { margin-top: 6px; }
.company { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 34px; }
.company-copy { color: var(--muted); font-size: 17px; }
.company-copy p + p { margin-top: 13px; }
.final-wrap { padding-bottom: clamp(42px, 6vw, 75px); }
#contact { scroll-margin-top: 22px; }
#contact:focus { outline: none; }
#contact:target .final-cta, #contact:focus-visible .final-cta { outline: 3px solid #7264ed; outline-offset: 5px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 280px; padding: clamp(24px, 5vw, 56px); color: white; border-radius: 18px; background: radial-gradient(ellipse at right bottom, #3e5489, transparent 65%), linear-gradient(125deg, var(--navy), #30297a); }
.final-cta .eyebrow { color: var(--mint); }
.final-cta h2 + p { margin-top: 10px; color: #e1e5fb; }
.contact-action { display: grid; flex-shrink: 0; gap: 12px; width: clamp(300px, 34vw, 400px); max-width: 100%; padding: clamp(16px, 3vw, 28px); border: 1px solid #ffffff4d; border-radius: 13px; background: #171b3d66; }
.contact-action .mint-button {
  min-height: 76px;
  padding: 15px clamp(12px, 3vw, 28px);
  border: 3px solid #ffd75e;
  font-size: 19px;
  white-space: normal;
  text-align: center;
}
.site-footer { background: var(--navy); color: white; }
.footer-inner { min-height: 87px; }
.footer-inner nav { flex-wrap: wrap; row-gap: 8px; }

.guide-intro { padding-block: clamp(38px, 7vw, 80px); }
.guide-intro h1 { font-size: clamp(44px, 7vw, 76px); }
.guide-intro .hero-description { max-width: 62ch; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(32px, 6vw, 72px); }
.guide-toc { position: sticky; top: 24px; align-self: start; padding: 18px; background: var(--wash); border: 1px solid var(--edge); border-radius: 12px; }
.guide-toc h2 { font-size: 16px; }
.guide-toc ol, .guide-step ol { margin: 10px 0 0; padding-left: 24px; }
.guide-toc li + li, .guide-step li + li { margin-top: 7px; }
.guide-toc a { color: var(--deep); font-size: 14px; text-underline-offset: 3px; }
.guide-step { scroll-margin-top: 24px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--edge); }
.guide-step h2 { margin-top: 7px; font-size: clamp(24px, 4vw, 38px); line-height: 1.16; letter-spacing: -.04em; }
.guide-step li { color: var(--muted); }
.guide-step li strong { color: var(--ink); }
.guide-screen { margin-top: 18px; border: 1px solid var(--edge); border-radius: 12px; background: var(--wash); }
.guide-screen a { display: block; }
.guide-screen img { display: block; width: 100%; height: auto; border-radius: 11px 11px 0 0; border-bottom: 1px solid var(--edge); }
.guide-screen figcaption { margin: 0; padding: 10px 14px; text-align: left; font-size: 14px; }

@media (max-width: 960px) {
  .nav nav { gap: 12px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 880px) {
  .nav { gap: 13px; }
  .nav nav { gap: 15px; }
  .hero-grid { min-height: auto; gap: 26px; }
  .hero-grid h1 { font-size: clamp(42px, 6.6vw, 65px); }
  .frame-body { padding: 13px; }
  .frame-grid { gap: 6px; }
  .preview-sources, .preview-draft { padding: 8px; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .nav { padding-block: 11px; flex-wrap: wrap; }
  .nav nav { order: 3; flex-basis: 100%; gap: 14px 23px; flex-wrap: wrap; justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 41px 32px; }
  .hero-grid h1 { font-size: clamp(42px, 10.5vw, 65px); }
  .product-visual { width: 100%; max-width: 530px; }
  .audience-inner, .final-cta { align-items: flex-start; flex-direction: column; gap: 12px; }
  .contact-action { width: 100%; margin-top: 5px; }
  .scenarios, .company, .screen-gallery, .plan-grid { grid-template-columns: 1fr; gap: 17px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .footer-inner { padding-block: 15px; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 380px) {
  .identity { font-size: 16px; gap: 7px; }
  .header-cta { padding-inline: 8px; font-size: 12px; gap: 4px; }
  .case-progress { justify-content: flex-start; gap: 6px 10px; }
  .workflow { grid-template-columns: 1fr; }
}
