/* Alteros site. Layout: light hero with devices, bento highlights, one idea per section, one dark chapter (security), fat footer.
   Single deliberate look (light page with one dark section): every colour is set explicitly. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-ink: #0066cc;
  --night: #000000;
  --night-2: #1d1d1f;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --night-blue: #2997ff;
  --c-north: #0a84ff; --c-linden: #30a46c; --c-duna: #bf5af2; --amber: #ff9f0a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,.9); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.025em; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(80px, 11vw, 150px); }
.center { text-align: center; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); letter-spacing: -.005em; }
.h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; line-height: 1.06; }
.lead { font-size: clamp(19px, 1.9vw, 24px); color: var(--ink-2); line-height: 1.38; letter-spacing: -.01em; max-width: 46ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: #0077ed; text-decoration: none; }
.chev::after { content: " ›"; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.center .ctas { justify-content: center; }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 13.5px; }
.nav-links a { color: inherit; opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.lang { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(0,0,0,.05); }
.lang a { color: inherit; font: 600 12px/1 var(--font); letter-spacing: .04em; padding: 6px 9px; border-radius: 999px; opacity: .7; }
.lang a:hover { text-decoration: none; opacity: 1; }
.lang a[aria-current="true"] { background: #fff; opacity: 1; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.nav-cta { font-size: 13px; padding: 6px 13px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 500; white-space: nowrap; }
.nav-cta:hover { text-decoration: none; background: #0077ed; }
.nav.is-dark { background: rgba(22,22,23,.78); color: var(--night-ink); border-bottom-color: rgba(255,255,255,.08); }
.nav.is-dark .lang { background: rgba(255,255,255,.1); }
.nav.is-dark .lang a[aria-current="true"] { background: #3a3a3c; }
@media (max-width: 980px) { .nav-links { display: none; } .lang { margin-left: auto; } }
@media (max-width: 420px) { .nav-cta { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 0; overflow: hidden; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 600; color: var(--ink); }
.hero-eyebrow img { width: 28px; height: 28px; }
.hero h1 { font-size: clamp(46px, 8.4vw, 96px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; margin-top: 12px; }
.hero .lead { max-width: 34ch; margin-top: 18px; }
.hero .ctas { margin-top: 30px; }
.stage { position: relative; height: 600px; max-width: 1440px; margin: 64px auto 0; will-change: transform; text-align: left; }
.stage > * { position: absolute; }
.stage .mac { left: 50%; top: 0; transform: translateX(-50%); }
.stage .ipad { left: calc(50% - 650px); top: 130px; transform: scale(.82); transform-origin: top left; }
.stage .iphone-wrap { left: calc(50% + 290px); top: 60px; }
.sample-note { text-align: center; font-size: 12px; color: var(--ink-2); padding: 16px 0 0; }
@media (max-width: 1240px) { .stage .ipad { display: none; } .stage .iphone-wrap { left: calc(50% + 230px); } }
@media (max-width: 980px) {
  .stage { height: 640px; }
  .stage .mac { display: none; }
  .stage .iphone-wrap { left: 50%; top: 0; transform: translateX(-50%); }
}

/* ---------- device mocks (fictional sample data) ---------- */
.iphone { width: 300px; height: 618px; border-radius: 54px; background: #1d1d1f; padding: 11px; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 40px 80px -30px rgba(0,0,0,.45), 0 12px 30px -10px rgba(0,0,0,.25); position: relative; }
.iphone .scr { width: 100%; height: 100%; border-radius: 44px; background: #f2f2f7; color: var(--ink); overflow: hidden; position: relative; font-size: 13px; line-height: 1.3; }
.iphone .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sb { display: flex; justify-content: space-between; padding: 14px 26px 0 30px; font-weight: 600; font-size: 14px; height: 44px; }
.sb .bat { width: 24px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .9; margin-top: 3px; }
.sb .bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.ios-title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; padding: 10px 18px 2px; }
.ios-sub { font-size: 12.5px; color: var(--ink-2); padding: 0 18px 12px; }
.card { background: #fff; border-radius: 16px; margin: 0 12px 10px; padding: 12px 14px; }
.card-h { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.card-h .d { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.it { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: .5px solid #e5e5ea; }
.it:first-of-type { border-top: 0; padding-top: 0; }
.it .bar { width: 3px; align-self: stretch; border-radius: 2px; background: var(--amber); flex: none; }
.it small { display: block; color: var(--ink-2); font-size: 11.5px; margin-top: 2px; }
.approve { display: flex; gap: 8px; margin-top: 10px; }
.approve span { flex: 1; text-align: center; border-radius: 999px; padding: 8px 0; font-size: 13px; font-weight: 600; background: #e9e9ee; color: var(--ink); }
.approve span.p { background: var(--blue); color: #fff; }
.chip { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.ch-n { background: rgba(10,132,255,.12); color: #0a6ad6; }
.ch-l { background: rgba(48,164,108,.14); color: #1f7a4e; }
.ch-d { background: rgba(191,90,242,.14); color: #8a3cb8; }
.tabbar { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(255,255,255,.85); padding: 6px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.tabbar i { width: 38px; height: 38px; border-radius: 50%; background: #f2f2f7; display: block; }
.tabbar i.on { background: var(--blue); }

.mac { width: 820px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 50px 100px -40px rgba(0,0,0,.35), 0 18px 40px -20px rgba(0,0,0,.2); display: grid; grid-template-columns: 200px 280px 1fr; height: 520px; font-size: 12.5px; line-height: 1.32; color: var(--ink); }
.mac .side { background: #f0f0f3; border-right: .5px solid #d8d8dc; padding: 14px 10px; }
.lights { display: flex; gap: 7px; margin: 0 0 18px 4px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #d1d1d6; display: block; }
.side h6 { font-size: 10.5px; color: var(--ink-2); font-weight: 600; margin: 12px 8px 4px; }
.side .r { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; }
.side .r.on { background: rgba(0,0,0,.07); font-weight: 600; }
.side .r .dot { width: 9px; height: 9px; border-radius: 50%; }
.side .r .n { margin-left: auto; color: var(--ink-2); font-size: 11.5px; }
.mac .list { border-right: .5px solid #e3e3e7; overflow: hidden; }
.mac .list .hd { padding: 16px 14px 10px; font-weight: 700; font-size: 17px; }
.msg { padding: 9px 14px; border-top: .5px solid #ececf0; }
.msg.on { background: #e8f1fd; }
.msg .t { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.msg .t span { color: var(--ink-2); font-weight: 400; font-size: 11.5px; }
.msg .p { color: var(--ink-2); font-size: 11.5px; margin-top: 2px; }
.mac .read { padding: 22px 26px; line-height: 1.5; }
.read h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 4px; }
.read .meta { color: var(--ink-2); font-size: 11.5px; margin-bottom: 14px; }
.draft { margin-top: 16px; border: 1px solid #ffd59a; background: #fff8ec; border-radius: 12px; padding: 12px 14px; }
.draft .lbl, .mini .lbl { font-size: 10.5px; font-weight: 700; color: #b26b00; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.draft .approve span { padding: 6px 0; font-size: 12px; }

.ipad { width: 560px; height: 410px; border-radius: 30px; background: #1d1d1f; padding: 12px; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 40px 80px -36px rgba(0,0,0,.4); }
.ipad .scr { width: 100%; height: 100%; border-radius: 19px; background: #fff; color: var(--ink); overflow: hidden; font-size: 11px; }
.cal-h { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 8px; }
.cal-h b { font-size: 20px; letter-spacing: -.02em; }
.cal-h span { color: var(--ink-2); font-size: 12px; }
.week { display: grid; grid-template-columns: 34px repeat(5, 1fr); border-top: .5px solid #e5e5ea; }
.week .col { border-left: .5px solid #eeeef1; position: relative; height: 320px; }
.week .dh { text-align: center; font-size: 10.5px; color: var(--ink-2); padding: 4px 0; border-bottom: .5px solid #eeeef1; }
.week .dh.today b { background: #ff3b30; color: #fff; border-radius: 999px; padding: 0 6px; }
.week .hrs { font-size: 9px; color: var(--ink-2); padding-top: 22px; display: grid; gap: 40px; text-align: right; padding-right: 4px; }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 5px; padding: 3px 5px; font-size: 9.5px; line-height: 1.25; font-weight: 600; }
.ev.n { background: rgba(10,132,255,.14); color: #0a5bb8; border-left: 2.5px solid var(--c-north); }
.ev.l { background: rgba(48,164,108,.15); color: #1f6e46; border-left: 2.5px solid var(--c-linden); }
.ev.d { background: rgba(191,90,242,.15); color: #7b2fa6; border-left: 2.5px solid var(--c-duna); }
.ev.t { background: rgba(255,159,10,.16); color: #9a5a00; border-left: 2.5px solid var(--amber); }

/* ---------- highlights bento ---------- */
.highlights { background: var(--bg-2); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(220px, auto); gap: 18px; }
.tile { background: #fff; border-radius: 26px; padding: 28px; overflow: hidden; position: relative; min-width: 0; }
.tile h3 { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.tile p.s { font-size: 15px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.t-inbox { grid-row: span 2; }
.t-inbox .stack { margin-top: 18px; font-size: 13.5px; }
.t-inbox .msg { padding: 11px 0; }
.mini { margin-top: 16px; background: var(--bg-2); border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.4; }
.mini.blue { background: #eef5ff; }
.mini.blue .lbl { color: #0a6ad6; }
.brief { margin-top: 16px; font-size: 14px; }
.brief .row { display: flex; gap: 12px; padding: 7px 0; border-top: .5px solid #ececf0; }
.brief .row b { width: 48px; color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; flex: none; }
.tile.dark { background: var(--night-2); color: var(--night-ink); }
.tile.dark p.s { color: var(--night-ink-2); }
.tile .lock { position: absolute; right: 26px; bottom: 22px; width: 76px; height: 76px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .t-inbox { grid-row: auto; grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .t-inbox { grid-column: auto; } .tile .lock { position: static; display: block; margin-top: 16px; } }

/* ---------- problem ---------- */
.problem .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.problem .lead { margin-top: 18px; }
.scatter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.scatter span { padding: 10px 16px; border-radius: 14px; background: var(--bg-2); color: var(--ink-2); font-size: 15px; font-weight: 500; }
.scatter span:nth-child(3n+1) { transform: rotate(-2deg); }
.scatter span:nth-child(3n+2) { transform: rotate(1.5deg) translateY(4px); }
.scatter span:nth-child(4n) { transform: rotate(-1deg) translateY(-3px); }
@media (max-width: 860px) { .problem .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- approach ---------- */
.approach { background: var(--bg-2); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { background: #fff; border-radius: 26px; padding: 32px 30px 36px; display: grid; gap: 12px; align-content: start; }
.pillar .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef5ff; color: var(--blue); }
.pillar h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.pillar p { color: var(--ink-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- case ---------- */
.case .lead { margin-top: 18px; }
.modules { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.modules span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.platforms { margin-top: 22px; color: var(--ink-2); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.fact { padding: 28px 20px 0 0; display: grid; gap: 6px; }
.fact strong { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { color: var(--ink-2); font-size: 15px; line-height: 1.35; max-width: 22ch; margin: 0 auto; }
.fact { padding: 28px 12px 0; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* ---------- services ---------- */
.services { background: var(--bg-2); }
.svc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.svc div { background: #fff; border-radius: 22px; padding: 26px 22px 30px; display: grid; gap: 8px; align-content: start; }
.svc h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.svc p { color: var(--ink-2); font-size: 15px; line-height: 1.42; }
@media (max-width: 1100px) { .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- how ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--blue), #a78bfa); opacity: .35; }
.steps li { counter-increment: s; padding-right: 22px; display: grid; gap: 10px; align-content: start; position: relative; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin-top: 6px; }
.steps p { color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 980px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), #a78bfa); }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding-right: 0; }
  .steps li::before { grid-row: span 2; }
  .steps h3 { margin-top: 8px; }
}

/* ---------- pricing ---------- */
.pricing { background: var(--bg-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: #fff; border-radius: 26px; padding: 32px 30px 34px; display: grid; gap: 14px; align-content: start; }
.plan.feature { box-shadow: 0 0 0 2px var(--blue); }
.plan .tagline { font-size: 13px; font-weight: 600; color: var(--blue-ink); }
.plan h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.price { display: grid; gap: 2px; }
.price b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.plan p { color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.notes { list-style: none; padding: 0; margin: 36px auto 0; display: grid; gap: 8px; max-width: 760px; color: var(--ink-2); font-size: 14.5px; text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- who ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); padding-top: 32px; }
.who-grid h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.who-grid p { color: var(--ink-2); margin-top: 8px; }
.markets { margin-top: 44px; color: var(--ink-2); text-align: center; font-size: 15px; }
@media (max-width: 860px) { .who-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- security (the one dark chapter) ---------- */
.security { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.security::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -360px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(41,151,255,.22), rgba(167,139,250,.12) 55%, transparent 75%); pointer-events: none; }
.security .wrap { position: relative; }
.security .eyebrow { color: var(--night-ink-2); }
.security .h2 em { font-style: normal; background: linear-gradient(90deg, #5ac8fa, #a78bfa 60%, #e879f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.security .lead { color: var(--night-ink-2); }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sec-grid div { background: var(--night-2); border-radius: 22px; padding: 28px 26px 30px; display: grid; gap: 8px; align-content: start; box-shadow: 0 0 0 .5px rgba(255,255,255,.08) inset; }
.sec-grid h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.sec-grid p { color: var(--night-ink-2); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 30px; font-weight: 300; color: var(--blue); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 66ch; }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .lead { margin-top: 18px; }
.form { background: #fff; border-radius: 26px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { font: 400 17px/1.4 var(--font); color: var(--ink); background: var(--bg-2); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; align-items: start; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: #1f7a4e; }
.form-status.err { color: #c9341c; }
.preview-note { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 12.5px; color: var(--ink-2); }
footer .wrap { display: grid; gap: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .links a { color: var(--ink); }
footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- motion (enhancement only; content is visible without it) ---------- */
.motion [data-reveal] { transform: translateY(28px); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.motion [data-reveal].in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .float { animation: none; }
  .motion [data-reveal] { transform: none; transition: none; }
  .stage { transform: none !important; }
}

/* consent link + legal pages */
.consent-link { grid-column: 2; font-size: 13.5px; }
.legal-page { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.legal-page .wrap { max-width: 800px; }
.draft-banner { display: flex; gap: 10px; align-items: center; background: #fff8ec; border: 1px solid #ffd59a; color: #8a5300; border-radius: 14px; padding: 12px 16px; font-size: 14.5px; font-weight: 600; margin-bottom: 32px; }
.legal-page h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.legal-page .updated { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.legal-body { margin-top: 36px; }
.legal-body h2 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin: 32px 0 8px; }
.legal-body p { color: #3a3a3c; margin: 0 0 12px; max-width: 68ch; }
mark.todo { background: #ffe9b8; color: #6b4300; border-radius: 4px; padding: 0 4px; }
.back { display: inline-block; margin-top: 40px; }

/* real screenshots (sample data) inside the device frames */
.iphone .scr.shot-scr, .ipad .scr.shot-scr { background: #000; }
.shot-scr picture, .shot-scr img { display: block; width: 100%; height: 100%; }
.shot-scr img { object-fit: cover; object-position: top center; }
.ipad.portrait { width: 340px; height: 452px; border-radius: 28px; }
.ipad.portrait .scr { border-radius: 17px; }
.stage .ipad.portrait { left: calc(50% - 640px); top: 70px; transform: scale(.9); }
