/* High Steaks website: shared styles.
   Values are carried over unchanged from the design mockups (coming-soon and launch).
   Brand: docs/brand-style-guide.md (Lilita One + Nunito, Espresso/Cream/Mustard/Steak Red,
   3px Espresso outlines, hard "sticker" shadows, no gradients).
   Default sizes are the coming-soon page's; body.page-launch carries the launch page's slightly
   larger variants. */

:root {
  --espresso: #3B1F1A;
  --cream: #FFF4E0;
  --mustard: #FFC93C;
  --steak-red: #C8423A;
  --grill-red: #8E2A25;
  --star-gold: #FFB400;
  --fat-cream: #FFE3BD;
  --white: #FFFFFF;
  --font-display: 'Lilita One', sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); }
a { color: var(--espresso); }
a:hover { color: var(--grill-red); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 4px solid var(--star-gold); outline-offset: 3px; }
img { max-width: 100%; }

.hs-root {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  min-height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: 999px;
  background: var(--mustard); color: var(--espresso);
  border: 3px solid var(--espresso); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px;
}
.page-launch .site-header { gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--espresso); text-decoration: none; }
.brand:hover { color: var(--espresso); }
.brand img { display: block; width: 56px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.brand-name { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; text-transform: uppercase; }

.badge-pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border-radius: 999px; background: var(--mustard); color: var(--espresso);
  border: 3px solid var(--espresso);
  font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}

/* Sticker buttons */
.hs-btn {
  display: inline-flex; align-items: center; text-decoration: none;
  border: 3px solid var(--espresso); box-shadow: 4px 4px 0 var(--espresso);
  transition: transform .12s ease, box-shadow .12s ease;
}
.hs-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--espresso); }
.btn-header {
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--mustard); color: var(--espresso); font-weight: 800; font-size: 16px;
}
.btn-header:hover { color: var(--espresso); }
.btn-store {
  gap: 12px; min-height: 60px; padding: 0 26px; border-radius: 16px;
  background: var(--steak-red); color: var(--cream);
}
.btn-store:hover, .btn-pill-red:hover { color: var(--cream); }
.btn-store-text { display: flex; flex-direction: column; line-height: 1.1; }
.btn-store-small { font-size: 13px; font-weight: 600; }
.btn-store-big { font-size: 20px; font-weight: 800; }
.btn-pill-red {
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--steak-red); color: var(--cream); font-weight: 800; font-size: 18px;
}
.btn-pill-mustard {
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--mustard); color: var(--espresso); font-weight: 800; font-size: 16px;
}
.btn-pill-mustard:hover { color: var(--espresso); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 48px; padding-bottom: 64px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
}
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-art { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.page-launch .hero { padding-top: 56px; padding-bottom: 72px; gap: 48px; }
.page-launch .hero-copy { flex-basis: 460px; gap: 24px; }
.page-launch .hero-art { flex-basis: 360px; }

.eyebrow {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 3px solid var(--espresso);
  font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}

.display-h1 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 7vw, 80px); line-height: 1.02; letter-spacing: 2px;
  text-transform: uppercase; text-shadow: 5px 5px 0 var(--mustard); overflow-wrap: break-word;
}
.page-launch .display-h1 { font-size: clamp(48px, 7vw, 84px); line-height: 1; }

.tagline { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 1px; color: var(--steak-red); }
.lede { margin: 0; font-size: 20px; line-height: 1.55; font-weight: 600; max-width: 520px; }
.small-print { margin: 0; font-size: 15px; font-weight: 600; }

.platforms { margin: 0; padding: 4px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.platforms li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--white); border: 3px dashed var(--espresso);
  font-weight: 800; font-size: 15px;
}

.store-buttons { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

/* Mascot: dancing SVG, swapped for the static logo when the visitor prefers reduced motion. */
.hero-img { display: block; width: 100%; height: auto; max-width: 420px; }
.hero-static { display: none; max-width: 360px; }
.page-launch .hero-img { max-width: 460px; }
.page-launch .hero-static { max-width: 400px; }
@media (prefers-reduced-motion: reduce) {
  .hero-anim { display: none; }
  .hero-static { display: block; }
  .hs-btn, .hs-social { transition: none; }
}

/* ---------- Sections ---------- */
.band { background: var(--white); border-top: 4px solid var(--espresso); border-bottom: 4px solid var(--espresso); }
.band-inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.page-launch .band-inner { padding-top: 72px; padding-bottom: 72px; gap: 40px; }

.section-h2 {
  margin: 0; text-align: center; font-family: var(--font-display); font-weight: 400;
  font-size: 40px; letter-spacing: 2px; text-transform: uppercase; text-shadow: 4px 4px 0 var(--mustard);
}
.page-launch .section-h2 { font-size: 44px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.page-launch .card-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }

.card {
  background: var(--cream); border: 3px solid var(--espresso); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--espresso); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 0; font-size: 21px; font-weight: 800; }
.card p { margin: 0; font-size: 17px; line-height: 1.5; }
.page-launch .card { padding: 28px; gap: 12px; }
.page-launch .card h3 { font-size: 22px; }
.page-launch .card p { line-height: 1.55; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 50%; background: var(--mustard);
  border: 3px solid var(--espresso); display: flex; align-items: center; justify-content: center;
}
.page-launch .icon-badge { width: 56px; height: 56px; }

.lang-pill {
  margin: 0; align-self: center; text-align: center; padding: 8px 18px; border-radius: 999px;
  background: var(--cream); border: 3px solid var(--espresso); font-size: 16px; font-weight: 700; line-height: 1.4;
}

/* Coming soon: follow section and disabled waitlist */
.follow {
  padding-top: 56px; padding-bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center;
}
.waitlist {
  width: 100%; max-width: 560px; box-sizing: border-box; background: var(--white);
  border: 3px dashed var(--espresso); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; text-align: left;
}
.waitlist-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.waitlist h2 { margin: 0; font-size: 21px; font-weight: 800; }
.tag-soft {
  padding: 3px 10px; border-radius: 999px; background: var(--fat-cream); border: 2px solid var(--espresso);
  font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.waitlist p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hs-field {
  flex: 1 1 200px; min-width: 0; min-height: 48px; box-sizing: border-box; padding: 0 14px;
  border-radius: 12px; border: 3px solid var(--espresso); background: var(--cream); color: var(--espresso);
  font-family: inherit; font-size: 16px; font-weight: 600; opacity: 0.7;
}
.hs-notify {
  flex: 0 0 auto; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 3px solid var(--espresso);
  background: var(--fat-cream); color: var(--espresso); font-family: inherit; font-size: 16px; font-weight: 800; opacity: 0.7;
}
.hs-field:disabled, .hs-notify:disabled { cursor: not-allowed; }

.follow-block { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.follow-block p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; max-width: 480px; }
.socials { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hs-social {
  width: 56px; height: 56px; border-radius: 50%; background: var(--mustard);
  border: 3px solid var(--espresso); box-shadow: 4px 4px 0 var(--espresso);
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  transition: transform .12s ease, box-shadow .12s ease;
}
.hs-social:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--espresso); }

/* Launch: plans */
.plans { padding-top: 72px; display: flex; flex-direction: column; gap: 32px; }
.plans-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.plans-head p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; max-width: 560px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 860px; width: 100%; margin: 0 auto; }
.page-launch .plan { background: var(--white); padding: 28px; gap: 16px; }
.page-launch .plan-pro { background: var(--mustard); }
.page-launch .card .plan-name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 2px; text-transform: uppercase; }
.page-launch .card .plan-price { margin: 4px 0 0; font-size: 17px; font-weight: 700; }
.plan-pro-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; }
.trial-tag {
  padding: 4px 12px; border-radius: 999px; background: var(--white); border: 3px solid var(--espresso);
  font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.hs-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hs-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; line-height: 1.45; }
.hs-list svg { flex: 0 0 auto; margin-top: 2px; }
.page-launch .card .plan-note {
  margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: var(--cream);
  border: 2px dashed var(--espresso); font-size: 15px; font-weight: 600; line-height: 1.45;
}
.plans-fine { margin: 0 auto; max-width: 640px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.5; }

.cta { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px; text-transform: uppercase; text-shadow: 4px 4px 0 var(--mustard);
}
.cta p { margin: 0; font-size: 19px; font-weight: 600; max-width: 560px; line-height: 1.55; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Document pages (privacy, terms, support, delete account, 404, open in app) ---------- */
.doc-main { padding-top: 40px; padding-bottom: 64px; }
.doc { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.doc-title {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05; letter-spacing: 2px; text-transform: uppercase; text-shadow: 4px 4px 0 var(--mustard);
  overflow-wrap: break-word;
}
.doc-intro { margin: 0; font-size: 19px; line-height: 1.55; font-weight: 600; }
.doc-meta { margin: 0; font-size: 15px; font-weight: 600; }

.draft-banner {
  margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--fat-cream);
  border: 3px dashed var(--espresso); font-size: 16px; line-height: 1.45; font-weight: 600;
}
.draft-banner strong { display: block; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.doc-card {
  background: var(--white); border: 3px solid var(--espresso); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--espresso); padding: 32px;
  font-size: 17px; line-height: 1.6; overflow-wrap: break-word;
}
.doc-card > :first-child { margin-top: 0; }
.doc-card > :last-child { margin-bottom: 0; }
.doc-card h2 {
  margin: 36px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 26px;
  line-height: 1.15; letter-spacing: 1px; text-transform: uppercase;
}
.doc-card h3 { margin: 24px 0 8px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.doc-card p { margin: 0 0 14px; }
.doc-card ul, .doc-card ol { margin: 0 0 14px; padding-left: 24px; }
.doc-card li { margin-bottom: 8px; }
.doc-card strong { font-weight: 800; }
.doc-card a { font-weight: 700; }
.todo { background: var(--fat-cream); border: 2px dashed var(--espresso); border-radius: 6px; padding: 0 6px; font-weight: 700; }

.toc { margin: 0; padding: 20px 24px; background: var(--cream); border: 3px solid var(--espresso); border-radius: 16px; }
.toc h2 { margin: 0 0 8px; font-family: var(--font-body); font-size: 17px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 22px; columns: 2 240px; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }

/* FAQ (support page): native <details>, works without JS */
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq details {
  background: var(--white); border: 3px solid var(--espresso); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--espresso); padding: 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-size: 19px; font-weight: 800; line-height: 1.35; min-height: 44px; box-sizing: border-box;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--espresso);
  font-size: 20px; line-height: 24px; text-align: center; font-weight: 800;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 22px 20px; font-size: 17px; line-height: 1.6; }
.faq .faq-body p { margin: 0 0 12px; }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq .faq-body ul, .faq .faq-body ol { margin: 0 0 12px; padding-left: 24px; }

.contact-card {
  background: var(--mustard); border: 3px solid var(--espresso); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--espresso); padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.contact-card h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 2px; text-transform: uppercase; }
.contact-card p { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 600; }
.contact-card a.email { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }

.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; min-height: 36px; margin-bottom: 14px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mustard); border: 3px solid var(--espresso); box-sizing: border-box;
  font-weight: 800; font-size: 16px; line-height: 28px; text-align: center;
}

/* Centred message pages (404, open in app) */
.message {
  padding-top: 48px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px;
}
.message-copy { flex: 1 1 400px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.message-art { flex: 0 1 300px; min-width: 0; display: flex; justify-content: center; }
.message-art .hero-img { max-width: 300px; }
.message-art .hero-static { max-width: 260px; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--cream); }
.site-footer .wrap {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 15px; font-weight: 600;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer a, .site-footer a:hover { color: var(--cream); }
.footer-nav a { display: inline-block; padding: 6px 0; }

/* ---------- Phones ---------- */
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-img { max-width: 300px; }
  .hero-static { max-width: 260px; }
  .page-launch .hero-img { max-width: 300px; }
  .page-launch .hero-static { max-width: 260px; }
  .card, .waitlist { padding: 20px; }
  .page-launch .card, .page-launch .plan { padding: 22px; }
  .section-h2 { font-size: 32px; }
  .page-launch .section-h2 { font-size: 34px; }
  .doc-main { padding-top: 28px; padding-bottom: 48px; }
  .doc-card { padding: 20px; font-size: 16px; }
  .doc-card h2 { font-size: 22px; margin-top: 28px; }
  .contact-card { padding: 20px; }
  .contact-card h2 { font-size: 26px; }
  .faq summary { font-size: 17px; padding: 16px 48px 16px 18px; }
  .faq .faq-body { padding: 0 18px 18px; font-size: 16px; }
  .toc { padding: 16px 18px; }
}
