/* Bump&Beyond website. Colours and type from the Bump&Beyond Design System. */

@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(/fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(/fonts/nunito-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url(/fonts/nunito-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url(/fonts/nunito-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/fraunces-latin-500-italic.woff2) format("woff2"); }

:root {
  --terracotta-50: #fbf1ec;
  --terracotta-300: #de9c82;
  --terracotta-500: #a9533d;
  --terracotta-600: #8e4331;
  --terracotta-700: #723527;
  --haldi-100: #f7e6c2;
  --cream: #f7f0e8;
  --milk: #fffbf7;
  --sand: #efe4d8;
  --stone: #ddcfc3;
  --bark: #857166;
  --mocha: #6e5a50;
  --cocoa: #3b2a24;
  --espresso: #2a1f1b;
  --footer-muted: #cdbdb1;
  --success: #3e7650;
  --success-surface: #e8f2ea;

  --font-heading: Nunito, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --font-accent: Fraunces, Georgia, serif;
  --radius: 14px;
  --page: 1280px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--cocoa); font: 400 17px/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--terracotta-600); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-700); }
:focus-visible { outline: 2px solid var(--terracotta-700); outline-offset: 2px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); color: var(--cocoa); text-wrap: balance; }
h1 { font-weight: 800; font-size: 38px; line-height: 1.1; }
h2 { font-weight: 800; font-size: 28px; line-height: 1.2; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
.h2-lg { font-size: 28px; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--page); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.center { align-items: center; }
.start { align-items: start; }

.lead { font-size: 19px; line-height: 1.6; }
.muted { color: var(--mocha); }
.brand { color: var(--terracotta-600); }
.strong { font-weight: 700; }
.note { font: 600 15px/1.4 var(--font-body); color: var(--mocha); }
.price { font: 700 17px/1.4 var(--font-body); color: var(--terracotta-600); }

@media (min-width: 860px) {
  :root { --gutter: 64px; }
  h1 { font-size: 56px; line-height: 1.07; }
  .h2-lg { font-size: 40px; line-height: 1.15; }
  .split { gap: 64px; }
}

/* Surfaces */
.bg-blush { background: var(--terracotta-50); }
.bg-sand { background: var(--sand); }
.bg-brand { background: var(--terracotta-500); color: var(--cream); }
.bg-brand h2 { color: var(--cream); }
.section { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 860px) { .section { padding-top: 88px; padding-bottom: 88px; } }

/* Announcement bar and header */
.announce { background: var(--terracotta-50); color: var(--terracotta-700); font: 600 14px/1.4 var(--font-body); text-align: center; padding: 10px 20px; }
.announce a { color: var(--terracotta-700); font-weight: 700; }

.site-header { position: relative; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font: 600 15px/1.4 var(--font-body); }
.nav a { color: var(--cocoa); text-decoration: none; }
.nav a:hover { color: var(--terracotta-600); }
.nav a[aria-current="page"] { color: var(--terracotta-600); border-bottom: 2px solid var(--terracotta-500); padding-bottom: 2px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--cream); }
.nav-links { display: none; gap: 32px; }
.header-actions { display: flex; align-items: center; gap: 6px; }

.menu { position: static; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .close { display: none; }
.menu[open] .open { display: none; }
.menu[open] .close { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: var(--milk); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 8px 20px 16px; display: flex; flex-direction: column; }
.menu-panel a { color: var(--cocoa); text-decoration: none; font: 600 17px/1.4 var(--font-body); padding: 14px 0; border-bottom: 1px solid var(--stone); }
.menu-panel a:last-child { border-bottom: 0; }
.nav .menu-panel a[aria-current="page"] { color: var(--terracotta-600); border-bottom: 1px solid var(--stone); padding-bottom: 14px; }

@media (min-width: 1100px) {
  .site-header .wrap { padding-top: 20px; padding-bottom: 20px; }
  .logo img { height: 40px; }
  .nav-links { display: flex; }
  .menu { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px/1 var(--font-heading); padding: 17px 26px; min-height: 52px; border-radius: var(--radius); border: 0; cursor: pointer; text-decoration: none; align-self: flex-start; justify-self: start; }
.btn-primary { background: var(--terracotta-500); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-600); color: var(--cream); }
.btn-secondary { background: var(--milk); color: var(--cocoa); border: 1.5px solid var(--bark); }
.btn-secondary:hover { border-color: var(--cocoa); color: var(--cocoa); }
.btn-on-brand { color: var(--cream); border: 1.5px solid var(--cream); background: transparent; }
.btn-on-brand:hover { background: var(--cream); color: var(--terracotta-700); }
.btn-small { font-size: 15px; padding: 14px; min-height: 44px; border-radius: 12px; white-space: nowrap; }
@media (max-width: 360px) { .btn-small { font-size: 14px; padding: 12px 10px; } .logo img { height: 24px; } }
@media (min-width: 1100px) { .btn-small { font-size: 16px; padding: 14px 22px; border-radius: var(--radius); } }

/* Waitlist form */
.form { background: var(--milk); border: 1px solid var(--stone); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 560px; scroll-margin-top: 24px; }
.form label.field-label, .form legend { font: 600 14px/1.4 var(--font-body); padding: 0; }
.form legend { color: var(--mocha); margin-bottom: 8px; }
.form input[type="email"] { height: 52px; padding: 0 16px; border: 1.5px solid var(--bark); border-radius: 10px; background: var(--milk); font: 400 17px var(--font-body); color: var(--cocoa); width: 100%; }
.form input::placeholder { color: var(--mocha); }
.form fieldset { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--bark); border-radius: 999px; font: 600 15px var(--font-body); cursor: pointer; }
.pill input { accent-color: var(--terracotta-500); margin: 0; }
.pill:has(input:checked) { border: 2px solid var(--terracotta-500); background: var(--terracotta-50); }
.form button { width: 100%; height: 54px; }
.form .fine { font: 400 14px/1.5 var(--font-body); color: var(--mocha); }
.form .error { font: 600 15px/1.4 var(--font-body); color: var(--terracotta-700); }
.hp { position: absolute; left: -9999px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid-mid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: var(--milk); border: 1px solid var(--stone); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card.plain { border: 0; font-size: 17px; }
.card.featured { border: 2px solid var(--terracotta-500); }
.card .sub { font-size: 15px; line-height: 1.5; color: var(--mocha); }
.card .price { margin-top: 8px; }
.card.detail { gap: 10px; }
.card.detail .price { margin-top: 0; }
.card.detail p:last-child { font-size: 15px; line-height: 1.5; }
.chip { align-self: flex-start; background: var(--haldi-100); color: var(--cocoa); font: 600 14px/1.4 var(--font-body); padding: 8px 16px; border-radius: 999px; }
.chip-sm { font-size: 13px; padding: 5px 12px; }
.box { background: var(--sand); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.box-milk { background: var(--milk); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: none; margin-top: 2px; }

/* Home */
.hero { padding-top: 20px; padding-bottom: 48px; }
.hero .stack { gap: 20px; }
.hero-art { background: var(--terracotta-500); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 360px; }
.hero-art .frame { flex: 1; background: var(--milk); border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 260px; }
.hero-art .frame img { width: min(220px, 60%); height: auto; }
@media (min-width: 860px) {
  .hero { padding-top: 48px; padding-bottom: 88px; }
  .hero-art { padding: 32px; min-height: 560px; gap: 24px; }
  .hero-art .frame { min-height: 420px; }
}
.quote { margin: 0; font: italic 500 26px/1.33 var(--font-accent); color: var(--terracotta-700); }
.stat { display: flex; align-items: baseline; gap: 20px; }
.stat .num { font: 800 52px/1 var(--font-heading); color: var(--terracotta-600); }
.body-copy { display: flex; flex-direction: column; gap: 18px; font-size: 19px; max-width: 34em; }
@media (min-width: 860px) { .quote { font-size: 32px; } .stat .num { font-size: 72px; } }

.founder { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.founder .mark { flex: none; width: 160px; height: 160px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.founder .mark img { width: 88px; height: auto; }
.founder .stack { flex: 1 1 420px; }
.founder-quote { font: 800 24px/1.3 var(--font-heading); max-width: 22em; }
@media (min-width: 860px) { .founder .mark { width: 240px; height: 240px; } .founder .mark img { width: 120px; } .founder-quote { font-size: 32px; line-height: 1.25; } }

/* Kits page */
.table-box { overflow-x: auto; background: var(--milk); border-radius: var(--radius); border: 1px solid var(--stone); }
.table-box table { width: 100%; border-collapse: collapse; font: 400 16px/1.45 var(--font-body); }
.table-box table.compare { min-width: 640px; }
.table-box th, .table-box td { padding: 14px 16px; border-bottom: 1px solid var(--stone); text-align: left; vertical-align: top; }
.table-box thead tr { font: 700 16px/1.3 var(--font-heading); }
.table-box thead.tint tr { background: var(--terracotta-50); }
.table-box tr:last-child td { border-bottom: 0; }
.table-box .no { color: var(--mocha); }
.table-box .total { font-weight: 700; color: var(--terracotta-600); }
.table-box .total td:first-child { color: var(--cocoa); }
.item { border-top: 2px solid var(--terracotta-500); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }

/* Gifting */
.gift-art { background: var(--terracotta-500); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 380px; }
.gift-art .frame { flex: 1; background: var(--sand); border-radius: 18px; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.gift-art .frame img { width: min(180px, 50%); height: auto; }
.gift-note { align-self: flex-end; background: var(--milk); border-radius: 12px; padding: 22px 26px; transform: rotate(-2deg); max-width: 260px; }
.gift-note p:first-child { font: italic 500 28px/1.3 var(--font-accent); color: var(--terracotta-700); }
.gift-note p:last-child { margin-top: 8px; font: 600 13px/1.4 var(--font-body); color: var(--mocha); }
@media (min-width: 860px) { .gift-art { padding: 40px; min-height: 520px; } .gift-art .frame { min-height: 300px; } }

/* Story */
.story { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.story aside { flex: 0 1 320px; display: flex; flex-direction: column; gap: 16px; }
.story aside .frame { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.story aside .frame img { width: 45%; height: auto; }
.story article { flex: 1 1 520px; max-width: 680px; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.65; }
.story .opening { font: italic 500 26px/1.33 var(--font-accent); color: var(--terracotta-700); }
.story .tagline { font: 800 24px/1.3 var(--font-heading); }
@media (min-width: 860px) { .story .opening { font-size: 30px; } }

/* Questions */
.faq { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.faq h1 { flex: 1 1 300px; }
.faq dl { flex: 2 1 560px; margin: 0; }
.faq dl div { padding: 24px 0; border-top: 1px solid var(--stone); }
.faq dl div:last-child { border-bottom: 1px solid var(--stone); }
.faq dt { font: 700 20px/1.3 var(--font-heading); }
.faq dd { margin: 8px 0 0; font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-row h2 { font-size: 26px; }
@media (min-width: 860px) { .cta-row h2 { font-size: 32px; } }

/* Thanks */
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--success-surface); color: var(--success); font: 700 15px/1.4 var(--font-body); padding: 8px 14px; border-radius: 999px; }
.share { background: var(--terracotta-50); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.bubble { background: var(--milk); border: 1px solid var(--stone); border-radius: 14px 14px 14px 4px; padding: 18px 20px; }
.bubble .label { margin-bottom: 6px; font: 600 13px/1.4 var(--font-body); color: var(--mocha); }
@media (min-width: 860px) { .share { padding: 36px; } }

/* Footer */
.site-footer { background: var(--espresso); color: var(--cream); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.site-footer img { height: 36px; width: auto; align-self: flex-start; }
.site-footer .small { font-size: 15px; line-height: 1.5; color: var(--footer-muted); max-width: 40em; }
.site-footer .legal { font-size: 14px; line-height: 1.5; color: var(--footer-muted); }
.site-footer a { color: var(--terracotta-300); }
.site-footer a:focus-visible { outline-color: var(--terracotta-300); }
@media (min-width: 860px) { .site-footer .wrap { padding-top: 56px; padding-bottom: 56px; } }
