/* Skip Rest website. Same language as the app: white, one orange accent,
   Barlow Condensed for big titles, the system font (SF Pro on Apple devices) for everything else. */

:root {
  --ink: #121212;
  --secondary: #737373;
  --tertiary: #adadad;
  --line: #e3e3e3;
  --surface: #f5f5f5;
  --control: #ededed;
  --bg: #ffffff;
  --work: #ef7a4d;
  --work-text: #c6552a;
  --rest: #5cd6a0;
  --done: #34a25e;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1120px;
  --pad: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}
.label--accent { color: var(--work-text); }

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--secondary); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav a.btn--ink, .nav a.btn--ink:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a2a; }
.btn--soft { background: var(--control); color: var(--ink); }
.btn--soft:hover { background: #e2e2e2; }
.btn--small { height: 40px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .soon { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 24px; }
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background: radial-gradient(closest-side, rgba(239, 122, 77, 0.18), rgba(239, 122, 77, 0));
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__copy { padding-bottom: 72px; }
.hero h1 { font-size: clamp(64px, 9vw, 116px); margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--work); }
.hero p { margin-top: 22px; max-width: 30em; font-size: 19px; color: var(--secondary); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--secondary); }
.hero__facts span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--done); vertical-align: 2px; }

.phones { position: relative; height: 680px; }
.phone {
  position: absolute;
  width: 290px;
  border-radius: 48px;
  padding: 9px;
  background: #0d0d0d;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.phone img { width: 100%; border-radius: 40px; }
.phones .phone:nth-child(1) { left: 6%; top: 40px; z-index: 2; }
.phones .phone:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); opacity: 0.98; }

/* ---------- features ---------- */
.section { padding: 112px 0; }
.section__head { max-width: 640px; }
.section__head h2 { font-size: clamp(44px, 6vw, 72px); margin-top: 14px; }
.section__head p { margin-top: 16px; color: var(--secondary); font-size: 18px; }

.features { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--surface); border-radius: 24px; padding: 26px 24px 28px; }
.feature__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--work); color: #fff;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { margin-top: 20px; font-size: 19px; font-weight: 600; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--secondary); }

/* ---------- steps ---------- */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step__shot { background: var(--surface); border-radius: 32px; padding: 36px 0 0; overflow: hidden; display: flex; justify-content: center; height: 520px; }
.step__shot .phone { position: static; width: 250px; }
.step__num { margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--work); }
.step h3 { margin-top: 2px; font-size: 22px; font-weight: 600; }
.step p { margin-top: 6px; color: var(--secondary); font-size: 16px; max-width: 26em; }

/* ---------- dark band ---------- */
.dark { background: #0b0b0b; color: #f5f5f5; border-radius: 40px; margin: 0 var(--pad); overflow: hidden; }
.dark .section__head p { color: #9e9e9e; }
.dark .label { color: #f5956d; }
.dark__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 96px 0 0; }
.dark__copy { padding-bottom: 96px; }
.dark__list { margin-top: 28px; display: grid; gap: 14px; list-style: none; }
.dark__list li { display: flex; gap: 12px; color: #d6d6d6; }
.dark__list li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--work); }
.dark__phones { display: flex; justify-content: center; gap: 20px; align-self: end; }
.dark__phones .phone { position: static; width: 250px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.dark__phones .phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; height: 430px; object-fit: cover; object-position: top; }
.dark__phones .phone:nth-child(2) { margin-top: 60px; }

/* ---------- promise ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.promise div { border-top: 1px solid var(--line); padding-top: 20px; }
.promise strong { display: block; font-family: var(--display); font-size: 34px; text-transform: uppercase; line-height: 1; }
.promise span { display: block; margin-top: 10px; color: var(--secondary); font-size: 16px; }

/* ---------- final CTA ---------- */
.cta { text-align: center; padding: 120px 0 128px; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(239, 122, 77, 0.16), rgba(239, 122, 77, 0)); pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(56px, 9vw, 112px); margin-top: 14px; }
.cta p { margin: 18px auto 0; max-width: 34em; color: var(--secondary); font-size: 18px; }
.cta .hero__actions { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--secondary); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; transition: color 0.2s; }
.footer__links a:hover, .footer__links a[aria-current='page'] { color: var(--ink); }

/* ---------- document pages (privacy, terms, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 88px var(--pad) 120px; }
.doc h1 { font-size: clamp(52px, 8vw, 84px); margin-top: 14px; }
.doc .lead { margin-top: 18px; font-size: 19px; }
.doc .meta { margin-top: 8px; color: var(--secondary); font-size: 15px; }
.doc h2 { margin-top: 48px; font-size: 22px; font-weight: 600; }
.doc p, .doc li { margin-top: 12px; color: #3d3d3d; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--work-text); }
.doc .callout { margin-top: 32px; background: var(--surface); border-radius: 24px; padding: 22px 24px; }
.doc .callout p:first-child { margin-top: 0; }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--secondary); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .dark__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .phones { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; }
  .dark__copy { padding-bottom: 0; }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --pad: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .hero p { font-size: 17px; }
  .phones { height: 470px; }
  .phone { width: 230px; border-radius: 40px; padding: 7px; }
  .phone img { border-radius: 33px; }
  .phones .phone:nth-child(1) { left: 0; top: 30px; }
  .section { padding: 80px 0; }
  .features { grid-template-columns: 1fr; }
  .step__shot { height: 460px; }
  .dark { margin: 0 8px; border-radius: 28px; }
  .dark__grid { padding-top: 64px; }
  .dark__phones .phone { width: 46%; }
  .dark__phones .phone img { height: 330px; }
  .cta { padding: 88px 0 96px; }
}
