/* Pingoo AI — site styles. Palette from the mascot: charcoal, ice blue, teal phone, orange beak, gold trophy. */

@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/nunito.woff2') format('woff2'); }

:root {
  --ink: #232b33;
  --ink-2: #4a5763;
  --ink-3: #6f7c88;
  --teal: #28bed2;
  --teal-700: #0b7486;
  --teal-50: #e7f8fa;
  --ice: #d4e3ff;
  --ice-50: #f1f6ff;
  --orange: #ff5a1f;
  --orange-700: #c8410b;
  --orange-50: #fff1ea;
  --brand-ai: #ff4200; /* the "AI" in the Pingoo AI wordmark, everywhere */
  --sun: #ffc83d;
  --sun-50: #fff7df;
  --magenta: #c81c6e;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(35, 43, 51, .06), 0 10px 28px rgba(35, 43, 51, .08);
  --font: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); font-weight: 700; text-underline-offset: .18em; }
a:hover { color: var(--orange-700); }
h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 18px; height: 18px; }
.i-xs { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font: 800 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-700); color: #fff; box-shadow: 0 6px 18px rgba(200, 65, 11, .25); }
.btn-primary:hover { background: #a93608; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { min-height: 56px; padding: .85em 1.8em; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.link-arrow .i { transition: transform .18s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-block; border-radius: 10px; transition: transform .18s; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 48px; width: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.brand-name { font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; }
.brand-name span { color: var(--brand-ai); margin-left: 3px; }
.main-nav { display: flex; gap: 4px; margin-left: 6px; }
.nav-link { padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; }
.nav-link:hover { background: var(--teal-50); color: var(--teal-700); }
.nav-link[aria-current="page"] { background: var(--teal-50); color: var(--teal-700); }
.header-cta { margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i:last-child, .nav-toggle[aria-expanded="true"] .i:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .i:last-child { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav .wrap { display: flex; flex-direction: column; padding: 12px 0 24px; }
.mobile-nav a { padding: 12px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--bg-soft); }
.mobile-cta { margin-top: 16px; display: grid; }
.mobile-cta a { color: #fff; border-bottom: 0; }
@media (max-width: 960px) { .main-nav, .header-cta { display: none; } .nav-toggle { display: inline-flex; } }

/* sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-ice { background: var(--ice-50); }
.section-teal { background: var(--teal-50); }
.section-head { max-width: 740px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 12px; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.32rem); line-height: 1.6; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); background: linear-gradient(180deg, var(--teal-50), #fff 85%); }
.hero::before { content: ''; position: absolute; right: -160px; top: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 227, 255, .9), rgba(212, 227, 255, 0) 68%); z-index: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 .hl { color: var(--teal-700); }
.hero .lede { max-width: 560px; margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--ink-3); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .blob { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%; background: var(--sun); opacity: .9; }
.hero-art .mascot { position: relative; width: min(440px, 90%); height: auto; filter: drop-shadow(0 18px 30px rgba(35, 43, 51, .15)); }
.bubble { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 700; color: var(--ink); font-size: .95rem; max-width: 230px; line-height: 1.35; }
.bubble::after { content: ''; position: absolute; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); bottom: -6px; left: 28px; }
.bubble-a { left: -6%; top: -2%; }
.bubble-b { right: 0; bottom: 14%; background: var(--teal-700); color: #fff; }
.bubble-b::after { background: var(--teal-700); left: auto; right: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .mascot { animation: bob 5s ease-in-out infinite; }
  .bubble { animation: pop-in .5s cubic-bezier(.3, 1.5, .5, 1) both; }
  .bubble-a { animation-delay: .5s; }
  .bubble-b { animation-delay: 1.1s; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.85) translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 420px; margin: 0 auto; } }
@media (max-width: 480px) { .bubble { font-size: .85rem; max-width: 190px; } }

.hero-sub { padding-bottom: clamp(48px, 6vw, 80px); }
.hero-sub h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero-sub .hero-art .mascot { width: min(300px, 80%); }

/* feature cards with mascots */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .art { height: 150px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 20px; }
.feature .art img { height: 130px; width: auto; }
.feature p { margin: 0; font-size: 1.02rem; }
.art-teal { background: var(--teal-50); }
.art-ice { background: var(--ice-50); }
.art-sun { background: var(--sun-50); }
.art-orange { background: var(--orange-50); }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev > :first-child { order: 2; }
.split .art-panel { border-radius: 32px; padding: 32px; display: grid; place-items: center; min-height: 340px; }
.split .art-panel img { max-height: 320px; width: auto; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split-rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.checks .i { color: var(--teal-700); margin-top: 3px; stroke-width: 2.6; width: 20px; height: 20px; }

/* chat demo */
.chat { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 12px; max-width: 460px; }
.msg { padding: 12px 16px; border-radius: 18px; font-size: 1rem; line-height: 1.45; max-width: 88%; }
.msg-me { justify-self: end; background: var(--teal-700); color: #fff; border-bottom-right-radius: 6px; }
.msg-pingoo { background: var(--ice-50); color: var(--ink); border-bottom-left-radius: 6px; display: flex; gap: 10px; align-items: flex-start; }
.msg-pingoo img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; font-weight: 700; color: var(--teal-700); background: var(--teal-50); border-radius: 999px; padding: 6px 12px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps .n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 900; margin-bottom: 14px; }
.steps p { margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* topics */
.topic-groups { display: grid; gap: 22px; }
.topic-group { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.topic-group .tg-art { border-radius: 20px; display: grid; place-items: center; padding: 16px; }
.topic-group .tg-art img { height: 170px; width: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .92rem; border-radius: 999px; padding: 7px 14px; }
@media (max-width: 720px) { .topic-group { grid-template-columns: 1fr; } .topic-group .tg-art img { height: 140px; } }
.questions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.questions li { background: #fff; border-radius: 18px; padding: 16px 18px 16px 52px; position: relative; color: var(--ink); font-weight: 700; border: 1px solid var(--line); }
.questions li::before { content: '?'; position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-50); color: var(--orange-700); display: grid; place-items: center; font-weight: 900; font-size: .9rem; }
@media (max-width: 720px) { .questions { grid-template-columns: 1fr; } }

/* organizations */
.orgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.org { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.org-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 18px; }
.org:nth-child(2) .org-icon { background: var(--sun-50); color: #8a6100; }
.org:nth-child(3) .org-icon { background: var(--orange-50); color: var(--orange-700); }
.org:nth-child(4) .org-icon { background: var(--ice-50); color: #3b5bab; }
.org p { font-size: 1.02rem; }
@media (max-width: 860px) { .orgs { grid-template-columns: 1fr; } }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); }
.trust-card .big { font-size: 1.6rem; font-weight: 900; color: var(--ink); line-height: 1.2; margin-bottom: 8px; }
.trust-card p { margin: 0; font-size: 1rem; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* research */
.pubs { display: grid; gap: 16px; }
.pub { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pub-venue { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.pub h3 { font-size: 1.15rem; }
.pub p { font-size: 1rem; margin-bottom: 10px; }
@media (max-width: 680px) { .pub { grid-template-columns: 1fr; gap: 8px; } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; color: var(--ink); font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--teal-700); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; }

/* family */
.family { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.family a.card { display: block; text-decoration: none; color: var(--ink-2); font-weight: 400; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.family a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink-2); }
.family .tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; margin-bottom: 14px; }
.family .tag-sh { background: #fdf0f5; color: var(--magenta); }
.family .tag-ws { background: var(--teal-50); color: var(--teal-700); }
.family h3 { margin-bottom: 6px; }
@media (max-width: 760px) { .family { grid-template-columns: 1fr; } }

/* download band */
.download-band { background: var(--teal-700); color: #dff6f9; overflow: hidden; }
.db-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; padding: clamp(48px, 7vw, 80px) 0; }
.download-band h2 { color: #fff; }
.download-band p { margin-bottom: 22px; font-size: 1.15rem; }
.db-mascot { width: min(260px, 70%); height: auto; justify-self: center; }
@media (max-width: 760px) { .db-inner { grid-template-columns: 1fr; } .db-mascot { width: 180px; } }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; font: 400 1.02rem/1.4 var(--font); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 15px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(40, 190, 210, .18); }
.field.invalid input, .field.invalid textarea { border-color: var(--orange-700); }
.field-error { display: none; color: var(--orange-700); font-size: .88rem; margin: 6px 0 0; font-weight: 700; }
.field.invalid .field-error { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-row legend { font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 2px solid var(--line); font-size: .95rem; font-weight: 700; color: var(--ink); background: #fff; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-foot p { margin: 0; font-size: .9rem; color: var(--ink-3); max-width: 420px; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.form-status.error { display: block; background: var(--orange-50); color: var(--orange-700); }
.form-success { text-align: center; padding: 20px 8px; }
.form-success img { width: 150px; height: auto; margin: 0 auto 16px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--sun-50); border-radius: 18px; padding: 16px 20px; color: var(--ink); font-size: 1rem; margin-bottom: 22px; }
.notice .i { color: #8a6100; margin-top: 2px; }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

/* download page */
.store-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.store-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.store-card .i { width: 34px; height: 34px; color: var(--ink); }
@media (max-width: 700px) { .store-cards { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* footer */
.site-footer { background: var(--ink); color: #b9c3cc; font-size: .98rem; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-name span { color: var(--brand-ai); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 64px 0 40px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid a:not(.brand):not(.badge) { display: block; color: #d6dde3; font-weight: 600; text-decoration: none; padding: 4px 0; }
.footer-grid a:not(.brand):not(.badge):hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 360px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 30px; display: grid; gap: 6px; font-size: .86rem; color: #8f9ba6; }
.footer-base p { margin: 0; }
.disclaimer { color: #c3ccd4; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound img { width: 200px; height: auto; margin: 0 auto 20px; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.form-mascot { width: min(240px, 60%); height: auto; margin-top: 24px; }
.notice svg { flex: none; }
@media (max-width: 880px) { .bubble-a { left: 0; top: 0; } }

/* legal pages */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal p, .legal li { font-size: 1.02rem; }
.legal address { font-style: normal; padding: 18px 22px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); line-height: 1.8; margin-top: 12px; }
.toc { margin: 24px 0 8px; padding: 20px 24px; border-radius: 18px; background: var(--teal-50); }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc a { text-decoration: none; color: var(--ink); }
.contact-block { margin-top: 24px; display: grid; gap: 14px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contact-block p { margin: 0; color: var(--ink); line-height: 1.55; }
.contact-block .label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }

/* testimonial */
.quote-band { background: var(--orange-700); color: #fff; }
.quote-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding: clamp(44px, 6vw, 72px) 0; }
.quote-photo { width: clamp(110px, 14vw, 170px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255, 255, 255, .35); }
.quote-band figure { margin: 0; }
.quote-band blockquote { margin: 0 0 16px; }
.quote-band blockquote p { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.2; font-style: italic; letter-spacing: -.01em; margin: 0; color: #fff; text-wrap: balance; }
.quote-band figcaption { font-size: 1.05rem; color: #ffe2d4; }
.quote-band figcaption strong { color: #fff; }
.quote-band figcaption a { color: #fff; }
.quote-band figcaption a:hover { color: var(--sun); }
@media (max-width: 640px) { .quote-inner { grid-template-columns: 1fr; text-align: center; } .quote-photo { margin: 0 auto; } }

/* app screenshots */
.shots-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.shots-nav { display: flex; gap: 10px; flex: none; }
.shots-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, transform .15s; }
.shots-btn:hover { border-color: var(--ink); }
.shots-btn[data-shots="-1"] .i { transform: rotate(180deg); }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 280px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.shots:focus-visible { outline-offset: 6px; }
.shot { margin: 0; scroll-snap-align: start; }
.shot img { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 14px 34px rgba(255, 66, 0, .18); }
.shot figcaption { padding: 14px 4px 0; }
.shot figcaption b { display: block; color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.shot figcaption span { font-size: .95rem; }
.shot-panel, .shot-pair { padding: 28px !important; }
.shot-img { width: min(290px, 100%); height: auto; border-radius: 24px; box-shadow: 0 14px 34px rgba(35, 43, 51, .16); }
.shot-pair { display: flex !important; gap: 16px; justify-content: center; }
.shot-pair .shot-img { width: min(230px, 46%); }
@media (max-width: 640px) { .shots-nav { display: none; } .shots { grid-auto-columns: 72%; } }
.split .art-panel .shot-img { max-height: 560px; width: auto; max-width: 100%; }
.split .shot-pair .shot-img { max-height: 470px; max-width: 47%; }

/* contact cards */
.contact-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 32px; max-width: 900px; }
.contact-mascot { width: 170px; height: auto; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 400; transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink-2); }
.cc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 14px; }
.cc-icon-sun { background: var(--sun-50); color: #8a6100; }
.cc-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cc-value { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 900; color: var(--ink); overflow-wrap: anywhere; }
.cc-hint { font-size: .98rem; }
@media (max-width: 640px) { .contact-cards, .contact-head { grid-template-columns: 1fr; } .contact-mascot { width: 130px; } }
