/* GyorsKeto — sales page styles. Mobile-first; one primary button colour. */
:root {
  --green: #1e5a3a;
  --green-deep: #143f29;
  --green-soft: #e3efe6;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #1d2420;
  --muted: #5b675f;
  --line: #e2dccd;
  --gold: #e6a817;
  --cta: #d9532b;
  --cta-deep: #b83f1c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 63, 41, 0.12);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* grid/flex children may not grow past the viewport because of a wide image inside */
.wrap > *, .split > *, .bonus > *, .guarantee > *, .card > *, .theme > *, .sample > * { min-width: 0; }
.split > img, .bonus > img { width: 100%; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 44rem); margin-inline: auto; }
section { padding: 3.5rem 0; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--green); margin-bottom: .75rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 234, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--green-deep); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--cta); }
.top nav { display: none; gap: 1.5rem; font-weight: 700; font-size: .95rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top .btn { padding: .55rem 1rem; font-size: .95rem; }
@media (min-width: 840px) { .top nav { display: flex; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--cta); color: #fff; border: 0; border-radius: 999px;
  padding: 1rem 1.75rem; font: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(217, 83, 43, .3);
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--cta-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: wait; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--green-deep); box-shadow: none; border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); }
.tiny { font-size: .85rem; color: var(--muted); margin-top: .75rem; }

/* hero */
.hero { background: var(--green); color: #fff; padding: 2.5rem 0 3rem; overflow: hidden; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #e9f2ec; max-width: 34rem; }
.hero .eyebrow { color: var(--gold); }
.hero .checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.hero .checks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 700; }
.hero .checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.hero .art { order: -1; }
.hero .art img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.hero .tiny { color: #cfe0d5; }
@media (min-width: 840px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .hero .art { order: 0; }
}

/* number grid */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .4rem; font-weight: 700; font-size: .95rem; }

.chapters { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2rem; }
@media (min-width: 720px) { .chapters { grid-template-columns: repeat(4, 1fr); } }
.chapter { background: var(--green-soft); border-radius: 12px; padding: 1rem; display: flex; gap: .75rem; align-items: center; }
.chapter b { font-family: var(--font-display); font-size: 1.6rem; color: var(--green); font-variant-numeric: tabular-nums; }
.chapter span { font-weight: 700; font-size: .95rem; line-height: 1.25; }

/* difference / why block */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 840px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.list li { display: flex; gap: .7rem; align-items: flex-start; }
.list svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--green); }

/* samples */
.samples { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .samples { grid-template-columns: repeat(3, 1fr); } }
.sample { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sample img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.sample p { padding: .9rem 1rem; margin: 0; font-weight: 700; font-size: .95rem; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; margin-top: .75rem; }
summary { cursor: pointer; font-weight: 800; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--green); }
details[open] summary::after { content: "–"; }
details .body { padding: 0 0 1.1rem; }
.recipe { display: grid; gap: 1rem; }
@media (min-width: 640px) { .recipe { grid-template-columns: 1.1fr 1fr; } }
.recipe h4 { margin: .5rem 0 .3rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.recipe ul, .recipe ol { margin: 0; padding-left: 1.2rem; }
.macros { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.macros span { background: var(--green-soft); border-radius: 999px; padding: .25rem .7rem; font-size: .85rem; font-weight: 700; }
.menu-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.menu-table th, .menu-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.menu-table th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.table-wrap { overflow-x: auto; }
/* phones: each day becomes a small card instead of a 4-column table */
@media (max-width: 639px) {
  .menu-table thead { display: none; }
  .menu-table tr { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .9rem; margin-top: .6rem; }
  .menu-table td { display: block; border: 0; padding: .15rem 0; }
  .menu-table td.day { font-family: var(--font-display); font-size: 1.15rem; color: var(--green); }
  .menu-table td[data-l]::before { content: attr(data-l) ": "; font-weight: 800; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
}

/* digital / bonus / guarantee */
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--cream); border-radius: var(--radius); padding: 1.4rem; display: flex; gap: 1rem; }
.card svg { flex: none; width: 34px; height: 34px; color: var(--green); }
.card b { display: block; margin-bottom: .25rem; }
.bonus { background: var(--green-deep); color: #fff; border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 840px) { .bonus { grid-template-columns: 1fr 1fr; } }
.bonus h2 { color: #fff; }
.bonus .eyebrow { color: var(--gold); }
.bonus img { border-radius: 12px; }
.guarantee { display: grid; gap: 1.5rem; align-items: center; background: var(--paper); border: 2px solid var(--green); border-radius: var(--radius); padding: 2rem; }
@media (min-width: 720px) { .guarantee { grid-template-columns: auto 1fr; } }
.seal { width: 120px; height: 120px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; line-height: 1.05; padding: .5rem; margin-inline: auto; }
.seal b { font-size: 1.9rem; display: block; }
.seal small { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-body); }

/* price */
.price-box { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.price-box .amount { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 4.5rem); color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.price-box .amount small { font-size: .35em; vertical-align: super; }
.price-box .per { font-weight: 800; color: var(--cta); margin: .5rem 0 1.5rem; }
.price-box .includes { text-align: left; margin: 0 auto 1.5rem; max-width: 26rem; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--muted); font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: .4rem; }
.trust svg { width: 18px; height: 18px; }

/* faq */
.faq details { margin-top: .6rem; }

/* footer */
footer { padding: 2.5rem 0 7rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 1rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
footer a { color: var(--muted); }
@media (min-width: 840px) { footer { padding-bottom: 2.5rem; } }

/* sticky mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--line); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
.buybar b { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); }
.buybar small { display: block; font-size: .75rem; color: var(--muted); font-family: var(--font-body); font-weight: 700; }
.buybar .btn { padding: .8rem 1.25rem; font-size: 1rem; }
@media (min-width: 840px) { .buybar { display: none; } }

/* legal / plain pages */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page h2 { font-size: 1.3rem; margin-top: 2rem; }
.page .box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.thanks { text-align: center; padding: 3rem 0 5rem; }
.thanks .box { text-align: left; margin-top: 2rem; }
.thanks .amount { font-family: var(--font-display); font-size: 1.4rem; color: var(--green); }
.notice { background: #fff6e0; border: 1px solid #f0d58a; border-radius: 12px; padding: 1rem 1.2rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
