@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/OpenSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/OpenSans_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-weight: 800; font-display: swap; src: url("/assets/fonts/OpenSans_800ExtraBold.ttf") format("truetype"); }
:root {
  color-scheme: light;
  --navy: #1D1453;
  --cream: #FFEBD9;
  --blue: #0086FF;
  --blue-link: #2E9BFF;
  --peach: #FEBAB0;
  --coral: #F4847A;
  --yellow: #FED505;
  --ink: #1D1453;
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
h1, h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; margin: 0; }

/* Buttons */
.btn { display: inline-block; text-align: center; text-decoration: none; border-radius: 99px; padding: 18px 44px; font-size: 18px; font-weight: 700; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0070d6; }
.btn-peach { background: var(--peach); color: var(--ink); min-width: min(100%, 420px); }
.btn-peach:hover { background: #fda497; }
.btn-navy { background: var(--navy); color: #fff; min-width: min(100%, 420px); }
.btn-navy:hover { background: #000; }

/* Header: transparent over the hero, navy once you scroll past it */
.bar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px max(24px, env(safe-area-inset-left)); background: var(--navy); }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.bar nav a { color: var(--blue-link); font-weight: 700; font-size: 16px; text-decoration: none; }
.bar nav a[aria-current] { color: var(--blue-link); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.bar nav a:hover { color: #fff; }
.brand img { width: 96px; }

/* Hero */
.hero { position: relative; background: var(--navy); aspect-ratio: 2500 / 1600; display: grid; place-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: relative; text-align: center; padding: 80px 16px; }
.hero h1 { color: #fff; font-size: min(7.2vw, 104px); margin: 0 auto 48px;
  text-shadow: 0 4px 30px rgba(29, 20, 83, .6); }

.hero h1 span { display: block; white-space: nowrap; }

/* Values */
.values { padding: clamp(56px, 9vw, 110px) 0; text-align: center; }
.values ul { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values li img { width: 140px; margin: 0 auto 16px; }
.values h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.values p { font-weight: 700; font-size: 18px; max-width: 30ch; margin: 0 auto; }

/* Products */
.product { padding: clamp(40px, 6vw, 56px) 0; }
.product-blue { background: var(--blue); }
.product-yellow { background: var(--yellow); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "art card" "art btn"; align-items: center; column-gap: 0; row-gap: 40px; }
.product-grid.flip { grid-template-areas: "card art" "btn art"; }
.product-art { grid-area: art; width: 100%; }
.art-cream { background: var(--cream); padding: 24px; aspect-ratio: 1100 / 931; display: grid; place-items: center; }
.product-card { grid-area: card; position: relative; background: #fff; padding: clamp(28px, 5vw, 72px) clamp(24px, 5vw, 64px); margin-left: -60px; }
.flip .product-card { margin: 0 -60px 0 0; }
.product-card h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 24px; }
.product-card p { font-weight: 700; font-size: 18px; margin: 0; }
.product-card .avail { font-weight: 400; font-size: 16px; margin-top: 16px; }
.app-icon { width: 64px; border-radius: 16px; margin-bottom: 16px; }
.product-btn { grid-area: btn; justify-self: center; }

/* Story and contact */
.about { background: var(--navy); color: var(--cream); padding: clamp(56px, 9vw, 100px) 0; }
.about h2, .contact h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 20px; }
.about p { font-size: 19px; max-width: 62ch; }
.contact { background: var(--peach); padding: clamp(48px, 7vw, 80px) 0; }
.contact p { font-size: 19px; margin: 0 0 8px; }
.contact a { color: var(--ink); font-weight: 700; }
.contact .small { font-size: 16px; }
.foot { background: var(--navy); color: var(--cream); padding: 28px 0; font-size: 14px; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot img { width: 80px; }

@media (max-width: 860px) {
  .bar { grid-template-columns: auto 1fr; padding: 12px 16px; }
  .bar .brand { order: -1; margin-right: 16px; }
  .bar nav { justify-content: flex-end; gap: 4px 16px; }
  .bar nav a { font-size: 14px; }
  .bar nav a:nth-child(1), .bar nav a:nth-child(4) { display: none; }
  .brand img { width: 72px; }
  .values ul { grid-template-columns: 1fr; gap: 48px; }
  .product-grid, .product-grid.flip { grid-template-columns: 1fr; grid-template-areas: "art" "card" "btn"; row-gap: 0; }
  .product-card, .flip .product-card { margin: -32px 16px 0; }
  .product-btn { margin-top: 32px; width: 100%; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; aspect-ratio: 4 / 5; max-height: 86vh; }
  .hero h1 { margin-bottom: 32px; }
  .btn { padding: 16px 28px; font-size: 17px; }
}
