:root {
  --ink: #172036;
  --muted: #5d6577;
  --paper: #fffdfa;
  --surface: #ffffff;
  --line: #e7e8ef;
  --brand: #0aa4c4;
  --brand-dark: #087f99;
  --brand-soft: #e8f8fb;
  --violet: #7c4de8;
  --blue: #2878d0;
  --green: #158765;
  --orange: #db6c2f;
  --soft-violet: #f1edff;
  --soft-blue: #eaf5ff;
  --soft-green: #e8f7f1;
  --soft-orange: #fff1e7;
  --shadow: 0 22px 60px rgba(37, 34, 81, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--brand), #59cad8, var(--green), var(--orange)); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffb35c; outline-offset: 3px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 68px 0; }
.tint { background: #f7f7fb; }
.tint-violet { background: var(--soft-violet); }
.tint-green { background: var(--soft-green); }
.tint-orange { background: var(--soft-orange); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--brand-dark); font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.07; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem);/* max-width: 900px;*/ }
h2 { font-size: clamp(2.2rem, 4.7vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
p { margin: 0; }
.lede { margin-top: 24px; max-width: 740px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.6; }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 60px; margin-bottom: 54px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.accent { color: var(--brand); }
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; background: var(--brand); color: white; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--brand-dark); box-shadow: 0 10px 22px rgba(10,164,196,.22); }
.btn.secondary { border-color: var(--line); background: white; color: var(--ink); }
.btn.secondary:hover { background: #f5f5fa; box-shadow: none; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--brand-dark); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(231,232,239,.85); background: rgba(255,253,250,.91); backdrop-filter: blur(18px); }
.nav { min-height: 68px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: auto; height: 38px; max-width: 194px; object-fit: contain; }
.footer-brand-logo { height: 44px; max-width: 224px; }
.brand-fallback { color: var(--ink); font-size: 1.02rem; letter-spacing: -.02em; }
.brand-fallback strong { color: var(--brand-dark); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.5vw, 24px); margin-left: auto; }
.nav-links > a, .nav-dropdown-toggle { color: #41495d; font-size: .89rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a[aria-current="page"], .nav-dropdown-toggle:hover, .nav-dropdown.active .nav-dropdown-toggle { color: var(--brand-dark); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.nav-dropdown-toggle::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.nav-dropdown.open .nav-dropdown-toggle::after { margin-top: 3px; transform: rotate(225deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 270px; display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.nav-dropdown.open .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { padding: 10px 12px; border-radius: 10px; color: #41495d; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.login { font-weight: 700; text-decoration: none; }
.nav-actions .btn { min-height: 40px; padding: 8px 15px; font-size: .88rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font-size: 1.2rem; }

/* Product UI */
.browser { position: relative; overflow: hidden; border: 1px solid #dcddea; border-radius: 22px; background: white; box-shadow: var(--shadow); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--line); background: #fafafe; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2d4de; }
.browser-bar .url { width: 44%; height: 18px; margin-left: 14px; border-radius: 8px; background: #ececf3; }
.app-shell { display: grid; grid-template-columns: 160px 1fr; min-height: 390px; }
.app-side { padding: 22px 14px; background: #22233d; color: white; }
.app-side strong { display: block; margin-bottom: 24px; font-size: .78rem; letter-spacing: .06em; }
.side-item { height: 29px; display: flex; align-items: center; gap: 8px; margin: 5px 0; padding: 0 9px; border-radius: 7px; color: #c7c8db; font-size: .66rem; }
.side-item.active { background: var(--brand-dark); color: white; }
.side-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.app-main { padding: 25px; background: #f7f8fc; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.app-top b { font-size: 1rem; }
.mini-button { padding: 7px 11px; border-radius: 8px; background: var(--brand); color: white; font-size: .62rem; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { padding: 13px; border: 1px solid #e9eaf1; border-radius: 12px; background: white; }
.metric span { display: block; color: #7b8190; font-size: .61rem; }
.metric b { font-size: 1rem; }
.chart { position: relative; height: 116px; margin-top: 13px; padding: 14px; border: 1px solid #e9eaf1; border-radius: 12px; background: white; overflow: hidden; }
.bars { height: 76px; display: flex; align-items: end; gap: 8px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: #aaa5f7; }
.list { margin-top: 12px; border: 1px solid #e9eaf1; border-radius: 12px; background: white; overflow: hidden; }
.list-row { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 8px; padding: 9px 12px; border-top: 1px solid #eef0f4; font-size: .61rem; color: #555d6f; }
.list-row:first-child { border-top: 0; font-weight: 800; color: #8a8f9d; background: #fafbfc; }
.status { width: max-content; padding: 2px 7px; border-radius: 99px; background: #e5f7ef; color: #087353; }
.placeholder-label { position: absolute; right: 12px; bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(23,32,54,.86); color: white; font-size: .65rem; letter-spacing: .03em; }
.float-card { position: absolute; z-index: 3; width: 180px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 16px 35px rgba(34,32,77,.14); }
.float-card small { display: block; color: var(--muted); font-size: .7rem; }
.float-card b { display: block; margin-top: 3px; font-size: .9rem; }
.float-card .icon-chip { float: left; width: 32px; height: 32px; display: grid; place-items: center; margin-right: 10px; border-radius: 10px; background: var(--soft-violet); color: var(--violet); }

/* Home */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -160px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(124,77,232,.12), transparent 68%); }
.hero-copy { text-align: center; }
.hero-copy h1 { margin-inline: auto; }
.hero-copy .lede { margin-inline: auto; }
.hero-copy .actions { justify-content: center; }
.hero-product { position: relative; width: min(100%, 1010px); margin: 70px auto 0; }
.hero-product .browser { transform: perspective(1200px) rotateX(2deg); }
.hero-product .float-one { left: -70px; top: 80px; }
.hero-product .float-two { right: -65px; bottom: 76px; }
.trust-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; padding-top: 32px; color: #676e7e; font-size: .88rem; font-weight: 700; }
.trust-strip span::before { content: "✓"; margin-right: 8px; color: var(--green); }
.benefit-ribbon { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.benefit-ribbon > div { padding: 26px; border-left: 1px solid var(--line); }
.benefit-ribbon > div:first-child { border-left: 0; background: var(--ink); color: white; }
.benefit-ribbon strong { display: block; font-size: 1.05rem; }
.benefit-ribbon span { color: var(--muted); font-size: .88rem; }
.benefit-ribbon > div:first-child span { color: #cfd3de; }
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; padding: 76px 0; border-top: 1px solid var(--line); }
.story:first-child { border-top: 0; }
.story:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.story:nth-child(even) .story-copy { order: 2; }
.story-copy p { margin: 20px 0 28px; color: var(--muted); font-size: 1.08rem; }
.story-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.story-list li { padding: 7px 11px; border-radius: 999px; background: #f1f2f7; font-size: .84rem; font-weight: 700; }
.visual-panel { position: relative; min-height: 430px; display: grid; place-items: center; border-radius: 32px; background: var(--soft-violet); overflow: hidden; }
.visual-panel.blue { background: var(--soft-blue); }
.visual-panel.orange { background: var(--soft-orange); }
.visual-panel .browser { width: 84%; }
.visual-panel .browser.small { position: absolute; width: 45%; right: 2%; bottom: 2%; transform: rotate(3deg); }

/* flows */
.workflow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: center; }
.flow-step { position: relative; min-height: 132px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.flow-step::after { content: "→"; position: absolute; top: 50%; right: -17px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; transform: translateY(-50%); }
.flow-step:last-child::after { display: none; }
.flow-step b { display: block; margin: 16px 0 5px; }
.flow-step span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.step-no { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; font-weight: 900; }

/* tour */
.tour-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.tour-wrap > * { min-width: 0; }
.tour-tabs { display: flex; flex-direction: column; gap: 7px; }
.tour-tab { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border: 0; border-radius: 13px; background: transparent; color: #555d70; text-align: left; font-weight: 750; cursor: pointer; }
.tour-tab:hover { background: #f5f5fa; }
.tour-tab[aria-selected="true"] { background: var(--brand-soft); color: var(--brand-dark); }
.tour-copy { margin-top: auto; padding: 20px 8px 6px; }
.tour-copy p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.tour-stage { min-width: 0; }
.tour-panel { display: none; }
.tour-panel.active { display: block; animation: panel-in .32s ease; }

/* inner pages */
.page-hero { padding: 80px 0 72px; }
.page-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
.page-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.page-visual::before { content: ""; position: absolute; inset: 4% 0; border-radius: 48% 52% 44% 56%; background: var(--brand-soft); transform: rotate(-3deg); }
.page-visual .browser { width: 93%; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento-card { grid-column: span 4; min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.bento-card.wide { grid-column: span 8; }
.bento-card.full { grid-column: 1 / -1; }
.bento-card.violet { background: var(--soft-violet); }
.bento-card.blue { background: var(--soft-blue); }
.bento-card.green { background: var(--soft-green); }
.bento-card.orange { background: var(--soft-orange); }
.bento-card p { margin-top: 14px; color: var(--muted); }
.number { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 36px; border-radius: 13px; background: var(--ink); color: white; font-size: .84rem; font-weight: 900; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-copy p { margin: 20px 0 26px; color: var(--muted); font-size: 1.05rem; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: "✓"; flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: var(--soft-green); color: var(--green); font-weight: 900; }
.doc-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
.doc-step { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; text-align: center; font-size: .85rem; font-weight: 750; }
.doc-step span { display: grid; width: 38px; height: 38px; place-items: center; margin: 0 auto 10px; border-radius: 12px; background: var(--soft-orange); color: var(--orange); }
.screenshot-note { margin-top: 12px; color: var(--muted); font-size: .78rem; }
.mini-site { width: 76%; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.mini-site-top { height: 20px; border-radius: 8px; background: #eff0f4; }
.mini-site-hero { display: grid; place-items: center; height: 190px; margin-top: 10px; border-radius: 12px; background: linear-gradient(135deg, #ece8ff, #e8f7f1); text-align: center; }
.mini-site-hero div { width: 70%; }
.mini-site-hero b { display: block; font-size: 1.3rem; }
.mini-site-hero i { display: inline-block; width: 80px; height: 22px; margin-top: 14px; border-radius: 20px; background: var(--brand); }

/* pricing, faq, forms */
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-option { position: relative; display: flex; flex-direction: column; }
.price-option.featured { border: 2px solid var(--brand); box-shadow: 0 20px 46px rgba(10,164,196,.14); transform: translateY(-8px); }
.price-badge { position: absolute; top: -15px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--brand-dark); color: white; font-size: .72rem; font-weight: 850; }
.price-name { color: var(--muted); font-size: .86rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-main { display: flex; align-items: baseline; gap: 5px; margin: 12px 0 2px; font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.price-main small { font-size: .9rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.price-ex { color: var(--muted); font-size: .84rem; }
.price-period { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.price-saving { min-height: 27px; margin-top: 8px; color: var(--green); font-weight: 850; }
.price-option .btn { width: 100%; margin-top: auto; }
.pricing-note { display: flex; justify-content: center; gap: 12px 28px; flex-wrap: wrap; margin: 32px 0 0; color: var(--muted); font-size: .9rem; }
.pricing-note span::before { content: "✓"; margin-right: 7px; color: var(--brand-dark); font-weight: 900; }
.price-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.price-placeholder { color: var(--brand-dark); font-size: 1.2rem; font-weight: 850; }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin: 30px 0; padding: 0; list-style: none; }
.included li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 900; }
.faq { width: min(100%, 860px); margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 48px 24px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 50px 24px 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.contact-aside { padding: 34px; border-radius: 26px; background: var(--ink); color: white; }
.contact-aside p { margin-top: 18px; color: #cfd3df; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 750; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid #cfd1dc; border-radius: 12px; background: white; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.form-status { min-height: 28px; grid-column: 1 / -1; color: var(--green); font-weight: 700; }

/* footer */
.cta-band { padding: 70px 0; background: var(--brand-dark); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.cta-inner p { max-width: 620px; color: #dddafe; }
.cta-inner .btn { background: white; color: var(--brand-dark); }
.site-footer { padding: 62px 0 28px; background: #17182b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 50px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid p { max-width: 320px; margin-top: 15px; color: #aeb2c5; font-size: .9rem; }
.footer-links { display: grid; gap: 10px; margin-top: 15px; }
.footer-links a { color: #c7cad7; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #303146; color: #9599ac; font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-7px); } }
.float-card { animation: float 4s ease-in-out infinite; }
.float-two { animation-delay: -2s; }

@media (max-width: 1050px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 20px; right: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links > a, .nav-dropdown-toggle { width: 100%; padding: 9px 6px; text-align: left; }
  .nav-dropdown-menu { position: static; width: 100%; display: none; margin: 2px 0 5px; padding: 5px 0 5px 12px; border: 0; border-left: 2px solid var(--brand); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; transform: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-actions .login { display: none; }
  .hero-product .float-one { left: -10px; }
  .hero-product .float-two { right: -10px; }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3)::after { display: none; }
  .page-hero-grid { gap: 36px; }
}

@media (max-width: 900px) {
  .section-head, .story, .story:nth-child(even), .split, .page-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .story:nth-child(even) .story-copy { order: initial; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid .metric:last-child { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-option.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .section-sm { padding: 50px 0; }
  .nav-actions .btn { display: none; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .section-head, .story, .story:nth-child(even), .split, .page-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .story:nth-child(even) .story-copy { order: initial; }
  .hero { padding-top: 60px; }
  .hero-product { margin-top: 48px; }
  .app-shell { grid-template-columns: 56px 1fr; min-height: 330px; }
  .app-side { padding: 18px 8px; }
  .app-side strong, .side-item span { display: none; }
  .side-item { justify-content: center; }
  .app-main { padding: 15px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric:last-child { display: none; }
  .hero-product .float-card { display: none; }
  .benefit-ribbon { grid-template-columns: 1fr 1fr; }
  .benefit-ribbon > div { border-top: 1px solid var(--line); }
  .benefit-ribbon > div:first-child { grid-column: 1 / -1; }
  .visual-panel { min-height: 360px; }
  .workflow { grid-template-columns: 1fr; gap: 12px; }
  .flow-step { min-height: auto; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
  .flow-step b { margin: 3px 0 0; }
  .flow-step span { grid-column: 2; }
  .flow-step::after, .flow-step:nth-child(3)::after { content: "↓"; display: grid; top: auto; right: 18px; bottom: -20px; transform: none; }
  .flow-step:last-child::after { display: none; }
  .tour-wrap { grid-template-columns: 1fr; padding: 16px; }
  .tour-tabs { max-width: 100%; flex-direction: row; overflow-x: auto; padding-bottom: 5px; }
  .tour-tab { width: auto; flex: 0 0 auto; }
  .tour-copy { padding: 10px 4px; }
  .page-hero { padding-top: 54px; }
  .page-visual { min-height: 340px; }
  .bento-card, .bento-card.wide { grid-column: 1 / -1; min-height: auto; }
  .doc-flow { grid-template-columns: 1fr; }
  .included, .contact-form { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-option.featured { transform: none; }
  .price-top, .cta-inner, .footer-bottom { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
