:root {
  color-scheme: light;
  --sky: #c9efff;
  --sky-deep: #a8def5;
  --paper: #fffdf3;
  --ink: #233a59;
  --muted: #78899f;
  --blue: #44ace2;
  --blue-deep: #187fc2;
  --coral: #ea7364;
  --yellow: #f7ce61;
  --line: #c1c0c3;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--sky); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 14%, rgba(255,255,255,.7) 0 5px, transparent 6px),
    radial-gradient(circle at 84% 22%, rgba(255,255,255,.55) 0 8px, transparent 9px),
    linear-gradient(145deg, #dff7ff 0%, var(--sky) 52%, var(--sky-deep) 100%);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: #0a649d; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(100% - 32px, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 26px;
}

.site-nav,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav { margin-bottom: 24px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.04em;
  text-decoration: none;
}

.mini-bottle {
  position: relative;
  width: 25px;
  height: 31px;
  border: 2px solid var(--ink);
  border-radius: 7px 7px 8px 8px;
  overflow: hidden;
  background: var(--paper);
  transform: rotate(5deg);
}

.mini-bottle::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 7px;
  width: 8px;
  height: 7px;
  border: 2px solid var(--ink);
  border-radius: 3px 3px 1px 1px;
  background: var(--coral);
}

.mini-bottle i {
  position: absolute;
  inset: 13px 0 0;
  background: var(--blue);
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 1.5px solid rgba(35,58,89,.4);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 7px 20px rgba(35,58,89,.08);
}

.language-picker > span:first-child { color: var(--blue-deep); font-size: 18px; }
.language-picker select { border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }

.hero-card,
.document-card {
  border: 1.5px solid rgba(35,58,89,.28);
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(35,58,89,.14);
}

.hero-card {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 82px);
  padding: clamp(42px, 7vw, 78px);
  border-radius: 38px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-copy h1,
.document-header h1 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -.055em;
}

.hero-copy h1 { max-width: 590px; font-size: clamp(42px, 6vw, 72px); line-height: .98; }
.hero-lede { max-width: 600px; margin: 26px 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.coming-soon { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 12px 17px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 14px; font-weight: 800; }
.coming-soon span { color: var(--coral); font-size: 20px; }

.preview-card {
  width: min(100%, 350px);
  justify-self: end;
  padding: 26px;
  border: 1.5px solid rgba(35,58,89,.3);
  border-radius: 29px;
  background: #dff4ff;
  box-shadow: 9px 12px 0 rgba(35,58,89,.1);
  transform: rotate(2deg);
}

.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--blue-deep); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.cup-pill { padding: 9px 13px; border: 1.5px solid rgba(35,58,89,.45); border-radius: 999px; color: var(--ink); background: var(--yellow); letter-spacing: 0; }
.preview-total { margin: 44px 0 24px; font-size: clamp(48px, 8vw, 72px); font-weight: 900; letter-spacing: -.07em; text-align: center; }
.preview-total small { color: var(--blue-deep); font-size: 19px; letter-spacing: 0; }
.preview-progress { height: 14px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.75); }
.preview-progress i { display: block; width: 90%; height: 100%; border-radius: inherit; background: #7caabd; }
.stamp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 32px; }
.stamp-row > span { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 3px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--coral); color: #faf0ea; }
.stamp-row em { font-size: 8px; font-style: normal; font-weight: 900; }
.stamp-row .stamp-empty { border-style: dashed; background: rgba(255,255,255,.55); color: #b7c2cd; }
.stamp-bottle { position: relative; width: 15px; height: 18px; border-radius: 4px; background: currentColor; }
.stamp-bottle::before { content: ""; position: absolute; top: -4px; left: 4px; width: 7px; height: 5px; border-radius: 2px 2px 0 0; background: currentColor; }
.stamp-bottle::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 5px; border-radius: 2px; background: var(--coral); opacity: .72; }

.document-shell { width: min(100% - 32px, 820px); }
.document-card { padding: clamp(30px, 6vw, 68px); border-radius: 32px; }
.document-header { padding-bottom: 30px; border-bottom: 1px solid rgba(35,58,89,.12); }
.document-header h1 { font-size: clamp(42px, 7vw, 64px); line-height: 1; }
.document-lede { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.document-date { margin: 15px 0 0; color: var(--blue-deep); font-size: 13px; font-weight: 800; }
.document-card > section { padding: 26px 0; border-bottom: 1px solid rgba(35,58,89,.1); }
.document-card section h2 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.02em; }
.document-card section p { margin: 0; color: #5f7086; font-size: 16px; line-height: 1.75; }
.document-next { margin: 30px 0 0; font-weight: 800; }

.document-card > .contact-card {
  margin-top: 28px;
  padding: 28px;
  border: 1.5px solid rgba(35,58,89,.16);
  border-radius: 24px;
  background: #dff4ff;
}

.primary-button { display: inline-flex; margin-top: 22px; padding: 13px 18px; border-radius: 13px; color: white; background: var(--coral); font-weight: 850; text-decoration: none; box-shadow: 0 8px 18px rgba(234,115,100,.24); }
.primary-button:hover { color: white; background: #dc6557; }
.email-link { display: block; margin-top: 14px; font-size: 14px; }

.site-footer { padding: 24px 4px 0; color: rgba(35,58,89,.7); font-size: 13px; }
.site-footer div { display: flex; gap: 18px; }
.site-footer a { font-weight: 700; text-decoration: none; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 22px, 620px); padding-top: 20px; }
  .hero-card { min-height: auto; grid-template-columns: 1fr; padding: 38px 24px; border-radius: 28px; }
  .preview-card { width: 100%; justify-self: stretch; }
  .hero-copy h1 { font-size: clamp(40px, 13vw, 60px); }
  .site-footer { align-items: flex-start; }
}

@media (max-width: 480px) {
  .language-picker { padding: 0 10px; }
  .language-picker select { max-width: 120px; }
  .document-card { border-radius: 24px; }
  .site-footer { flex-direction: column; }
  .stamp-row { gap: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-card { animation: arrive .55s ease-out both; }
  .preview-card { animation: float-in .7s .08s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
  @keyframes float-in { from { opacity: 0; transform: translateY(18px) rotate(2deg); } }
}
