/* ChargeDeck website. System fonts only, no external requests. */
:root {
  --bg: #F5F5F7;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --text: #1D1D1F;
  --muted: #5E5E66;
  --line: #E3E3E8;
  --accent: #1A7F37;
  --accent-soft: #E3F5E8;
  --accent-ink: #FFFFFF;
  --hero-1: #E9F7EE;
  --hero-2: #F5F5F7;
  --phone: #0E1310;
  --shadow: 0 30px 80px rgba(9, 45, 22, 0.18);
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0B0B0C;
    --card: #1C1C1E;
    --text: #F5F5F7;
    --muted: #A1A1A8;
    --line: #2C2C2E;
    --accent: #32D74B;
    --accent-soft: rgba(50, 215, 75, 0.14);
    --accent-ink: #0B1F12;
    --hero-1: #0D1F14;
    --hero-2: #000000;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 80% 0%, var(--hero-1), var(--hero-2));
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-icon { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 12px 30px rgba(9, 45, 22, 0.25); }
.eyebrow { margin: 22px 0 6px; font-size: 15px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -1.5px; }
.hero .lede { margin: 18px 0 28px; font-size: 20px; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15px;
}
.badge-soon svg { width: 22px; height: 22px; fill: currentColor; }
.button-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px;
  color: var(--text); border: 1px solid var(--line); background: var(--card);
}
.button-ghost:hover { text-decoration: none; border-color: var(--muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Phone mockup: a modern iPhone Pro drawn in HTML/CSS */
.device-stage { position: relative; display: flex; justify-content: center; }
.phone {
  --w: 310px;
  position: relative; width: var(--w); height: calc(var(--w) * 2.17);
  border-radius: 56px; padding: 4px;
  /* Natural titanium edge */
  background: linear-gradient(145deg, #e6e6ea 0%, #9a9aa0 22%, #d4d4d8 45%, #7c7c82 70%, #c9c9ce 100%);
  box-shadow:
    var(--shadow),
    0 2px 4px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(255,255,255,.7),
    inset 0 0 0 2px rgba(0,0,0,.18);
}
.bezel { height: 100%; border-radius: 52px; padding: 8px; background: #050506; box-shadow: inset 0 0 0 1px #1d1d20; }
.hw {
  position: absolute; width: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #8e8e93, #d8d8dc 50%, #8e8e93);
}
.hw-action { left: -3px; top: 116px; height: 30px; }
.hw-vol-up { left: -3px; top: 168px; height: 52px; }
.hw-vol-down { left: -3px; top: 232px; height: 52px; }
.hw-side { right: -3px; top: 196px; height: 82px; }
.screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: #F2F2F7; color: #111114;
  padding: 50px 12px 22px; font-size: 12px; text-align: left;
}
/* Faint glass reflection */
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 28%);
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 98px; height: 29px; border-radius: 20px; background: #000; }
.statusbar {
  position: absolute; top: 15px; left: 0; right: 0; padding: 0 22px 0 34px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; letter-spacing: -0.2px;
}
.sb-icons { display: flex; gap: 4px; align-items: center; }
.sb-icons svg { fill: #111114; display: block; }
.sb-battery {
  position: relative; width: 22px; height: 11px; border-radius: 3.5px;
  border: 1px solid rgba(17,17,20,.4); padding: 1.5px;
}
.sb-battery::after { content: ""; position: absolute; right: -3px; top: 3.5px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(17,17,20,.4); }
.sb-battery span { display: block; height: 100%; width: 100%; border-radius: 1.5px; background: #111114; }
.navbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 4px 0 10px; }
.nav-title { font-weight: 700; font-size: 14px; }
.glass-btn {
  justify-self: end; display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(0,0,0,.10), inset 0 0 0 .5px rgba(0,0,0,.06);
}
.glass-btn.round { justify-self: start; width: 30px; padding: 0; color: #111114; }
.m-lifetime { background: #fff; border-radius: 16px; padding: 11px 12px; margin-top: 8px; }
.m-lifetime h4 { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #6C6C73; }
.m-lifetime div { display: flex; justify-content: space-between; font-size: 11.5px; padding: 3px 0; }
.m-lifetime div span { color: #6C6C73; }
.home-indicator { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 112px; height: 4px; border-radius: 3px; background: #111114; }
.m-card { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 8px; }
.m-row { display: flex; justify-content: space-between; align-items: flex-start; }
.m-kw { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.m-kw small { font-size: 15px; color: #6C6C73; font-weight: 600; letter-spacing: 0; }
.m-sub { color: #6C6C73; font-size: 11px; margin-top: 3px; }
.m-pill { background: #E3F5E8; color: #1A7F37; font-weight: 700; font-size: 11px; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.m-live { display: flex; justify-content: flex-end; margin-top: 6px; }
.m-dot { width: 7px; height: 7px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.6); } 70% { box-shadow: 0 0 0 9px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }
@media (prefers-reduced-motion: reduce) { .m-dot { animation: none; } }
.m-chart { display: block; width: 100%; height: 70px; margin: 8px 0 4px; }
.m-summary { color: #6C6C73; font-size: 10px; }
.m-summary b { color: #111114; }
.m-ranges { display: flex; justify-content: space-around; margin-top: 8px; font-size: 10px; font-weight: 700; color: #6C6C73; }
.m-ranges .on { color: #111114; background: #EDEDF0; padding: 3px 12px; border-radius: 99px; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-tile { background: #fff; border-radius: 13px; padding: 9px 10px; }
.m-tile span { display: block; color: #6C6C73; font-size: 10px; }
.m-tile b { font-size: 15px; }

.notif {
  position: absolute; right: -70px; bottom: -18px;
  width: 250px; display: flex; gap: 10px; align-items: flex-start;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18); font-size: 13px; line-height: 1.35;
}
.notif img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.notif strong { display: block; font-size: 13px; }
.notif span { color: var(--muted); }

/* iPad mockup: landscape, same drawing style as the phone */
.tablet-stage { display: flex; justify-content: center; }
.tablet {
  width: 900px; height: 630px; border-radius: 40px; padding: 4px;
  background: linear-gradient(145deg, #e6e6ea 0%, #9a9aa0 22%, #d4d4d8 45%, #7c7c82 70%, #c9c9ce 100%);
  box-shadow: var(--shadow), 0 2px 4px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.7), inset 0 0 0 2px rgba(0,0,0,.18);
}
.t-bezel { position: relative; height: 100%; border-radius: 36px; padding: 16px; background: #050506; box-shadow: inset 0 0 0 1px #1d1d20; }
.t-camera { position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1b1d24; box-shadow: inset 0 0 0 1.5px #2b2f3a; }
.t-screen {
  position: relative; height: 100%; border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: 236px 1fr; background: #F2F2F7; color: #111114; font-size: 12px; text-align: left;
}
.t-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 24%); }
.t-status { position: absolute; top: 7px; left: 18px; right: 16px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; z-index: 1; }
.t-status .sb-icons { gap: 6px; }
.t-sidebar { margin: 10px 0 10px 10px; padding: 26px 10px 10px; background: rgba(255,255,255,.75); border-radius: 18px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.t-side-head { display: flex; justify-content: space-between; }
.t-side-head .glass-btn { font-size: 18px; color: #1A7F37; }
.t-sidebar h3 { margin: 12px 4px 10px; font-size: 20px; letter-spacing: -0.3px; }
.t-row { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; margin-bottom: 4px; }
.t-row b { display: block; font-size: 13px; }
.t-row small { color: #6C6C73; font-size: 11px; }
.t-row.selected { background: #1A7F37; color: #fff; }
.t-row.selected small { color: rgba(255,255,255,.8); }
.t-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #E3F5E8; color: #1A7F37; flex: none; }
.t-row.selected .t-ico { background: rgba(255,255,255,.22); color: #fff; }
.t-ico.blue { background: #E4EEFC; color: #1D5FC9; }
.t-ico.gray { background: #ECECEF; color: #5E5E66; }
.t-nav-buttons .glass-btn.round { color: #111114; }
.t-detail { padding: 26px 14px 12px; overflow: hidden; }
.t-nav { margin-top: 0; }
.t-nav-buttons { justify-self: end; display: flex; gap: 6px; }
.t-nav-buttons .glass-btn.round { justify-self: auto; }
.t-columns { display: grid; grid-template-columns: 1fr 200px; gap: 10px; align-items: start; }
.t-chart { height: 200px; }
.t-tiles { grid-template-columns: repeat(3, 1fr); }
.t-right .m-lifetime:first-child { margin-top: 0; }
.t-link { display: flex; justify-content: space-between; font-size: 13px; }
.t-link span { color: #9A9AA0; font-size: 16px; line-height: 1; }
@media (max-width: 960px) { .tablet { zoom: .78; } }
@media (max-width: 760px) { .tablet { zoom: .6; } }
@media (max-width: 560px) { .tablet { zoom: .4; } }

/* Sections */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.8px; line-height: 1.1; }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 2px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); vertical-align: 2px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 24px 24px 76px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-ink);
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.compare { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 110px; }
.compare tr:last-child td { border-bottom: none; }
.yes { color: var(--accent); font-weight: 800; }
.no { color: var(--muted); }
.compare-note { text-align: center; color: var(--muted); font-size: 15px; margin: 18px auto 0; max-width: 600px; }

.privacy-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--card);
  border: 1px solid var(--line); border-radius: 28px; padding: 36px;
}
.privacy-panel .shield { width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.privacy-panel .shield svg { width: 46px; height: 46px; }
.privacy-panel h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.5px; }
.privacy-panel p { margin: 0; color: var(--muted); }
.privacy-panel ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; font-size: 15px; }
.privacy-panel li::before { content: "✓"; color: var(--accent); margin-right: 6px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 8px; }
.faq .answer ul { margin: 0; padding-left: 20px; }

.contact-card { max-width: 760px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px 24px; }
.contact-card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.5px; }
.contact-card p { margin: 0 auto; color: var(--muted); max-width: 520px; }
.mail-button { display: inline-block; margin: 22px 0 14px; padding: 14px 26px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.mail-button:hover { text-decoration: none; filter: brightness(1.05); }
.contact-card .small { font-size: 14px; }

/* Legal pages */
.legal-hero { padding-top: 56px; padding-bottom: 24px; }
.legal-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 46px); letter-spacing: -1px; }
.legal-hero p { margin: 6px 0 0; color: var(--muted); }
.legal { max-width: 760px; padding-bottom: 64px; }
.legal section { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 14px; }
.legal h2 { margin: 0 0 10px; font-size: 21px; }
.legal p { margin: 0 0 10px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0 0 10px; padding-left: 22px; }
.legal .summary { background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--card); }
.muted { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .cta-row, .hero-points { justify-content: center; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .notif { right: 50%; transform: translateX(230px); }
}
@media (max-width: 640px) {
  .phone { --w: 290px; }
  .site-nav { gap: 14px; font-size: 14px; }
  .site-nav .hide-sm { display: none; }
  .hero { padding-top: 44px; }
  .features { grid-template-columns: 1fr; }
  .notif { position: relative; right: auto; top: auto; transform: none; margin: -40px auto 0; }
  .device-stage { flex-direction: column; align-items: center; }
  .privacy-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; }
  .privacy-panel ul { justify-content: center; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 70px; }
  section.block { padding: 60px 0; }
}
