/* livetongue.com landing page (step 10). Tokens come from ui.css (the approved app UI). */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; src: url("fonts/arabic.woff2") format("woff2"); font-weight: 400; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink);
  background: #fff; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11" 1, "ss03" 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.s-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- buttons and links ---------- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 10px;
  font-size: 15.5px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; white-space: nowrap; transition: background-color .15s ease-out; }
.s-btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.s-btn.primary:hover { background: #1e293b; }
.s-btn.primary:active { background: #020617; }
.s-btn.sm { height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 9px; gap: 7px; }
.s-btn[disabled] { opacity: .6; cursor: progress; }
.s-apple { width: 15px; height: 15px; margin-top: -2px; }
.s-btn.sm .s-apple { width: 13px; height: 13px; }
.s-link { font-size: 15.5px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--ink4); text-underline-offset: 5px; }
.s-link:hover { text-decoration-color: var(--ink); }
.s-fine { font-size: 13.5px; color: var(--ink3); }

/* ---------- header ---------- */
.s-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line2); }
.s-head-in { height: 68px; display: flex; align-items: center; gap: 40px; }
.s-logo img { height: 26px; width: auto; }
.s-nav { display: flex; gap: 28px; margin-left: auto; }
.s-nav a { font-size: 15px; color: var(--ink2); text-decoration: none; }
.s-nav a:hover { color: var(--ink); }

/* ---------- the caption pair: a heading drawn like a line in the panel ---------- */
.s-pair h1, .s-pair h2 { font-weight: 600; color: var(--ink); text-wrap: balance; }
.s-pair h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.024em; font-variation-settings: "opsz" 32; }
.s-og { font-size: 17px; line-height: 1.45; color: var(--ink3); margin-top: 10px; }
.s-og[dir=rtl] { font-family: var(--ar); font-size: 18px; line-height: 1.7; text-align: right; }
.s-pair .caret { width: .07em; height: .78em; vertical-align: -0.04em; margin-left: .08em; border-radius: 2px; }

/* ---------- hero ---------- */
.s-hero { padding: 56px 0 0; }
.s-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 40px; align-items: start; }
.s-hero-copy { padding-top: 40px; }
.s-when { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink2); margin-bottom: 22px; }
.s-when .s-apple { width: 14px; height: 14px; }
.s-h1 h1 { font-size: 58px; line-height: 1.02; letter-spacing: -0.034em; font-variation-settings: "opsz" 32; }
.s-h1 .s-og { font-size: 19px; margin-top: 14px; }
.s-lede { font-size: 18px; line-height: 1.55; color: var(--ink2); margin-top: 28px; max-width: 470px; }
.s-ctas { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.s-hero .s-fine { margin-top: 18px; }

.s-stage { position: relative; }
.s-try { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 12px; font-size: 13.5px; color: var(--ink3); }
.s-seg { display: inline-flex; background: var(--bg); border-radius: 9px; padding: 3px; gap: 2px; }
.s-seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; font-size: 13.5px; color: var(--ink2); cursor: pointer; min-height: 28px; }
.s-seg button:hover { color: var(--ink); }
.s-seg button[aria-selected=true] { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(15,23,42,.12), 0 0 0 .5px rgba(15,23,42,.08); }
.s-scenes { position: relative; height: 660px; border-radius: 18px; background: #eceef1; }
.s-scene { position: absolute; inset: 0; transition: opacity .2s ease-out; }
.s-scene[hidden] { display: block; opacity: 0; visibility: hidden; }
.s-call { position: absolute; left: 22px; top: 96px; width: 252px; height: 470px; }
.s-call .z-top { height: 30px; }
.s-tiles { flex: 1; display: grid; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px 10px; }
.s-tiles .z-tile { min-height: 0; }
.s-tiles .ini { font-size: 34px; }
.s-call .z-bar { height: 50px; justify-content: flex-start; gap: 0; padding: 0 10px; }
.s-call .z-bar .b { width: 40px; }
.s-call .z-bar .b i { font-size: 17px; }
.s-call .z-bar .end { padding: 6px 12px; font-size: 12.5px; }
.s-panel { position: absolute; right: 22px; top: 22px; width: 400px; height: 616px; }
.s-panel .lt { height: 100%; }

/* facts under the hero */
.s-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; padding: 24px 0 0;
  border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink2); line-height: 1.5; }
.s-facts b { color: var(--ink); font-weight: 600; }
.s-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-apps img { width: 22px; height: 22px; border-radius: 6px; }
.s-apps span:first-child { color: var(--ink); font-weight: 600; margin-right: 2px; }
.s-apps span:last-child { width: 100%; }

/* ---------- sections ---------- */
.s-sec { padding: 120px 0 0; }
.s-sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: end; margin-bottom: 48px; }
.s-sec-lede { font-size: 17px; line-height: 1.6; color: var(--ink2); max-width: 520px; }

/* during the call: the panel's moments */
.s-moms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.s-mom { margin: 0; }
.s-mom .mom { height: 600px; }
.s-mom figcaption { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--ink2); max-width: 340px; }
.s-mom figcaption b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* after the call: the recap window */
.s-shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15,23,42,.35), 0 0 0 1px rgba(15,23,42,.07); }
.s-shot-in { zoom: .7778; }
.s-shot-in .appwin { border-radius: 0; }
.s-notes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; font-size: 15px; color: var(--ink2); }
.s-notes b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 2px; }

/* accuracy: the data moment */
.s-acc-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.s-acc-copy .s-sec-lede { margin-top: 28px; }
.s-weak { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink2); }
.s-weak b { color: var(--ink); font-weight: 600; }
.s-weak ul { margin: 8px 0 0 18px; display: grid; gap: 4px; }
.s-acc-chart { border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px 24px; }
.s-acc-cap { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; color: var(--ink3); padding-bottom: 8px; }
.s-acc-cap b { color: var(--ink); font-weight: 600; font-size: 16px; }
.s-acc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; padding: 22px 0; border-top: 1px solid var(--line2); }
.s-acc-row:first-of-type { border-top: 0; }
.s-acc-l b { display: block; font-size: 16px; font-weight: 600; }
.s-acc-l span { display: block; font-size: 13.5px; color: var(--ink3); margin-top: 4px; line-height: 1.45; }
.s-acc-n { display: block; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.s-track { position: relative; height: 34px; margin-top: 10px; }
.s-track:before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line); border-radius: 1px; }
.s-tick { position: absolute; left: calc((var(--at) - 50) * 2%); top: 4px; width: 1px; height: 10px; background: var(--ink4); }
.s-tick i { position: absolute; top: 14px; left: 0; transform: translateX(-50%); font-style: normal; font-size: 11.5px; color: var(--ink3); }
.s-tick[style*="--at:100"] i { transform: translateX(-100%); }
.s-tick[style*="--at:50"] i { transform: none; }
.s-rng { position: absolute; top: 2px; height: 14px; border-radius: 7px; background: var(--green);
  left: calc((var(--lo) - 50) * 2%); width: max(10px, calc((var(--hi) - var(--lo)) * 2%));
  transform-origin: left center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.js .s-acc-chart:not(.in) .s-rng { transform: scaleX(0); }
.s-acc-foot { font-size: 13.5px; color: var(--ink3); padding-top: 18px; border-top: 1px solid var(--line2); line-height: 1.5; }

/* privacy */
.s-priv { max-width: 1000px; }
.s-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.s-table th, .s-table td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-top: 1px solid var(--line2); }
.s-table thead th { font-size: 13.5px; font-weight: 500; color: var(--ink3); border-top: 0; padding-top: 0; }
.s-table tbody th { font-weight: 600; width: 26%; }
.s-table td { color: var(--ink2); }
.s-table td:last-child { width: 30%; }
.s-tell { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; box-shadow: 0 18px 40px -26px rgba(15,23,42,.35); }
.s-tell-h { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.s-tell-h b { font-weight: 600; }
.s-tell-s { font-size: 13.5px; color: var(--ink2); margin-top: 6px; }
.s-tell-q { font-size: 14.5px; margin-top: 12px; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.s-tell-a { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.s-tell-t { font-size: 13px; color: var(--ink3); }

/* pricing */
.s-plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; max-width: 900px; }
.s-plan { padding: 28px 32px 30px; }
.s-plan + .s-plan { border-left: 1px solid var(--line); }
.s-plan-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.s-plan-h b { font-size: 18px; font-weight: 600; }
.s-price { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.s-price small { font-size: 15px; font-weight: 400; color: var(--ink3); letter-spacing: 0; }
.s-plan-hours { font-size: 16px; color: var(--ink2); margin-top: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line2); }
.s-plan-hours b { color: var(--ink); font-weight: 600; }
.s-plan ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; font-size: 15px; }
.s-plan li { display: flex; gap: 10px; align-items: flex-start; }
.s-plan li i { color: var(--ink3); font-size: 14px; margin-top: 4px; }
.s-plans-cta { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }

/* faq */
.s-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; }
.s-q { border-top: 1px solid var(--line); }
.s-q:last-child { border-bottom: 1px solid var(--line); }
.s-q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0;
  font-size: 17px; font-weight: 500; cursor: pointer; }
.s-q summary::-webkit-details-marker { display: none; }
.s-q summary i { font-size: 18px; color: var(--ink3); transition: transform .2s ease-out; flex: none; }
.s-q[open] summary i { transform: rotate(45deg); }
.s-q p { padding: 0 48px 22px 0; color: var(--ink2); font-size: 16px; line-height: 1.6; }

/* get the app */
.s-get { margin-top: 120px; background: var(--bg); padding: 96px 0; }
.s-get-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.s-get .s-sec-lede { margin-top: 24px; }
.s-form label { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 8px; }
.s-form-row { display: flex; gap: 10px; }
.s-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid #d5d8de; border-radius: 10px; background: #fff; font-size: 16px; }
.s-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.s-form input[aria-invalid=true] { border-color: var(--red); }
.s-form-msg { min-height: 22px; font-size: 14px; margin-top: 8px; color: var(--ink2); }
.s-form-msg.err { color: var(--red); }
.s-form-msg.ok { color: var(--green); font-weight: 500; }
.s-form .s-fine a { color: var(--ink2); }

/* footer */
.s-foot { padding: 48px 0 56px; border-top: 1px solid var(--line2); }
.s-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; font-size: 14.5px; color: var(--ink3); }
.s-foot-brand img { height: 22px; width: auto; }
.s-foot-brand p { margin-top: 12px; }
.s-foot nav { display: grid; gap: 8px; align-content: start; }
.s-foot nav a { text-decoration: none; color: var(--ink2); }
.s-foot nav a:hover { color: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .s-hero-in { grid-template-columns: minmax(0, 1fr); }
  .s-hero-copy { padding-top: 0; max-width: 640px; }
  .s-stage { max-width: 640px; }
  .s-facts { grid-template-columns: 1fr 1fr; }
  .s-shot { overflow-x: auto; }
}
@media (max-width: 900px) {
  .s-wrap { padding: 0 24px; }
  .s-nav { display: none; }
  .s-head-in { justify-content: space-between; }
  .s-sec { padding-top: 88px; }
  .s-sec-head, .s-acc-in, .s-priv, .s-faq-in, .s-get-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .s-moms { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s-mom .mom { height: 560px; max-width: 420px; }
  .s-notes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .s-shot-in { zoom: .5; }
  .s-pair h2 { font-size: 32px; }
  .s-foot-in { grid-template-columns: 1fr 1fr; }
  .s-get { padding: 72px 0; margin-top: 88px; }
}
@media (max-width: 560px) {
  .s-wrap { padding: 0 16px; }
  .s-hero { padding-top: 32px; }
  .s-h1 h1 { font-size: 44px; }
  .s-h1 .s-og { font-size: 17px; }
  .s-lede { font-size: 17px; margin-top: 22px; }
  .s-head .s-btn.sm .s-apple { display: none; }
  .s-try { justify-content: flex-start; }
  .s-scenes { height: 600px; background: transparent; }
  .s-call { display: none; }
  .s-panel { position: absolute; inset: 0; width: auto; height: auto; }
  .s-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 36px; }
  .s-acc-chart { padding: 20px; }
  .s-acc-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .s-table thead { display: none; }
  .s-table tr { display: grid; padding: 14px 0; border-top: 1px solid var(--line2); }
  .s-table th, .s-table td { border: 0; padding: 2px 0; width: auto !important; }
  .s-plans { grid-template-columns: minmax(0, 1fr); }
  .s-plan + .s-plan { border-left: 0; border-top: 1px solid var(--line); }
  .s-plan { padding: 22px 20px; }
  .s-form-row { flex-direction: column; }
  .s-form input { flex: none; }
  .s-q p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
  .js .s-acc-chart:not(.in) .s-rng { transform: none; }
}

/* legal pages */
.s-legal { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.s-legal h1 { font-size: 40px; line-height: 1.1; letter-spacing: -0.024em; font-weight: 600; margin-bottom: 20px; }
.s-legal h2 { font-size: 22px; font-weight: 600; margin: 36px 0 10px; letter-spacing: -0.01em; }
.s-legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.s-legal p, .s-legal li { font-size: 16px; line-height: 1.65; color: var(--ink2); }
.s-legal p + p { margin-top: 10px; }
.s-legal ul, .s-legal ol { margin: 8px 0 8px 22px; display: grid; gap: 6px; }
.s-legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.s-legal th, .s-legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line2); color: var(--ink2); }
.s-legal th { color: var(--ink); font-weight: 600; }
.s-legal a { color: var(--ink); }
.s-404 .s-sec-lede { margin: 20px 0 28px; }
.s-404 h1 { margin-bottom: 0; }
