/* orsino.app. Colours, type, radii and spacing come from the Orsino design system (ios/Spotter/Theme.swift has the same
   tokens in camelCase). Archivo is the brand face, for the wordmark and headlines only; everything else is the system font. */

@font-face {
  /* Archivo at width 112, weights 600 to 800, Latin and Turkish letters only (made from ios/Spotter/Fonts/Archivo.ttf). */
  font-family: "Archivo 112";
  src: url("/fonts/archivo-112.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page: #f6f7f4;
  --card: #ffffff;
  --sheet-inner: #f2f4ee;
  --border: #e0e3da;
  --outline: #d5d9cf;
  --ink: #161a14;
  --muted: #5c6359;
  --on-ink: #ffffff;
  --brand: #245239;
  --accent: #245239;
  --on-accent: #ffffff;
  --hero: #173222;
  --on-hero: #ffffff;
  --on-hero-muted: rgba(255, 255, 255, 0.72);
  --honey: #eaaa40;
  --on-honey: #1f1608;
  --honey-text: #83560c;
  --honey-fill: #fdf3de;
  --honey-border: #efd398;
  --progress: #3c8a5f;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --phone-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);

  --font-brand: "Archivo 112", "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-rounded: ui-rounded, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000;
    --card: #1c1c1e;
    --sheet-inner: #2c2c2e;
    --border: #38383a;
    --outline: #48484a;
    --ink: #f4f5f2;
    --muted: #9ea39b;
    --on-ink: #161a14;
    --brand: #357a55;
    --accent: #86d0a3;
    --on-accent: #0d1f15;
    --hero: #13261b;
    --honey: #f0b653;
    --honey-text: #f3c36e;
    --honey-fill: #2a2011;
    --honey-border: #584218;
    --progress: #5fb884;
    --shadow-card: none;
  }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.5 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

/* Anything you tap is a pill at least 44 px tall. */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9999px;
  border: 1px solid var(--outline);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pill.primary { background: var(--ink); color: var(--on-ink); border-color: transparent; }
a.pill:hover { opacity: 0.85; }
a.pill:active { opacity: 0.7; }

/* Header */

.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand .wordmark { font-size: 30px; padding-bottom: 3px; }
.lang { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 4px; }

/* Hero */

.hero { padding: 24px 0 72px; }
.hero-copy { max-width: 640px; container-type: inline-size; }
/* One phrase per line, sized to the column: "in your words." is 7.2 em wide, "senin sözlerinle." 8.3 em. */
.hero h1 {
  margin: 14px 0 22px;
  font-family: var(--font-brand);
  font-weight: 750;
  font-size: clamp(36px, 7vw, 76px);
  font-size: clamp(36px, 12.6cqi, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero h1:lang(tr) { font-size: clamp(32px, 6.2vw, 68px); font-size: clamp(32px, 11.2cqi, 68px); }
.hero h1 span { display: block; }
.lead { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.soon { font-size: 15px; font-weight: 600; color: var(--ink); }
.fine { margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--muted); }

/* Four screenshots of the app on a spruce panel, in the order you'd use it. Below 960 px they scroll sideways inside
   the panel, one phone at a time; from 960 px they sit side by side. */
.shots { margin-top: 48px; border-radius: 32px; background: var(--hero); color: var(--on-hero); overflow: hidden; }
.shots ol {
  display: flex;
  gap: 20px;
  padding: 32px 24px 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 24px;
  scrollbar-width: none;
}
.shots ol::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(232px, 72%); scroll-snap-align: start; }
.shot h3 { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 17px; line-height: 22px; font-weight: 600; }
.shot p { margin-top: 6px; padding-left: 34px; font-size: 15px; line-height: 1.45; color: var(--on-hero-muted); }
.step {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--on-honey);
  font: 700 13px var(--font-rounded);
}

/* The phone around a screenshot (iPhone, 390 × 844 pt): a thin black bezel and the Dynamic Island. Corner radii are
   in percent of the width and height, so the phone keeps its shape at every size. */
.phone {
  position: relative;
  padding: 3.5%;
  border-radius: 15.5% / 7.2%;
  background: #0b0d0a;
  box-shadow: inset 0 0 0 1.5px #343832, var(--phone-shadow);
}
.phone::before {
  content: "";
  position: absolute;
  top: 3.1%;
  left: 34%;
  width: 32%;
  height: 4%;
  border-radius: 999px;
  background: #000;
}
.phone img { width: 100%; height: auto; border-radius: 12.5% / 5.8%; }

@media (min-width: 960px) {
  .hero { padding: 40px 0 112px; }
  .shots { margin-top: 64px; }
  .shots ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 48px 40px 52px; overflow: visible; }
}

/* Pieces of the app's cards, drawn for the feature cards. */

.card {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.brief-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.label.small { font-size: 11px; line-height: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}
.chip.honey { background: var(--honey); color: var(--on-honey); }
.chip.record { background: var(--honey-fill); color: var(--honey-text); box-shadow: inset 0 0 0 1px var(--honey-border); }
.chip svg { width: 9px; height: 9px; }

/* The bear blinks every few seconds, like the app's avatar. */
.bear .eyes { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .bear .eyes { animation: blink 5.5s infinite; }
  .bear.later .eyes { animation-delay: 2.2s; }
}
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(0.1); } }

/* Features */

.section { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
h2 {
  font-family: var(--font-brand);
  font-weight: 750;
  font-size: clamp(32px, 5.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-head p { margin-top: 14px; font-size: 19px; color: var(--muted); }

.features { display: grid; gap: 16px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .section { padding: 112px 0; } }

.feature {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 16px 16px 26px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  box-shadow: var(--shadow-card);
}
.feature-copy { padding: 0 8px; }
.feature h3 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; color: var(--muted); }

.vignette {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 272px;
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--sheet-inner);
  font-size: 15px;
  line-height: 1.38;
}
.vignette .card { padding: 13px 14px; }
/* A real screenshot instead of a drawn card. */
.vignette.shot-crop { padding: 14px; }
.shot-crop img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--border); }
@media (prefers-color-scheme: dark) { .vignette { background: #111113; } }

.mini-title { font-weight: 600; margin-top: 2px; }

.sessions { margin-top: 8px; }
.sessions li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 14px; }
.sessions li:first-child { border-top: 0; }
.sessions .n { width: 18px; font: 700 13px var(--font-rounded); color: var(--muted); }
.sessions .name { flex: 1; font-weight: 600; }
.sessions .min { font-size: 12.5px; color: var(--muted); }

.sets { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13.5px; text-align: center; }
.sets th { padding: 0 0 4px; font-size: 10.5px; line-height: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sets td { padding: 5px 0; font: 600 14px var(--font-rounded); font-variant-numeric: tabular-nums; }
.sets td.prev { font: 13px var(--font-text); color: var(--muted); }
.sets td.ghost { color: var(--muted); opacity: 0.6; }
.sets tr.done td:not(.prev) { color: var(--ink); }
.sets .tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--sheet-inner); vertical-align: middle; }
.sets tr.done .tick { background: var(--accent); color: var(--on-accent); }
.sets .tick svg { width: 11px; height: 11px; }
.sets .trophy { color: var(--honey-text); }
.sets .trophy svg { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; }
.rest { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.rest strong { font: 700 15px var(--font-rounded); color: var(--ink); font-variant-numeric: tabular-nums; }
.rest .bar { flex: 1; height: 5px; border-radius: 3px; background: var(--sheet-inner); overflow: hidden; }
.rest .bar i { display: block; width: 62%; height: 100%; border-radius: 3px; background: var(--progress); }

/* Privacy */

.privacy { width: calc(100% - 2 * var(--gutter)); max-width: 1096px; margin: 0 auto; border-radius: 32px; background: var(--hero); color: var(--on-hero); }
.privacy .inner { padding: 56px 24px; display: grid; gap: 36px; }
.privacy .label { color: var(--on-hero-muted); }
.privacy h2 { margin-top: 12px; }
.privacy ul { display: grid; gap: 0; }
.privacy li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 17px; color: var(--on-hero-muted); }
.privacy li strong { display: block; color: var(--on-hero); font-weight: 600; }
.privacy a { color: var(--on-hero); font-weight: 600; }
.privacy a:focus-visible { outline-color: var(--on-hero); }
.privacy .more { margin-top: 22px; }
@media (min-width: 960px) {
  .privacy .inner { grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 64px; }
}

/* Closing */

.closing { text-align: center; }
.closing .bear { width: 112px; height: 112px; margin: 0 auto 28px; }
.closing p { margin: 16px auto 0; max-width: 30em; font-size: 19px; color: var(--muted); }
.closing .cta { justify-content: center; }

/* Footer */

.foot { padding: 28px 0 40px; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot .wordmark { font-size: 24px; color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.foot a:hover { color: var(--ink); }

/* Not found */

.missing { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.missing .bear { width: 96px; height: 96px; margin: 0 auto 24px; }
.missing p { margin: 12px 0 28px; color: var(--muted); }
