/* ezeetap.com. Light only (owner, 11 November 2026). Content layer below, one floating header above.
   Colors from EzeeTap/brand/README.md. System font only, no third-party requests. */

:root {
  color-scheme: light;
  --bg: #F7F5ED;          /* cream */
  --surface: #FFFFFF;
  --surface-2: #EEEBE0;
  --text: #0F2A21;
  --text-2: #46594F;      /* 6.6:1 on cream */
  --line: rgba(15, 61, 46, 0.12);
  --tint: #0F3D2E;        /* deep green */
  --on-tint: #F7F5ED;
  --mark: #0F3D2E;
  --tap: #7FA088;
  --ok: #2F7A4F;
  --red: #B3261E;
  --bar: rgba(247, 245, 237, 0.72);
  --shadow: 0 1px 2px rgba(15, 42, 33, 0.06), 0 12px 32px rgba(15, 42, 33, 0.08);
  --phone: #0F2A21;
  --screen: #F2F0E8;
}



@media (prefers-contrast: more) {
  :root { --text-2: var(--text); --line: currentColor; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;   /* 17px, iOS body */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: inherit; }
img, svg { display: block; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  padding: 10px 16px; border-radius: 999px;
  background: var(--tint); color: var(--on-tint); text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 8px; }

/* Floating header: the one translucent layer. */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .top { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand svg { height: 26px; width: 115px; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a {
  text-decoration: none; color: var(--text-2); font-size: 0.9375rem;
  padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
.top nav a:hover { color: var(--text); background: var(--surface-2); }


/* Type */
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.display { font-size: clamp(2.5rem, 9vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.5rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.125rem, 3.4vw, 1.375rem); color: var(--text-2); line-height: 1.45; letter-spacing: -0.005em; }
.muted { color: var(--text-2); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) {
  .hero { padding: 72px 0 88px; }
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.hero-copy { display: grid; gap: 20px; justify-items: start; }

.soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface-2); color: var(--text);
  font-size: 0.9375rem; font-weight: 600;
}
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--text-2); font-size: 0.9375rem; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Phone illustration: generic, no logos. */
.stage { position: relative; display: grid; place-items: center; padding: 24px 0; }
/* Real iPhone proportions: body 78 x 163.4 mm, screen 72.9 mm wide (2.5 mm bezel),
   screen corner 55/440 of the screen width, Dynamic Island 126 x 37 of 440, 11 from the top.
   Explicit height, no aspect-ratio: Safari mis-sizes aspect-ratio boxes with content. */
.phone {
  --w: min(250px, 64vw);
  --s: calc(var(--w) * 0.9346);              /* screen width */
  --b: calc(var(--w) * 0.0327);              /* bezel */
  position: relative; width: var(--w); height: calc(var(--w) * 2.0949);
  border-radius: calc(var(--s) * 0.125 + var(--b));   /* concentric with the screen */
  background: var(--phone);
  box-shadow: var(--shadow), 0 30px 60px rgba(15, 42, 33, 0.18);
}
.screen {
  position: absolute; inset: var(--b);
  border-radius: calc(var(--s) * 0.125);
  background: var(--screen); overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--s) * 0.2) calc(var(--s) * 0.05) calc(var(--s) * 0.1);
}
.island { position: absolute; top: calc(var(--s) * 0.025); left: 50%; transform: translateX(-50%); width: calc(var(--s) * 0.2864); height: calc(var(--s) * 0.0841); border-radius: 999px; background: #000; }
.date { font-size: calc(var(--s) * 0.056); color: var(--text-2); font-weight: 600; }
.clock { font-size: calc(var(--s) * 0.25); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--text); opacity: 0.9; }
.lockwidget {
  margin-top: calc(var(--s) * 0.04);
  padding: calc(var(--s) * 0.022) calc(var(--s) * 0.05); border-radius: 999px;
  background: var(--surface-2); color: var(--text);
  font-size: calc(var(--s) * 0.048); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}

.banner {
  width: 100%; margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow);
  font-size: calc(var(--w) * 0.05); line-height: 1.3;
}
.banner .tile { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ok); color: #fff; display: grid; place-items: center; }
.banner .tile svg { width: 20px; height: 20px; }
.banner .grow { flex: 1; min-width: 0; display: grid; }
.banner b { font-weight: 600; }
.banner .undo { font-weight: 600; color: var(--tint); }

.ring {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border-radius: 50%; border: 2px solid var(--tap); opacity: 0; pointer-events: none;
}

/* Plays twice, then rests on the saved state. */
@media (prefers-reduced-motion: no-preference) {
  .banner { animation: drop 4.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s 2 both; }
  .ring { animation: pulse 4.8s ease-out 0.4s 2; }
  .ring.r2 { animation-name: pulse2; }
}
@keyframes pulse {
  0% { transform: scale(0.4); opacity: 0; }
  4% { opacity: 0.9; }
  16% { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes pulse2 {
  0%, 8% { transform: scale(0.4); opacity: 0; }
  12% { opacity: 0.9; }
  24% { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes drop {
  0%, 22% { transform: translateY(-24px) scale(0.96); opacity: 0; }
  32% { transform: none; opacity: 1; }
  100% { transform: none; opacity: 1; }
}

/* Sections */
section { padding: 56px 0; }
@media (min-width: 860px) { section { padding: 88px 0; } }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 32px; }

.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start;
}
.num {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--tint); color: var(--on-tint);
  display: grid; place-items: center; font-weight: 700; font-size: 1rem;
}

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.split .text { display: grid; gap: 14px; }

/* Notification sample */
.notice {
  background: var(--surface); border-radius: 22px; padding: 14px; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: flex-start; max-width: 420px; width: 100%; justify-self: center;
}
.notice .app { flex: none; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; }
.notice .app svg { width: 100%; height: 100%; }
.notice .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.notice .row { display: flex; justify-content: space-between; gap: 8px; font-size: 0.875rem; color: var(--text-2); }
.notice .row b { color: var(--text); font-weight: 600; }
.notice .actions { display: flex; gap: 8px; margin-top: 10px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); font-size: 0.875rem; font-weight: 600; }
.chip.on { background: var(--tint); color: var(--on-tint); }

/* Plan sample: a short sum, like a receipt. */
.sum { background: var(--surface); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); max-width: 420px; width: 100%; justify-self: center; display: grid; gap: 10px; }
.sum .label { font-size: 0.9375rem; color: var(--text-2); }
.sum .big { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sum .line { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum .line span:last-child { white-space: nowrap; }
.sum .total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: 1.1875rem; }
.sum .total span:last-child { color: var(--ok); }
.sum .foot { font-size: 0.9375rem; color: var(--text-2); }

.bar { display: block; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--ok); }
.budget { display: grid; gap: 6px; }
.budget + .budget { margin-top: 6px; }
.budget .line b { font-weight: 600; }
.budget .line span { color: var(--text-2); }
.budget.over .bar > span { background: var(--red); }
.budget.over .foot { color: var(--red); font-weight: 600; }

.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.ticks { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 6px; border: solid var(--ok); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.prices { display: grid; gap: 8px; padding: 14px 0 0; margin: 6px 0 0; list-style: none; border-top: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.prices b { font-weight: 700; }
.card .note { font-size: 0.875rem; color: var(--text-2); }

.also { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.also li { padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 0.9375rem; font-weight: 500; }

/* Privacy band: brand color in the content layer. */
.private { background: var(--tint); color: var(--on-tint); border-radius: 32px; padding: 40px 24px; display: grid; gap: 24px; }
@media (min-width: 860px) { .private { padding: 56px; } }
.private .lead { color: inherit; opacity: 0.88; }
.private ul { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .private ul { grid-template-columns: 1fr 1fr; } }
.private li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.private li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.button-link {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--on-tint); color: var(--tint);
}

.closing { text-align: center; display: grid; gap: 16px; justify-items: center; }
.closing .mark { width: 88px; height: 69px; }

footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.9375rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* Privacy policy page */
.doc { max-width: 720px; padding: 40px 0 72px; }
.doc h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.375rem; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.25em; margin: 10px 0 0; display: grid; gap: 8px; }
.doc .updated { color: var(--text-2); font-size: 0.9375rem; }
.doc .short { background: var(--surface); border-radius: 24px; padding: 20px 24px; box-shadow: var(--shadow); margin-top: 24px; }
.doc .short h2 { margin-top: 0; }
.doc a { color: var(--tint); font-weight: 600; }
.doc ol { padding-left: 1.4em; margin: 10px 0 0; display: grid; gap: 8px; }
.doc ol + p, .doc ul + p { margin-top: 12px; }
.doc .short p + p { margin-top: 8px; }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.card .note a { color: var(--tint); font-weight: 600; }

/* Support page */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { text-decoration: none; padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--text); font-weight: 600; font-size: 0.9375rem; }
.faq h2 { margin-top: 48px; }
.faq h3 { font-size: 1.125rem; margin: 28px 0 8px; }
