/* Futavel's website: the app's own look. Neutral, near-black words on an off-white page (the other way around in dark mode),
   Manrope, and color only where it means something. The hero is always dark, with the app's cutlery pattern behind it. */

@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url('/fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url('/fonts/manrope-800.woff2') format('woff2'); }

:root {
  color-scheme: light dark;
  --page: #f6f6f7;
  --card: #ffffff;
  --tint: #efeff1;
  --ink: #18181b;
  --muted: #55555d;
  --border: #e1e1e5;
  --line: #eaeaed;
  --button: #18181b;
  --on-button: #ffffff;
  --good: #15803d;
  --warn: #a15c07;
  --night: #0c0c0e;
  --night-ink: #f2f2f4;
  --night-muted: #b4b4bc;
  --radius: 22px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0c0c0e;
    --card: #17171a;
    --tint: #131316;
    --ink: #f2f2f4;
    --muted: #a0a0a8;
    --border: #2a2a2f;
    --line: rgba(255, 255, 255, 0.08);
    --button: #f2f2f4;
    --on-button: #0c0c0e;
    --good: #6fc68c;
    --warn: #e3a15a;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 500 17px/1.6 Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: var(--button); color: var(--on-button); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The top bar */

.top { background: var(--page); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.mark { display: block; width: 19px; height: 25px; background: currentColor; -webkit-mask: url('/images/logo-mark.png') center / contain no-repeat; mask: url('/images/logo-mark.png') center / contain no-repeat; }
.nav { display: flex; gap: 24px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
.nav a[aria-current='page'] { box-shadow: inset 0 -2px 0 currentColor; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; min-width: 200px; padding: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.menu nav a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.menu nav a:hover { background: var(--tint); }

/* Buttons */

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--button); color: var(--on-button); border: 1px solid var(--button); font-weight: 800; font-size: 16px; text-decoration: none; transition: opacity 0.15s; }
.button:hover { opacity: 0.86; }
.button.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.button.on-dark { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.button.ghost.on-dark { background: transparent; color: var(--night-ink); border-color: rgba(255, 255, 255, 0.28); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The hero */

.hero { background: linear-gradient(rgba(12, 12, 14, 0.62), rgba(12, 12, 14, 0.62)), var(--night) url('/images/cutlery-dark.png') center top / 941px auto; color: var(--night-ink); overflow: hidden; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: end; gap: 40px; padding-top: 76px; }
.hero-words { padding-bottom: 84px; }
.eyebrow { color: var(--night-muted); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; max-width: 15ch; }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--muted); }
.hero .lead { color: var(--night-muted); margin: 24px 0 30px; max-width: 34em; }
.hero-price { color: var(--night-muted); font-size: 15px; margin-top: 18px; max-width: 34em; }
.hero-phones { position: relative; height: 560px; }
.phone { border-radius: 34px; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); background: var(--night); }
.hero-phones .phone { position: absolute; bottom: -90px; }
.hero-phones .front { right: 0; width: 300px; z-index: 1; }
.hero-phones .behind { right: 228px; bottom: -150px; width: 260px; opacity: 0.92; }

/* Leaving an email until subscriptions open */

.early { margin-top: 26px; max-width: 36em; display: grid; gap: 10px; }
.early label { font-weight: 700; font-size: 16px; color: var(--ink); }
.early-row { display: flex; flex-wrap: wrap; gap: 10px; }
.early input[type='email'] { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--ink); font: inherit; }
.early input[type='email']:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.early button, .early input { font-family: inherit; }
.early button { cursor: pointer; }
.early .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.early.on-dark label, .early.on-dark .fine, .early.on-dark .fine a { color: var(--night-ink); }
.early.on-dark input[type='email'] { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: var(--night-ink); }
.early.on-dark input[type='email']::placeholder { color: var(--night-muted); }
.early.on-dark input[type='email']:focus-visible { outline-color: var(--night-ink); }
.page-head .actions { margin-top: 26px; }
.after-features { margin-top: 56px; }
.quote blockquote { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0 0 12px; }
.quote figcaption { color: var(--muted); font-size: 15px; font-weight: 700; }

/* Sections */

.band { padding: 88px 0; }
.band.first { padding: 0 0 72px; }
.band.tint { background: var(--tint); }
.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(38px, 5.5vw, 58px); letter-spacing: -0.03em; margin-bottom: 16px; }
.more { margin-top: 26px; font-weight: 700; }
.note { margin-top: 22px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); color: var(--muted); font-size: 15px; }
.fine { color: var(--muted); font-size: 14px; line-height: 1.5; }
.fine.under { margin-top: 18px; max-width: 58em; }
.terms { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 58em; }
.terms strong { color: var(--ink); }

/* What it does */

.features { display: grid; gap: 40px; margin-top: 48px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; scroll-margin-top: 20px; }
.feature:nth-child(even) .feature-words { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.feature p { color: var(--muted); }
.feature ul { margin-top: 20px; display: grid; gap: 10px; }
.feature li, .ticks li { position: relative; padding-left: 28px; }
.feature li::before, .ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--good); }
.crosses li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.crosses li::before { content: '–'; position: absolute; left: 4px; top: 0; font-weight: 800; color: var(--warn); }
.ticks li { margin-bottom: 12px; }
.shot { display: flex; justify-content: center; align-items: flex-start; height: 500px; overflow: hidden; padding: 40px 24px 0; border-radius: var(--radius); background: var(--tint); }
.shot .phone { width: 300px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28); }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.grid.two-up { grid-template-columns: repeat(2, 1fr); }
.card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.card h2, .card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 16px; }
.card p + p { margin-top: 10px; }
.contact address { color: var(--muted); }
.contact address + p { margin-top: 12px; }
.big { font-weight: 800; font-size: clamp(19px, 2.6vw, 24px); overflow-wrap: anywhere; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--button); color: var(--on-button); font-weight: 800; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Pricing */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.plan.best { border: 2px solid var(--ink); }
.plan h3 { font-size: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan .button { margin-top: auto; }
.plan .fine { margin-bottom: 14px; }
.price { font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price span { font-size: 16px; letter-spacing: 0; color: var(--muted); font-weight: 700; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--good); font-size: 13px; letter-spacing: 0; font-weight: 800; }

/* Questions */

.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* The comparison */

.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-weight: 800; background: var(--tint); }
.compare tbody th { font-weight: 700; width: 22%; }
.compare td { color: var(--muted); }
.compare .us { background: color-mix(in srgb, var(--tint) 60%, transparent); color: var(--ink); font-weight: 700; }

/* Long pages */

.prose p { margin-bottom: 18px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.legal { overflow-wrap: anywhere; }
.toc { padding: 20px 24px; margin: 26px 0 8px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.toc h2 { font-size: 16px; margin: 0 0 10px; letter-spacing: 0; }
.toc ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; font-size: 15px; }
.toc a { color: var(--muted); }
.prose a { font-weight: 700; }

/* The way out */

.closing { background: var(--night); color: var(--night-ink); padding: 84px 0; }
.closing h2 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 14px; }
.closing p { color: var(--night-muted); max-width: 38em; margin-bottom: 26px; font-size: 18px; }

.foot { padding: 56px 0 36px; border-top: 1px solid var(--line); font-size: 15px; }
.foot-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--muted); margin-top: 10px; }
.foot h2 { font-size: 14px; letter-spacing: 0; margin-bottom: 12px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.small-print { margin-top: 36px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Tablets */

@media (max-width: 980px) {
  .nav { display: none; }
  .menu { display: block; }
  .sign-in { display: none; }
  .hero-row { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-words { padding-bottom: 8px; }
  .hero-phones { height: 430px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-phones .front { right: 50%; transform: translateX(62%); width: 270px; bottom: -160px; }
  .hero-phones .behind { right: 50%; transform: translateX(-12%); width: 236px; bottom: -200px; }
  .feature, .two { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .feature-words { order: 0; }
  .features { gap: 64px; }
  .grid.three, .plans { grid-template-columns: repeat(2, 1fr); }
  .foot-row { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* Phones */

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .band { padding: 60px 0; }
  .band.first { padding-bottom: 52px; }
  .page-head { padding: 48px 0 30px; }
  .closing { padding: 60px 0; }
  .grid.three, .grid.two-up, .plans, .steps { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 100%; }
  .toc ul { grid-template-columns: 1fr; }
  .shot { height: 440px; padding: 28px 16px 0; }
  .shot .phone { width: 270px; }
  .foot-row { grid-template-columns: 1fr 1fr; }

  /* The table reads as a stack of rows, each with its own labels. */
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare tbody th { width: 100%; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
  .compare td { padding: 6px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .compare .us { background: none; }
}
