/* Tasti'Go — site vitrine */

:root {
  --bg: #f3f2f2;
  --bg-alt: #eae9e9;
  --ink: #201e1d;
  --ink-soft: #444141;
  --muted: #605d5d;
  --muted-2: #7d7979;
  --muted-3: #9b9797;
  --line: #201e1d;
  --line-soft: rgba(32, 30, 29, 0.4);
  --brand: #ec3013;
  --brand-dark: #ae1800;
  --brand-light: #ffe0d9;
  --accent: #ff9783;
  --cream: #bab6b6;
  --dim: #d7d3d3;
  --container: 1200px;
  --container-narrow: 860px;
  --gutter: 48px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 18px;
  background: var(--brand);
  color: var(--bg);
  border: 2px solid var(--brand);
  line-height: 1.2;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--bg); }

.btn-lg { font-size: 17px; padding: 18px 24px; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--brand-light); color: var(--ink); }

.btn-invert { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-invert:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--ink); }

.btn-outline-invert {
  background: transparent;
  border: 2px solid rgba(243, 242, 242, 0.8);
  color: var(--bg);
}
.btn-outline-invert:hover { background: rgba(243, 242, 242, 0.14); color: var(--bg); }

/* ---------- Header / nav ---------- */

.site-header {
  border-bottom: 2px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
}

.site-header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo img { height: 46px; width: auto; }

.main-nav {
  flex: 1;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-end;
}

.nav-link { font-size: 15px; font-weight: 600; color: var(--ink); }

.nav-toggle-input { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle-label span { display: block; width: 100%; height: 2px; background: var(--ink); }

@media (max-width: 860px) {
  .site-header .container { gap: 16px; }
  .nav-toggle-label { display: flex; }
  .main-nav {
    position: fixed;
    inset: 82px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 16px var(--gutter) 32px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    overflow-y: auto;
  }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line-soft); width: 100%; }
  .main-nav .btn { margin-top: 16px; }
  .nav-toggle-input:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle-label span { transition: transform 0.15s ease, opacity 0.15s ease; }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(56px, 9vw, 104px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: end;
}

.hero-copy { display: flex; flex-direction: column; gap: 32px; }

.hero h1 {
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 21ch;
}

.hero-lede { font-size: clamp(17px, 2vw, 21px); line-height: 1.6; max-width: 54ch; color: var(--ink-soft); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-note { font-size: 15px; color: var(--muted); }

.hero-card {
  border: 2px solid var(--line);
  background: var(--ink);
  color: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-card .big-number {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-card .caption { font-size: 15px; color: var(--cream); }

.hero-card .rule { height: 2px; background: var(--ink-soft); }

.hero-card .ranking { display: flex; flex-direction: column; gap: 14px; }

.rank-row {
  display: grid;
  grid-template-columns: 22px 1fr 42px;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.rank-row .rank { font-weight: 800; color: var(--accent); }
.rank-row .name { font-weight: 700; }
.rank-row .score { text-align: right; font-weight: 700; }
.rank-row.is-muted { color: var(--dim); }
.rank-row.is-muted .rank { color: var(--muted-3); font-weight: 800; }
.rank-row.is-muted .name { font-weight: 600; }

.hero-card .footnote { font-size: 14px; line-height: 1.5; color: var(--cream); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-card { max-width: 420px; }
}

/* ---------- Stats bar ---------- */

.stats {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 40px 32px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat .figure {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.stat .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 2px solid var(--line); padding: 28px 20px; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat:nth-child(-n+2) { padding-top: 0; }
}

/* ---------- Section headings ---------- */

.section {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }

.section h2 {
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

/* ---------- How it works (steps) ---------- */

.steps { border-top: 2px solid var(--line); }

.step {
  display: grid;
  grid-template-columns: 90px minmax(0, 380px) minmax(0, 1fr);
  gap: 24px 48px;
  padding: 40px 0;
  border-bottom: 2px solid var(--line);
  align-items: start;
}

.step .step-index {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step .step-index .dot { width: 10px; height: 10px; background: var(--brand); flex: none; }

.step .step-title { font-size: 28px; font-weight: 800; line-height: 1.15; }
.step .step-body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Two-column feature sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.split.align-start { align-items: start; }
.split.align-center { align-items: center; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.feature-list { display: flex; flex-direction: column; border-top: 2px solid var(--line); }

.feature-item {
  padding: 26px 0;
  border-bottom: 2px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-item:last-child { border-bottom: none; }

.feature-item h3 { font-size: 21px; font-weight: 800; }
.feature-item p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid var(--line);
  padding-top: 24px;
}
.bullet-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 17px;
  list-style: none;
}
.bullet-list .dot { width: 10px; height: 10px; background: var(--brand); flex: none; }

/* ---------- Podium preview card ---------- */

.podium-wrap { display: flex; justify-content: center; }

.podium-card {
  width: 100%;
  max-width: 340px;
  border: 2px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.podium-head {
  background: var(--brand);
  color: var(--bg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.podium-head .kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.podium-head .title { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -0.01em; }

.podium-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.podium-row {
  border: 2px solid var(--line);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.podium-row.is-first { background: var(--ink); color: var(--bg); padding: 16px; }
.podium-row .rank { font-size: 26px; font-weight: 800; line-height: 1; color: var(--brand); }
.podium-row.is-first .rank { font-size: 32px; color: var(--accent); }
.podium-row .name { flex: 1; font-size: 16px; font-weight: 800; }
.podium-row.is-first .name-wrap { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.podium-row.is-first .name-wrap .name { font-size: 18px; }
.podium-row.is-first .sub { font-size: 12px; color: var(--cream); }
.podium-row .score { font-size: 18px; font-weight: 800; }
.podium-row.is-first .score { font-size: 20px; }

.podium-cta {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px;
  background: var(--brand);
  color: var(--bg);
  margin-top: 4px;
  text-align: center;
}

/* ---------- Pricing ---------- */

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pricing-head .lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 34ch; }

.pricing-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--line);
}

.price-card {
  padding: 32px 28px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card:first-child { border-left: none; }
.price-card .tier { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.price-card .price { font-size: 46px; font-weight: 800; line-height: 1; }
.price-card .limit { font-size: 17px; font-weight: 600; }
.price-card .blurb { font-size: 15px; line-height: 1.55; color: var(--muted); }

.price-card.is-featured { background: var(--brand); color: var(--bg); }
.price-card.is-featured .tier { color: var(--bg); }
.price-card.is-featured .blurb { color: rgba(243, 242, 242, 0.9); }

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  padding-top: 32px;
}
.pricing-notes span { font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .pricing-table { grid-template-columns: repeat(2, 1fr); }
  .price-card:nth-child(odd) { border-left: none; }
  .price-card:nth-child(even) { border-left: 2px solid var(--line); }
  .price-card:nth-child(1), .price-card:nth-child(2) { border-bottom: 2px solid var(--line); }
  .pricing-notes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pricing-table { grid-template-columns: 1fr; }
  .price-card { border-left: none !important; border-top: 2px solid var(--line); }
  .price-card:first-child { border-top: none; }
}

/* ---------- Closing CTA ---------- */

.cta-band { background: var(--brand); color: var(--bg); }
.cta-band .container { padding: clamp(56px, 9vw, 104px) var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.cta-band h2 {
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 26ch;
}
.cta-band .rule { height: 4px; background: rgba(243, 242, 242, 0.7); max-width: 900px; }
.cta-band .lede { font-size: 21px; line-height: 1.55; max-width: 52ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--bg); }

.footer-grid {
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: 320px repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .name { font-size: 24px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--cream); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.footer-col a { font-size: 15px; color: var(--bg); }

.footer-bottom { border-top: 2px solid var(--ink-soft); }
.footer-bottom .container {
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--muted-3);
  flex-wrap: wrap;
}
.footer-bottom .langs { display: flex; gap: 20px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Simple / legal pages ---------- */

.page-main {
  flex: 1;
  padding: clamp(48px, 8vw, 88px) 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-head { display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.page-head .meta { font-size: 15px; color: var(--muted); }

.page-rule { height: 2px; background: var(--line); }

.legal-body { display: flex; flex-direction: column; gap: 32px; font-size: 17px; line-height: 1.65; color: #2f2c2c; }
.legal-body h2 { font-size: 24px; font-weight: 800; }
.legal-body section { display: flex; flex-direction: column; gap: 10px; }

.definition-list { display: flex; flex-direction: column; border-top: 2px solid var(--line); }
.definition-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 12px 40px;
  padding: 28px 0;
  border-bottom: 2px solid var(--line-soft);
}
.definition-row:last-child { border-bottom: none; }
.definition-row dt { font-size: 20px; font-weight: 800; }
.definition-row dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 640px) {
  .definition-row { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 2px solid var(--line);
  padding-top: 24px;
}
.contact-details .item { display: flex; flex-direction: column; gap: 4px; }
.contact-details .label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.contact-details .value { font-size: 19px; font-weight: 700; }
.contact-details .value.plain { font-size: 17px; font-weight: 600; }

.contact-form {
  border: 2px solid var(--line);
  background: var(--bg-alt);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 480px) { .contact-form { padding: 24px; } }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field span { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.form-field textarea { line-height: 1.5; min-height: 110px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-2); }

.form-submit {
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px;
  background: var(--brand);
  color: var(--bg);
  border: 2px solid var(--brand);
  text-align: left;
  cursor: pointer;
}
.form-submit:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
