:root {
  color-scheme: light;
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --green: #006c68;
  --green-dark: #005b57;
  --ink: #1d2625;
  --muted: #66716e;
  --surface: #f5f5f7;
}

* { box-sizing: border-box; }
body, h1, p { margin: 0; }
body { min-inline-size: 0; min-block-size: 100svh; }
a { color: inherit; }
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}
.brand { inline-size: 12.5rem; max-inline-size: 100%; margin-inline: auto; }
.brand img { display: block; inline-size: 100%; block-size: auto; }

.card-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  background: var(--surface);
  color: var(--ink);
}
.card-main { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 3rem clamp(12px, 5vw, 24px) 1.5rem; }
.welcome-card {
  inline-size: min(100%, 29rem);
  padding: 3rem 2.5rem 2.25rem;
  border: 1px solid #fff;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 2px 5px #142b2503, 0 16px 48px -12px #142b2510;
  text-align: center;
}
.welcome-card .brand { margin-block-end: 2.75rem; }
h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.042em;
  overflow-wrap: anywhere;
}
.welcome-card h1 span { color: var(--green); }
.shop-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  inline-size: 100%;
  min-block-size: 3.75rem;
  margin-block-start: 2rem;
  padding: 1rem clamp(12px, 4vw, 20px);
  border: 1px solid transparent;
  border-radius: 1.125rem;
  background: var(--green);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.012em;
  text-decoration: none;
  box-shadow: 0 2px 3px #003c3820, inset 0 1px 0 #ffffff18;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), background-color 140ms ease-out;
}
.shop-button svg { inline-size: 1.25rem; block-size: 1.25rem; flex: none; transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.shop-button span { min-inline-size: 0; overflow-wrap: anywhere; }
.shop-button:active { transform: scale(.975); background: var(--green-dark); transition-duration: 70ms; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.shop-button:focus-visible { border-radius: 1.125rem; }
.destination { margin-block-start: .75rem; color: var(--muted); font-size: .75rem; letter-spacing: .01em; }
.reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4375rem;
  margin-block-start: 2rem;
  color: var(--muted);
  font-size: .8125rem;
  letter-spacing: .005em;
}
.reassurance svg { inline-size: 1rem; block-size: 1rem; flex: none; stroke-width: 1.4; }
.page-footer { padding: .5rem 1.25rem 1.25rem; color: #68716e; font-size: .75rem; letter-spacing: .01em; }
.page-footer nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.page-footer a { display: inline-flex; min-block-size: 2.75rem; align-items: center; padding-inline: .75rem; border-radius: .625rem; text-decoration: none; text-underline-offset: .25em; }

.simple-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  background: var(--green);
  color: #fff;
}
.simple-header { padding: 2.5rem 1.5rem 0; }
.simple-header .brand { inline-size: 11.5rem; }
.brand-light img { filter: brightness(0) invert(1); }
.simple-main { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 3rem 1.5rem; }
.simple-content { inline-size: min(100%, 40rem); text-align: center; }
.simple-content h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.04; letter-spacing: -.045em; }
.simple-content h1 span { color: #c3e2dc; }
.shop-button-light { inline-size: min(100%, 21rem); margin-inline: auto; margin-block-start: 2.5rem; background: #fff; color: var(--green-dark); box-shadow: 0 2px 4px #00332f18, inset 0 1px 0 #fff; }
.shop-button-light:active { background: #e5eeeb; }
.simple-content .destination { color: #c3ddd6; }
.simple-content .reassurance { color: #d4e7e3; }
.simple-page .page-footer { color: #c3ddd6; }
.simple-page a:focus-visible { outline-color: #fff; }

/* The existing error page uses the same simple surface. */
.intro { margin-block-start: 1rem; color: var(--muted); font-size: 1rem; }

@media (hover: hover) and (pointer: fine) {
  .shop-button:hover { background: var(--green-dark); }
  .shop-button:hover svg { transform: translateX(.1875rem); }
  .shop-button-light:hover { background: #edf5f1; }
  .page-footer a:hover { text-decoration: underline; }
}

@media (max-width: 37.5rem) {
  .card-main { padding-block: 2rem 1rem; }
  .welcome-card { padding: 2.5rem clamp(20px, 6vw, 24px) 2rem; border-radius: 1.75rem; }
  .welcome-card .brand { inline-size: 12rem; margin-block-end: 2.5rem; }
  .welcome-card h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .shop-button { margin-block-start: 1.75rem; }
  .simple-header { padding-block-start: 2rem; }
  .simple-header .brand { inline-size: 11rem; }
  .simple-main { padding: 2rem 1.5rem; }
  .simple-content h1 { font-size: clamp(2.75rem, 12.5vw, 4.5rem); }
  .shop-button-light { margin-block-start: 2rem; }
  .page-footer { padding-block-end: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-button, .shop-button svg { transition: none; }
  .shop-button:active, .shop-button:hover svg { transform: none; }
}

@media (prefers-contrast: more) {
  .welcome-card { border-color: #66716e; }
  .destination, .reassurance, .page-footer { color: #39413e; }
  .simple-page .destination, .simple-page .reassurance, .simple-page .page-footer { color: #fff; }
}

@media (forced-colors: active) {
  .shop-button { border-color: ButtonText; }
  .brand-light img { filter: none; forced-color-adjust: none; background: #fff; }
}
