/* Tank landing site. Shared styles for index, support and privacy. */

:root {
  --mint: #00E6B4;
  --mint-pale: #E2FBF5;
  --navy: #000E2A;
  --navy-2: #0D1D3F;
  --paper: #F5F7F8;
  --white: #FFFFFF;
  --ink: #000E2A;
  --ink-2: #4B5565;
  --ink-3: #8A93A3;
  --line: #E4E8ED;
  --high: #FF453A;
  --avg: #FFD60A;
  --ahead: #0A84FF;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --pill: 999px;

  --max: 1160px;
  --gutter: 24px;
  --inset: 12px;

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Type ===== */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
}
.h-xl { font-size: clamp(44px, 6.6vw, 92px); }
.h-lg { font-size: clamp(36px, 4.6vw, 60px); }
.mint { color: var(--mint); }
.lede { font-size: 18px; color: var(--ink-2); margin: 0; }
.title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--pill);
  background: var(--mint-pale); color: var(--navy);
}
.eyebrow.solid { background: var(--mint); }
.eyebrow.on-dark { background: rgba(255, 255, 255, 0.7); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: var(--pill);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: scale(1.04); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.app-badge { display: inline-block; transition: transform .2s ease; }
.app-badge:hover { transform: scale(1.04); }
.app-badge img { height: 52px; width: auto; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--navy); padding: 8px 14px; border-radius: var(--pill); transition: background .2s ease; }
.nav-links a:hover { background: var(--paper); }
.nav-links a.nav-cta { background: var(--navy); color: var(--white); margin-left: 8px; padding: 9px 18px; }
.nav-links a.nav-cta:hover { background: var(--navy-2); }
.nav-burger { display: none; background: none; border: 0; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
  }
  .nav-links.open a { font-size: 17px; padding: 12px 14px; }
  .nav-links.open a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ===== Panels (inset rounded colour blocks) ===== */
.panel { margin: 0 var(--inset); border-radius: var(--r-xl); }
.panel.mint { background: var(--mint); color: var(--navy); }
.panel.navy { background: var(--navy); color: var(--white); }
.panel.pale { background: var(--mint-pale); color: var(--navy); }
@media (max-width: 760px) { .panel { border-radius: var(--r-lg); margin: 0 8px; } }

/* ===== Hero ===== */
.hero { padding: 72px 0 48px; text-align: center; }
.hero h1 { max-width: 900px; margin: 0 auto 20px; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; margin: 0 auto 28px; color: rgba(0, 14, 42, 0.82); }
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-price { font-size: 14px; color: rgba(0, 14, 42, 0.75); }

.hero-cards { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; margin-top: 56px; text-align: left; align-items: stretch; }
.hcard { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.hcard-text { padding: 28px 28px 20px; }
.hcard h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
.hcard p { font-size: 15px; margin: 0; }
.hcard.dark { background: var(--navy); color: var(--white); }
.hcard.dark p { color: rgba(255, 255, 255, 0.72); }
.hcard.light { background: var(--white); color: var(--navy); }
.hcard.light p { color: var(--ink-2); }
/* The phone fills the rest of the card and runs off its bottom edge, so it always sits on the base. */
.hcard-phone { flex: 1 1 0; min-height: 0; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; padding-top: 8px; }
.hcard-phone img { width: 230px; max-width: 70%; }

@media (max-width: 980px) {
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hcard.demo { grid-column: 1 / -1; grid-row: 1; min-height: 0; }
  .hcard-phone { flex: none; height: 340px; }
}
@media (max-width: 620px) {
  .hero { padding: 48px 0 24px; }
  .hero-cards { grid-template-columns: 1fr; margin-top: 40px; }
  .hcard { min-height: 0; }
  .hcard-phone { height: 300px; }
}

/* Cost-to-fill demo */
.demo { padding: 24px; }
.demo-head { margin-bottom: 16px; }
.demo-head h2 { margin: 0; }
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); transition: background .25s ease; }
.demo-list li.best { background: var(--mint-pale); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.low { background: var(--mint); } .dot.avg { background: var(--avg); } .dot.high { background: var(--high); }
.demo-name { font-weight: 600; font-size: 15px; flex: 1; }
.demo-name small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.demo-cpl { font-size: 14px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-price { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; min-width: 58px; text-align: right; }
.demo-slider { margin-top: 18px; }
.demo-slider label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.demo-slider output { font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--navy); height: 24px; margin: 0; }
.demo-save { margin: 14px 0 0; font-size: 15px; font-weight: 600; min-height: 24px; }
.demo-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }

/* ===== Trust row ===== */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 48px 0 8px; }
.trust-item { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; }
.trust-item .icon, .icon-circle {
  width: 48px; height: 48px; border-radius: 50%; background: var(--mint-pale); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head .display { margin: 0 0 14px; }
.section-head .eyebrow { margin-bottom: 16px; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

/* ===== Feature tabs ===== */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tabs button {
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: var(--pill);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.tabs button:hover { border-color: var(--navy); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tab-panel { background: var(--paper); border-radius: var(--r-xl); display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; }
.tab-text { padding: 56px; }
.tab-text .title { margin-bottom: 12px; }
.tab-text p { color: var(--ink-2); margin: 0 0 20px; max-width: 420px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000E2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tab-phone { display: flex; justify-content: center; align-items: flex-start; height: 480px; padding-top: 48px; overflow: hidden; }
.tab-phone img { width: 280px; max-width: 70%; filter: drop-shadow(0 18px 28px rgba(0, 14, 42, 0.16)); }
.js .tab-panel[hidden] { display: none; }
.js .tab-panel { animation: fade .35s ease; }
html:not(.js) .tab-panel { margin-bottom: 16px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .tabs { margin-bottom: 24px; }
  .tab-panel { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .tab-text { padding: 32px 24px 8px; }
  .tab-phone { height: 360px; padding-top: 24px; }
}

/* ===== Tank Pro ===== */
.pro { padding: 72px 0; }
.pro-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.pro-head > * { min-width: 0; }
.pro-head .display { margin: 16px 0 14px; }
.pro-head .lede { color: rgba(255, 255, 255, 0.75); max-width: 480px; }
.pro-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.pro-list li { display: flex; gap: 16px; align-items: flex-start; }
.pro-list .icon-circle { background: var(--mint); color: var(--navy); width: 40px; height: 40px; }
.pro-list strong { display: block; font-size: 17px; }
.pro-list span { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.pro-shots { display: flex; gap: 16px; justify-content: center; }
.ph {
  flex: 0 1 200px; min-width: 0; aspect-ratio: 9 / 19.2; border-radius: 32px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-weight: 600; font-size: 15px; gap: 4px;
}
.ph small { font-weight: 400; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.ph:nth-child(2) { margin-top: 40px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.plan { border-radius: var(--r-lg); padding: 28px; background: var(--navy-2); display: flex; flex-direction: column; }
.plan h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.75); }
.plan .tag { font-size: 12px; font-weight: 700; background: var(--white); color: var(--navy); padding: 4px 10px; border-radius: var(--pill); }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -0.01em; }
.plan .price span { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.plan .note { font-size: 15px; margin: 12px 0 0; color: rgba(255, 255, 255, 0.72); }
.plan.year { background: var(--mint); color: var(--navy); }
.plan.year h3, .plan.year .note { color: var(--navy); }
.pro-fine { margin: 24px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); max-width: 760px; }

@media (max-width: 860px) {
  .pro { padding: 48px 0; }
  .pro-head { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; margin-top: 40px; }
}

/* ===== Coverage ===== */
.coverage-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.state { background: var(--paper); border-radius: var(--r-md); padding: 20px 8px 16px; text-align: center; transition: background .2s ease, transform .2s ease; }
.state:hover { background: var(--mint-pale); transform: translateY(-3px); }
.state-code { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--navy); }
.state-status { white-space: nowrap; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.state-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.state.delayed .state-status::before { background: var(--avg); }
.state.ahead .state-status::before { background: var(--ahead); }
.coverage-foot { margin: 24px auto 0; text-align: center; color: var(--ink-2); font-size: 15px; max-width: 620px; }
@media (max-width: 860px) { .coverage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .state { padding: 18px 4px 14px; } .state-status { font-size: 11px; gap: 4px; } }

/* ===== Why Tank ===== */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item .icon-circle { margin-bottom: 16px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.why-item h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 8px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; gap: 28px; } }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 4px;
  font-weight: 600; font-size: 17px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 400; line-height: 1; color: var(--navy); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--ink-2); }
.faq-item .answer { padding: 0 4px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 680px; }
.faq-item .answer p { margin: 0 0 10px; }
.faq-item .answer p:last-child { margin-bottom: 0; }
.faq-item .answer ul { margin: 8px 0 10px; padding-left: 20px; }
.faq-item .answer li { margin-bottom: 4px; }
.faq-item .answer a, .prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-group { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 56px 0 16px; }
.faq-group:first-child { margin-top: 0; }

/* ===== Download CTA ===== */
.cta { padding: 88px 0; text-align: center; }
.cta .display { max-width: 760px; margin: 0 auto 16px; }
.cta p { font-size: 18px; margin: 0 auto 28px; max-width: 480px; color: rgba(0, 14, 42, 0.82); }
.cta .meta { margin-top: 16px; font-size: 14px; color: rgba(0, 14, 42, 0.7); }
@media (max-width: 760px) { .cta { padding: 64px 0; } }

/* ===== Footer ===== */
footer { padding: 56px 0 40px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-logo img { height: 22px; width: auto; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.foot-links a:hover { color: var(--ink-2); }
.foot-fine { max-width: var(--max); margin: 28px auto 0; padding: 24px var(--gutter) 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* ===== Scroll reveal ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .tab-panel { animation: none; }
  .btn:hover, .app-badge:hover, .state:hover { transform: none; }
}

/* ===== Sub pages (support, privacy) ===== */
.page-header { padding: 64px 0; text-align: center; }
.page-header .display { margin: 16px auto 12px; max-width: 760px; }
.page-header .mint { color: inherit; }
.page-header p { font-size: 18px; color: var(--ink-2); margin: 0; }
.page-body { max-width: 808px; margin: 0 auto; padding: 56px var(--gutter) 96px; }

.contact-card { background: var(--paper); border-radius: var(--r-lg); padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 64px; }
.contact-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.contact-body h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.contact-body p { margin: 0 0 16px; font-size: 16px; color: var(--ink-2); }
.email-link { word-break: break-all; }
@media (max-width: 560px) { .contact-card { flex-direction: column; } }

.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 48px 0 10px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose strong { color: var(--navy); }
.callout { background: var(--paper); border-radius: var(--r-md); padding: 24px; margin-bottom: 48px; }
.callout p { margin: 0; font-size: 18px; color: var(--navy); font-weight: 500; }
.effective { margin-top: 48px; font-size: 14px; color: var(--ink-3); }

/* Cost card on narrow phones: c/L sits under the dollar figure so nothing gets cut off. */
@media (max-width: 480px) {
  .demo { padding: 20px; }
  .demo-list li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; row-gap: 0; padding: 12px 14px; }
  .demo-list .dot { grid-row: 1 / span 2; }
  .demo-name { grid-row: 1 / span 2; }
  .demo-price { grid-column: 3; grid-row: 1; line-height: 1.1; }
  .demo-cpl { grid-column: 3; grid-row: 2; text-align: right; font-size: 12px; }
}

/* Feature tabs on phones: a tidy two-by-two grid so every option is visible. */
@media (max-width: 520px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 11px 10px; }
}

/* Coverage tiles on phones: the status dot moves to the tile's corner so the label has the full width,
   and the label may wrap rather than spill out of the tile. */
@media (max-width: 860px) {
  .state { position: relative; }
  .state-status { display: block; white-space: normal; text-align: center; line-height: 1.2; }
  .state-status::before { position: absolute; top: 9px; right: 9px; }
}

/* Tank Pro heading block: quote under the intro, feature list alongside. */
.pro-head { align-items: start; }
.pro-head .pro-list { margin-top: 0; }
.pro-quote { margin: 28px 0 0; font-size: 18px; font-weight: 600; color: var(--mint); max-width: 420px; }

/* Cost to fill tab: anchor the phone to the bottom of the panel so the station card and its dollar price are visible. */
.tab-phone.bottom { align-items: stretch; padding: 40px 0; }
.tab-phone.bottom img {
  height: 100%; object-fit: cover; object-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
@media (max-width: 860px) { .tab-phone.bottom { padding: 8px 0 32px; } }

/* Header download button: on phones it sits beside the menu icon so it's always visible,
   and the copy inside the open menu is hidden to avoid showing it twice. */
.nav-cta-mobile { display: none; }
@media (max-width: 860px) {
  .nav-inner { gap: 12px; }
  .nav-logo { margin-right: auto; }
  .nav-cta-mobile {
    display: inline-flex; align-items: center;
    background: var(--navy); color: var(--white);
    font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: var(--pill);
  }
  .nav-links.open a.nav-cta { display: none; }
}
