/* Otchy web. Wabi-like layout (airy, big tight type, glass pills, sticky phone), Otchy brand (SF Pro, Otchy blue, near-white). */
:root {
  --bg: #FDFDFD;
  --ink: #141414;
  --ink-2: #6B6B6B;
  --hair: rgba(20, 20, 20, .08);
  --brand: #0A6FDE;
  --brand-tint: #EAF3FD;
  --sky: #F1F6FC;
  --yellow: #FFD43B;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 12px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; text-decoration: none; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
header.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 3vw, 32px); pointer-events: none; }
header.top > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 var(--display); letter-spacing: -0.03em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }

/* Glass pills (Wabi-style) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 500 16px/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer; border: 1px solid rgba(255,255,255,.9);
  background: linear-gradient(-75deg, rgba(255,255,255,.1), rgba(255,255,255,.3), rgba(255,255,255,.1)) rgba(255,255,255,.55);
  box-shadow: inset 0 1px 4px rgba(255,255,255,.67), inset 0 -4px 4px rgba(255,255,255,.85), inset 0 0 14px rgba(229,229,229,.55), 0 11px 28px rgba(0,0,0,.05), 0 23px 31px rgba(0,0,0,.035);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .2s ease, box-shadow .2s ease; }
.pill:hover { transform: translateY(-1px); }
.pill.lg { min-height: 68px; padding: 0 32px; font-size: 17px; }
.pill.blue { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 10px 28px rgba(10,111,222,.25); }
.pill svg { width: 20px; height: 20px; flex: none; }
.ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* Type */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: .98; letter-spacing: -0.045em; }
h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--ink-2); max-width: 30ch; margin: 22px auto 0; text-wrap: balance; letter-spacing: -0.015em; }
.center { text-align: center; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* Hero */
.hero { padding: clamp(130px, 16vh, 170px) 0 0; text-align: center; overflow: hidden; }
.hero .ctas { margin-top: 40px; }
.stage { position: relative; height: clamp(560px, 64vw, 800px); margin-top: 64px; }
.stage .ph { position: absolute; left: 50%; top: 0; width: clamp(260px, 26vw, 360px); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease, opacity .9s ease; will-change: transform; }
.stage .ph.c { transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 40px 60px rgba(10, 40, 80, .14)); opacity: 1; }
.stage .ph.l { transform: translateX(-142%) translateY(48px) scale(.84) rotate(-4deg); z-index: 1; opacity: .5; filter: blur(5px); }
.stage .ph.r { transform: translateX(42%) translateY(48px) scale(.84) rotate(4deg); z-index: 1; opacity: .5; filter: blur(5px); }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 14%; background: linear-gradient(transparent, var(--bg)); z-index: 4; pointer-events: none; }
.bubble { position: absolute; z-index: 5; max-width: 300px; padding: 16px 20px 18px; border-radius: 24px; text-align: left;
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(10,40,80,.12), inset 0 1px 3px rgba(255,255,255,.8); transition: opacity .45s ease, transform .45s ease; }
.bubble.out { opacity: 0; transform: translateY(8px); }
.bubble .who { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--brand); }
.bubble .who svg { width: 16px; height: 16px; }
.bubble .say { margin: 6px 0 0; font-size: 18px; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.bubble.you { left: calc(50% - clamp(260px, 26vw, 360px) / 2 - 250px); top: 22%; border-bottom-right-radius: 8px; }
.bubble.otchy { left: calc(50% + clamp(260px, 26vw, 360px) / 2 - 40px); top: 52%; border-bottom-left-radius: 8px; }
.bubble.otchy .who { color: #4A4A4A; }

/* Sticky feature scroller */
.features { padding: 120px 0 80px; }
.features header { text-align: center; margin-bottom: 40px; }
.scroller { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.sticky .frame { position: relative; width: min(100%, 360px, calc(72vh * 1470 / 3000)); aspect-ratio: 1470 / 3000; }
.sticky .frame img { position: absolute; inset: 0; width: 100%; opacity: 0; transition: opacity .5s ease, transform .5s ease; transform: translateY(8px) scale(.99); filter: drop-shadow(0 34px 50px rgba(10, 40, 80, .14)); }
.sticky .frame img.on { opacity: 1; transform: none; }
.steps { padding: 18vh 0 24vh; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; max-width: 460px; }
.step .tag { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.step h3 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.step p { color: var(--ink-2); font-size: 20px; margin: 16px 0 0; text-wrap: pretty; }
.quote { margin-top: 22px; padding: 18px 22px; border-radius: 22px; background: #F3F3F3; font-size: 17px; color: var(--ink); max-width: 420px; }
.sticky .frame img.photo { inset: 4% 0; width: 100%; height: 92%; object-fit: cover; border-radius: 40px; }
.step .inline-phone.photo { border-radius: 28px; }
.quote.siri { display: flex; align-items: center; gap: 14px; }
.quote.siri img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.quote b { display: block; font-weight: 600; color: var(--brand); font-size: 14px; letter-spacing: .02em; margin-bottom: 4px; }

/* Sky section */
.sky { background: linear-gradient(180deg, var(--bg), var(--sky) 18%, #E6EFFA 70%, var(--bg)); padding: 140px 0; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 44px auto 0; max-width: 920px; padding: 0; list-style: none; }
.langs li { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 6px 18px rgba(10,40,80,.05); font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.card { text-align: left; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); border-radius: var(--radius); padding: 30px; box-shadow: 0 14px 40px rgba(10,40,80,.06); }
.card .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-tint); display: grid; place-items: center; color: var(--brand); margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card p { color: var(--ink-2); margin: 10px 0 0; text-wrap: pretty; }

/* Organizations */
.orgs { padding: 140px 0 60px; }
.forms { max-width: 640px; margin: 28px auto 0; }
.form[hidden] { display: none; }
.switch { display: flex; gap: 6px; width: max-content; margin: 48px auto 0; padding: 6px; border-radius: 999px; background: #F0F0F0; }
.switch label { position: relative; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.switch span { display: block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; color: #4A4A4A; transition: background .2s, color .2s, box-shadow .2s; }
.switch input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.switch input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.form { border-radius: var(--radius); background: #fff; border: 1px solid var(--hair); padding: clamp(24px, 3vw, 40px); box-shadow: 0 20px 60px rgba(10,40,80,.06); }
.form h3 { margin-bottom: 8px; }
.form > p { color: var(--ink-2); margin: 0 0 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 15px; font-weight: 600; }
label .opt { font-weight: 400; color: var(--ink-2); }
select { -webkit-appearance: none; appearance: none; padding-right: 48px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 18px center !important; background-size: 18px !important; }
input, select, textarea { font: 17px/1.4 var(--font); color: var(--ink); background: #F6F7F8; border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-tint); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form .pill { width: 100%; margin-top: 8px; }
.status { margin-top: 14px; font-weight: 600; min-height: 1.5em; }
.status.ok { color: #0B7A3E; }
.status.err { color: #B3261E; }

/* Final CTA + footer */
.final { padding: 160px 0 180px; text-align: center; }
.final .ctas { margin-top: 40px; }
footer { border-top: 1px solid var(--hair); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 150px 24px 100px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); }
.legal h2 { font-size: 28px; letter-spacing: -0.02em; margin-top: 48px; }
.legal h3 { font-size: 19px; margin-top: 26px; }
.legal p, .legal li { color: #3A3A3A; }
.legal .muted { color: var(--ink-2); }

@media (max-width: 860px) {
  .scroller { grid-template-columns: 1fr; }
  .sticky { position: relative; top: 0; height: auto; order: -1; display: none; }
  .steps { padding: 0; }
  .step { min-height: auto; padding: 40px 0; max-width: none; }
  .step .inline-phone { display: block; width: min(80%, 320px); margin: 28px auto 0; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .stage .ph.l, .stage .ph.r { display: none; }
  .bubble.you { left: 4%; top: 6%; max-width: 62%; }
  .bubble.otchy { left: auto; right: 4%; top: 58%; max-width: 70%; }
}
@media (min-width: 861px) { .step .inline-phone { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky .frame img, .pill { transition: none; } }

.fineprint { font-size: 14px; color: var(--ink-2); margin: 4px 0 6px; }
.fineprint a { color: var(--ink-2); }
.legal-note { font-size: 13px; line-height: 1.5; color: #8A8A8A; margin: 0; padding-bottom: 28px; max-width: 900px; }
