/* Kitchen Compass — Everpeak Digital LLC */

@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --paper: #f6f3fb;
  --ink: #1f1233;
  --muted: #5c5170;
  --aubergine: #2b1745;
  --lemon: #ffe15a;
  --mint: #c6f1d9;
  --peach: #ffd3be;
  --lilac: #e4dafb;
  --white: #ffffff;
  --line: rgba(31, 18, 51, 0.1);

  --r-xl: 48px;
  --r-lg: 32px;
  --r-md: 22px;

  --display: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --body: "Figtree Variable", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--aubergine);
  outline-offset: 3px;
  border-radius: 12px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--aubergine);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.02;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-dark {
  background: var(--aubergine);
  color: #fff;
}
.btn-dark:hover {
  background: #3d2260;
}
.btn-lilac {
  background: var(--lilac);
  color: var(--aubergine);
}
.btn-lilac:hover {
  background: #d6c8f8;
}
.btn-lemon {
  background: var(--lemon);
  color: var(--aubergine);
}
.btn-lemon:hover {
  background: #ffd835;
}
.btn-xl {
  font-size: 1.2rem;
  padding: 20px 36px;
  width: 100%;
}
.btn-sm {
  padding: 11px 22px;
  font-size: 0.98rem;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding-top: 14px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.nav-links a:hover {
  background: var(--lilac);
}

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

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 96px;
}
.hero-copy p.lead {
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
  margin: 26px 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin: 22px 0 0;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 44ch;
}

.plate-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
}
.plate-wrap > svg {
  width: 100%;
  height: 100%;
}
.needle {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: rotate(180deg);
  animation: swing 1.9s cubic-bezier(0.2, 1.25, 0.35, 1) 0.25s both;
}
@keyframes swing {
  from {
    transform: rotate(-130deg);
  }
  to {
    transform: rotate(180deg);
  }
}
.chip {
  position: absolute;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(43, 23, 69, 0.55);
}
.chip-1 {
  left: -2%;
  top: 14%;
  background: var(--lemon);
  transform: rotate(-6deg);
}
.chip-2 {
  right: -3%;
  top: 22%;
  background: var(--peach);
  transform: rotate(5deg);
}
.chip-3 {
  left: 6%;
  bottom: -6%;
  background: var(--aubergine);
  color: #fff;
  transform: rotate(-3deg);
}

/* ---------- Sections ---------- */

.section {
  padding: 40px 0 88px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 16px 0 0;
}

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.tile {
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tile h3 {
  font-size: 1.55rem;
}
.tile p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}
.tile .ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  flex: none;
}
.tile .ico svg {
  width: 26px;
  height: 26px;
}
.t-video {
  grid-column: span 4;
  background: var(--aubergine);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  min-height: 300px;
  justify-content: space-between;
}
.t-video h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  max-width: 14ch;
}
.t-video p {
  color: #e8def9;
  max-width: 46ch;
  font-size: 1.1rem;
}
.t-video .ico {
  background: var(--lemon);
  width: 64px;
  height: 64px;
}
.t-video .ico svg {
  width: 28px;
  height: 28px;
}
.t-fresh {
  grid-column: span 2;
  background: var(--lemon);
}
.t-recipes {
  grid-column: span 2;
  background: var(--mint);
}
.t-print {
  grid-column: span 2;
  background: var(--peach);
}
.t-any {
  grid-column: span 2;
  background: var(--lilac);
}

/* Steps */

.steps {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 56px;
}
.steps ol {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 76px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-weight: 700;
  font-size: 1.5rem;
}
.steps li:nth-child(2)::before {
  background: var(--lemon);
}
.steps li:nth-child(3)::before {
  background: var(--peach);
}
.steps li h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.steps li p {
  margin: 0;
  color: var(--muted);
}

/* For whom */

.forwho {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.forwho span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
}

/* Price */

.price-block {
  background: var(--aubergine);
  color: #fff;
  border-radius: 56px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.price-block h2 {
  max-width: 13ch;
}
.price-block .sub {
  color: #e8def9;
  margin: 18px 0 28px;
  max-width: 40ch;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checks li svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.price-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: left;
}
.price-card .amount {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.price-card .once {
  color: var(--muted);
  margin: 10px 0 26px;
}
.price-card .fine {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 18px 0 0;
}
.price-card .fine a {
  font-weight: 600;
}

/* Notice */

.notice {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}
.notice svg {
  flex: none;
  width: 34px;
  height: 34px;
  margin-top: 2px;
}
.notice h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 0 28px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lilac)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1745' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  padding-bottom: 24px;
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 24px 0 40px;
}
.footer-card {
  background: var(--lilac);
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-card h4 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}
.footer-card p,
.footer-card address {
  margin: 0 0 8px;
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.55;
}
.footer-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-card a {
  text-underline-offset: 3px;
}
.footer-card .brand {
  margin-bottom: 14px;
}
.copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.93rem;
  margin: 24px 0 0;
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  background: var(--aubergine);
  color: #fff;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Policy pages ---------- */

.doc-head {
  padding: 56px 0 28px;
}
.doc-head h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}
.doc-head .updated {
  color: var(--muted);
  margin: 14px 0 0;
}
.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}
.doc-tabs a {
  text-decoration: none;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: background-color 0.15s ease;
}
.doc-tabs a:hover {
  background: var(--lilac);
}
.doc-tabs a[aria-current="page"] {
  background: var(--aubergine);
  color: #fff;
  border-color: var(--aubergine);
}
.doc {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 56px;
  margin: 12px 0 72px;
  max-width: 860px;
}
.doc .intro {
  font-size: 1.15rem;
  color: var(--muted);
}
.doc h2 {
  font-size: 1.65rem;
  margin: 44px 0 14px;
  line-height: 1.2;
}
.doc h2:first-of-type {
  margin-top: 28px;
}
.doc p,
.doc li {
  line-height: 1.7;
}
.doc ul {
  padding-left: 1.25em;
  margin: 0 0 1em;
}
.doc li {
  margin-bottom: 6px;
}
.doc a {
  font-weight: 600;
  text-underline-offset: 3px;
}
.doc .contact-box {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin-top: 8px;
}
.doc .contact-box p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 72px;
    gap: 56px;
  }
  .plate-wrap {
    margin: 0 auto;
    max-width: 440px;
  }
  .hero-copy p.lead {
    max-width: 46ch;
  }
  .t-video,
  .t-fresh,
  .t-recipes,
  .t-print,
  .t-any {
    grid-column: span 6;
  }
  .t-fresh,
  .t-recipes,
  .t-print,
  .t-any {
    grid-column: span 3;
  }
  .t-any {
    grid-column: span 6;
  }
  .steps {
    padding: 40px 28px;
  }
  .steps ol {
    grid-template-columns: 1fr;
  }
  .price-block {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    border-radius: 40px;
  }
  .footer-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .doc {
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .wrap {
    padding: 0 16px;
  }
  .nav-links li:not(:last-child) {
    display: none;
  }
  .nav {
    padding-left: 18px;
  }
  .t-fresh,
  .t-recipes,
  .t-print,
  .t-any {
    grid-column: span 6;
  }
  .t-video {
    padding: 30px 26px;
    min-height: 0;
    gap: 28px;
  }
  .tile {
    padding: 26px;
  }
  .price-card {
    padding: 28px 24px;
  }
  .price-card .amount {
    font-size: 3.6rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .chip {
    font-size: 0.86rem;
    padding: 9px 15px;
  }
  .notice {
    flex-direction: column;
    padding: 24px;
  }
  .faq details {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .needle {
    animation: none;
  }
  .btn,
  .toast,
  .faq summary::after {
    transition: none;
  }
}

/* ---------- Language switch ---------- */

.nav-links {
  margin-left: auto;
}
.lang {
  display: flex;
  gap: 2px;
  background: var(--paper);
  border-radius: 999px;
  padding: 4px;
  flex: none;
}
.lang a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.lang a:hover {
  color: var(--aubergine);
}
.lang a[aria-current] {
  background: var(--aubergine);
  color: #fff;
}

/* ---------- Plans ---------- */

.plans-block {
  background: var(--aubergine);
  color: #fff;
  border-radius: 56px;
  padding: 64px 48px 48px;
}
.plans-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.plans-head .sub {
  color: #e8def9;
  margin: 18px auto 0;
  max-width: 56ch;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 30px 24px 24px;
}
.plan.best {
  box-shadow: 0 0 0 4px var(--lemon);
}
.plan .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--lemon);
  color: var(--aubergine);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan .tier {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b4fa0;
}
.plan h3 {
  font-size: 1.25rem;
  margin: 8px 0 8px;
}
.plan .desc {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
}
.plan-price {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 22px 0 6px;
}
.plan-once {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.plan ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  align-content: start;
  font-size: 0.93rem;
  flex: 1;
}
.plan li {
  position: relative;
  padding-left: 24px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.4l3.5 3.5 7-7.4' fill='none' stroke='%232B1745' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan li.all {
  padding-left: 0;
  font-weight: 700;
}
.plan li.all::before {
  display: none;
}
.plan .btn {
  width: 100%;
  padding: 15px 14px;
  font-size: 0.98rem;
  text-align: center;
}
.plans-trust {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-weight: 600;
}
.plans-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plans-trust svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.plans-fine {
  text-align: center;
  color: #e8def9;
  font-size: 0.93rem;
  margin: 18px 0 0;
}
.plans-fine a {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
}
@media (max-width: 640px) {
  .plans-block {
    padding: 40px 16px 32px;
    border-radius: 36px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav {
    padding: 8px 8px 8px 18px;
  }
}
.brand {
  white-space: nowrap;
}
@media (max-width: 400px) {
  .lang a {
    padding: 6px 8px;
  }
}
