
:root {
  --text: #14202b;
  --text-2: #37485a;
  --muted: #6b7a8d;
  --border: rgba(20, 32, 43, 0.08);
  --border-strong: #c9d3dd;
  --accent: #0f766e;
  --accent-2: #115e56;
  --accent-strong: #115e56;
  --accent-soft: #d6efeb;
  --accent-grad: linear-gradient(135deg, #14b8a6 0%, #0d9488 52%, #0f766e 100%);
  --danger: #c0392b;
  --danger-soft: #fdecec;
  --warm: #d9862a;
  --warm-soft: rgba(217, 134, 42, .12);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(20, 32, 43, 0.04), 0 10px 32px rgba(55, 70, 140, 0.10);
  --shadow-sm: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(20, 32, 43, 0.04), 0 4px 14px rgba(55, 70, 140, 0.07);
  --glass: rgba(255, 255, 255, 0.52);
  --glass-hi: rgba(255, 255, 255, 0.72);
  --glass-lo: rgba(255, 255, 255, 0.34);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(22px) saturate(180%);
  color-scheme: light;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255, 255, 255, 0.86); --glass-hi: rgba(255, 255, 255, 0.94); --glass-lo: rgba(255, 255, 255, 0.7); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 620px at -5% -10%, rgba(127, 119, 221, 0.55), transparent 62%),
    radial-gradient(820px 560px at 105% 5%, rgba(55, 138, 221, 0.45), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(93, 202, 165, 0.5), transparent 62%),
    radial-gradient(600px 420px at 20% 70%, rgba(20, 184, 166, 0.22), transparent 65%),
    #e8ecf6;
  background-attachment: fixed;
  color: var(--text);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }
.wrap { max-width: 940px; margin: 0 auto; padding: 0 16px; }

/* Glass surfaces */
.card, .summary, .app-group, .product, .choice, .app, .error-summary {
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}

/* Header: a floating glass capsule, as in the Console */
.site-header { position: sticky; top: 10px; z-index: 20; padding: 10px 12px 0; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 8px 18px 8px 14px;
  background: var(--glass-hi); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge); border-radius: 999px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }
.brand svg { display: block; flex: none; }
.brand b { color: var(--accent); font-weight: 700; }
.header-note { color: var(--muted); font-size: .85rem; font-weight: 500; }
@media (max-width: 420px) { .header-note { display: none; } }

main { padding: 22px 0 56px; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.1rem; margin: 0 0 4px; font-weight: 650; }
.lead { color: var(--text-2); margin: 0 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.card {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.section { margin-top: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: .78rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card > legend { float: left; width: 100%; margin-bottom: 12px; }
.card > legend + * { clear: both; }
.section-note { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }

/* Hero */
.hero {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 22px 22px; margin-bottom: 6px;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.hero h1 { font-size: 1.9rem; }
.eyebrow {
  display: inline-block; margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(15, 118, 110, .2); border-radius: 999px; padding: 3px 11px;
}
.perks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--text-2); font-weight: 500; }
.perk-icon {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; flex: none;
  background: var(--accent-grad); color: #fff; font-size: .8rem; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 10px rgba(13, 148, 136, 0.25);
}
@media (min-width: 640px) {
  .hero { padding: 34px 34px 28px; }
  .hero h1 { font-size: 2.3rem; }
  .perks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 26px; }
}

/* Phones */
.products { display: grid; gap: 14px; }
.product {
  position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center;
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 12px; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s, background .18s, border-color .18s;
}
.product:hover { background: var(--glass-hi); box-shadow: var(--shadow); transform: translateY(-2px); }
.product:has(input:checked) { background: rgba(255, 255, 255, 0.82); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18), var(--shadow); }
.product:has(input:focus-visible) { outline: 3px solid rgba(13, 148, 136, 0.35); outline-offset: 2px; }
.product input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo {
  aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center; color: #8a96a5;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo svg { width: 42%; height: auto; }
.product-name, .product-meta, .price { display: block; }
.product-name { font-weight: 700; font-size: 1.05rem; }
.product-meta { color: var(--muted); font-size: .9rem; }
.product-tagline { display: block; color: var(--accent); font-size: .85rem; font-weight: 500; margin-top: 2px; }
.price { font-weight: 800; font-size: 1.35rem; margin-top: 4px; letter-spacing: -0.01em; }
.check {
  display: none; position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-grad); color: #fff; font-size: 14px; line-height: 26px; text-align: center; font-weight: 700;
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(13, 148, 136, 0.3);
}
.product:has(input:checked) .check { display: block; }
.product.sold-out, .product.coming-soon { cursor: not-allowed; }
.product.sold-out:hover, .product.coming-soon:hover { transform: none; background: var(--glass); box-shadow: var(--shadow-sm); }
.product.sold-out { opacity: .55; filter: grayscale(1); }
/* Coming soon: the card is whited out under a frosted veil, with a badge on top. */
.product.coming-soon .photo, .product.coming-soon .product-body { opacity: .38; filter: grayscale(.9); }
.product.coming-soon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: rgba(255, 255, 255, 0.35);
}
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--glass-hi); color: var(--text-2); border: 1px solid var(--glass-edge); border-radius: 999px; padding: 3px 10px; margin-top: 6px;
}
.badge.soon {
  position: absolute; z-index: 2; top: 24px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap;
  background: var(--accent-grad); color: #fff; border: 0; font-size: .8rem; padding: 7px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(13, 148, 136, 0.3);
}
/* Phone-width cards are rows with a small photo: sit the badge on the photo instead. */
@media (max-width: 639px) {
  .badge.soon { top: auto; bottom: 20px; left: 20px; transform: none; font-size: .66rem; padding: 4px 9px; }
}
@media (min-width: 640px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .product { grid-template-columns: 1fr; align-items: start; padding: 14px; }
  .photo svg { width: 26%; }
}
.pick-hint { margin: 16px 0 0; color: var(--muted); text-align: center; }
#order-form:has(input[name="product"]:checked) .pick-hint { display: none; }
#order-form:not(:has(input[name="product"]:checked)) .after-pick { display: none; }

/* Fields */
.field { margin-top: 14px; }
.field:first-child { margin-top: 0; }
label.label, .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; color: var(--text-2); }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; text-transform: none; letter-spacing: 0; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; max-width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--glass-hi); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 11px 13px;
  box-shadow: inset 0 1px 2px rgba(20, 32, 43, 0.06); transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 92px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa7b3; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18); }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 520px) { .field-row.three { grid-template-columns: 2fr 1fr 1fr; } }
.field-row .field { margin-top: 0; }
.error { color: var(--danger); font-size: .88rem; margin: 5px 0 0; font-weight: 500; }
.has-error input, .has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.14); }
.error-summary {
  background: rgba(253, 236, 236, 0.85); border: 1px solid rgba(229, 72, 77, .3); color: var(--danger);
  border-radius: var(--radius-sm); padding: 13px 18px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.error-summary p { margin: 0; font-weight: 650; }

/* App Menu */
.app-group { background: var(--glass-lo); border: 1px solid var(--glass-edge); border-radius: 18px; margin: 0 0 10px; }
.app-group > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 16px; font-weight: 650;
}
.app-group > summary::-webkit-details-marker { display: none; }
.app-group > summary::after {
  content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; text-align: center; line-height: 23px;
  font-size: 1.05rem; background: var(--glass-hi); color: var(--accent); border: 1px solid var(--glass-edge);
}
.app-group[open] > summary::after { content: "−"; }
.app-group > summary .app-group-name { flex: 1; }
.app-group-count { font-weight: 500; font-size: .82rem; color: var(--muted); }
.app-group-count.has-picks {
  color: var(--accent-2); font-weight: 650; background: var(--accent-soft); border-radius: 999px; padding: 2px 10px;
}
.app-group .apps { padding: 0 12px 12px; }
.apps { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .apps { grid-template-columns: 1fr 1fr; } }
.app {
  display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--glass-edge); border-radius: 14px;
  padding: 10px 12px; cursor: pointer; background: var(--glass-hi); transition: background .15s, border-color .15s;
}
.app:hover { background: rgba(255, 255, 255, 0.85); }
.app:has(input:checked) { border-color: rgba(15, 118, 110, .45); background: var(--accent-soft); }
.app input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.app-name { font-weight: 600; display: block; }
.app-desc { color: var(--muted); font-size: .84rem; display: block; }
.note {
  background: var(--warm-soft); border: 1px solid rgba(217, 134, 42, .3); color: #8a5313;
  padding: 9px 13px; border-radius: 14px; font-size: .9rem; margin: 6px 0 8px;
}

/* Choices (pickup/delivery, pay now/later) */
.choices { display: grid; gap: 10px; }
.choice {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--glass-edge); border-radius: 18px;
  padding: 13px 15px; cursor: pointer; background: var(--glass-hi); transition: background .15s, border-color .15s, box-shadow .15s;
}
.choice:hover { background: rgba(255, 255, 255, 0.85); }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15); }
.choice input { margin: 4px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.choice-title { font-weight: 650; display: block; }
.choice-note { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* Address: needed only for Delivery + Pay later (Stripe collects it for Pay now). */
#order-form:not(:has(#fulfillment-delivery:checked)) #address-section,
#order-form:not(:has(#payment-later:checked)) #address-section { display: none; }
.stripe-address-hint { display: none; margin: 10px 0 0; }
#order-form:has(#fulfillment-delivery:checked):has(#payment-now:checked) .stripe-address-hint { display: block; }

/* Total */
.summary {
  background: var(--glass-hi); border: 1px solid var(--glass-edge); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--text-2); }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 1.2rem; color: var(--text); }
.summary-row.total span:last-child { color: var(--accent); }
#order-form:not(:has(#fulfillment-delivery:checked)) .shipping-row { display: none; }

/* Buttons: the Console's teal gradient pill */
.button {
  display: inline-block; width: 100%; font: inherit; font-weight: 650; font-size: 1.05rem; text-align: center; text-decoration: none;
  background: var(--accent-grad); color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: transform .12s, box-shadow .18s, filter .18s;
}
.button:hover { color: #fff; text-decoration: none; filter: brightness(1.05); box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3); }
.button:active { transform: translateY(1px) scale(0.99); }
.button:disabled { opacity: .7; cursor: progress; filter: none; }
.button.secondary {
  background: var(--glass-hi); color: var(--text-2); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-sm);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.button.secondary:hover { color: var(--text); background: rgba(255, 255, 255, 0.88); }
@media (min-width: 640px) { .button { width: auto; min-width: 280px; } }
.submit-now { display: none; }
#order-form:has(#payment-now:checked) .submit-now { display: inline; }
#order-form:has(#payment-now:checked) .submit-later { display: none; }
.turnstile { margin: 18px 0 12px; min-height: 65px; }
.secure { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* Plain pages */
.page { max-width: 640px; }
.order-number {
  display: inline-block; font-size: 1.6rem; font-weight: 800; letter-spacing: .06em; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid rgba(15, 118, 110, .2); border-radius: 16px; padding: 6px 16px; margin: 6px 0 16px;
}
.steps { padding-left: 1.2em; margin: 8px 0 0; }
.steps li { margin: 7px 0; color: var(--text-2); }
.site-footer { padding: 8px 12px 36px; color: var(--muted); font-size: .85rem; }
.site-footer .wrap {
  background: var(--glass-lo); border: 1px solid var(--glass-edge); border-radius: 18px; padding: 14px 18px;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.site-footer a { color: var(--text-2); font-weight: 500; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 6px; }
.flush { margin: 0; }
.flush-top { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
