/* Tankround marketing page
   Royal navy and tide teal on cool paper. Archivo for display, Figtree for text. */
@import url('fonts.css');

:root {
  --ink: #0A1730;
  --navy: #14306B;
  --navy-deep: #0C1F47;
  --teal: #3DD6C4;
  --teal-deep: #0C8F84;
  --paper: #F3F6FB;
  --white: #FFFFFF;
  --rule: #D5DEEC;
  --slate: #4D5F80;
  --display: 'Archivo', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg, iframe { display: block; }
iframe { border: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

h2 { font: 800 clamp(32px, 4.600vw, 54px)/1.02 var(--display); letter-spacing: -.025em; text-wrap: balance; }
h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.01em; }
.section-lede { margin-top: 18px; max-width: 62ch; color: var(--slate); font-size: 19px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border-radius: 14px; border: 2px solid transparent;
  background: var(--teal); color: #042B27; font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.button:hover { filter: brightness(1.07); }
.button:active { transform: translateY(1px); }
.button.small { min-height: 44px; padding: 0 18px; font-size: 15.500px; border-radius: 12px; }
.button.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.button.ghost:hover { border-color: rgba(255,255,255,.6); filter: none; }
.button.dark { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding-bottom: 72px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 620px at 82% 46%, rgba(20,48,107,.95), transparent 70%); }
.ripples { position: absolute; width: 1100px; height: 1100px; right: -300px; top: -140px; color: rgba(61,214,196,.16); stroke-width: 1.200; }
.hero > * { position: relative; }
.hero > .ripples { position: absolute; }

.nav { display: flex; align-items: center; gap: 28px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.015em; }
.brand .wordmark { display: block; height: 30px; width: auto; }
.brand span span { font-weight: 500; opacity: .72; }
.nav-links { display: none; gap: 28px; margin-left: auto; font-size: 16px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .82; }
.nav-links a:hover { opacity: 1; }
.nav .button { margin-left: auto; }

.hero-grid { display: grid; gap: 48px; padding-top: 36px; }
.hero h1 { font: 800 clamp(42px, 7vw, 84px)/.98 var(--display); letter-spacing: -.025em; }
.hero .lede { margin-top: 26px; max-width: 34em; font-size: clamp(18px, 1.700vw, 21px); line-height: 1.5; color: #C5D2EA; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-foot { margin-top: 18px; color: #8FA3C8; font-size: 15.500px; }

.hero-phone { justify-self: center; }
.phone {
  width: 324px; height: 644px; padding: 12px; border-radius: 48px;
  background: #050B18; border: 1px solid #2A3C63;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.03);
}
.phone iframe { width: 390px; height: 806px; border-radius: 47px; transform: scale(.76923); transform-origin: 0 0; background: #081427; }
.phone-note { margin-top: 16px; text-align: center; color: #8FA3C8; font-size: 15px; }

/* ---------- One tank, one year ---------- */
.year { padding: 96px 0 88px; }
.pipe { margin-top: 56px; display: grid; gap: 0; counter-reset: none; }
.pipe li { position: relative; padding: 0 0 34px 44px; }
.pipe li::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: -6px; width: 6px; background: var(--navy); border-radius: 3px; }
.pipe li:last-child::before { bottom: auto; height: 0; }
.pipe li::after { content: ''; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 6px solid var(--teal-deep); }
.pipe .when { display: block; color: var(--teal-deep); font-weight: 700; font-size: 15.500px; }
.pipe h3 { margin-top: 4px; }
.pipe p { margin-top: 8px; color: var(--slate); font-size: 16.500px; line-height: 1.5; max-width: 44ch; }

/* ---------- Chat band ---------- */
.chat-band { background: var(--white); border-block: 1px solid var(--rule); padding: 88px 0; }
.chat-grid { display: grid; gap: 48px; align-items: center; }
.plain-list { margin-top: 26px; display: grid; gap: 12px; max-width: 56ch; }
.plain-list li { position: relative; padding-left: 30px; }
.plain-list li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--teal-deep); border-bottom: 3px solid var(--teal-deep); transform: rotate(-45deg) scale(.8); transform-origin: left; }

.chat { width: min(400px, 100%); justify-self: center; border-radius: 26px; overflow: hidden; background: #ECE5DB; box-shadow: 0 30px 60px rgba(20,48,107,.18); border: 1px solid var(--rule); }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-head img { border-radius: 50%; }
.chat-head b { display: block; font-size: 16.500px; line-height: 1.2; }
.chat-head span { font-size: 13.500px; opacity: .75; }
.chat-body { padding: 18px 14px 22px; display: grid; gap: 7px; font-size: 15.500px; line-height: 1.4; }
.bubble { max-width: 86%; padding: 9px 12px 7px; border-radius: 4px 14px 14px 14px; background: #fff; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble.out { justify-self: end; background: #D5F5CE; border-radius: 14px 4px 14px 14px; margin: 6px 0; }
.bubble time { display: block; text-align: right; font-size: 11.500px; color: #667781; margin-top: 2px; }
.slot { max-width: 86%; background: #fff; color: #0C6DAE; text-align: center; font-weight: 600; padding: 10px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.slot.picked { outline: 2px solid var(--teal-deep); color: var(--teal-deep); }

/* ---------- Features ---------- */
.features { padding: 96px 0; }
.feature-list { margin-top: 40px; border-top: 2px solid var(--ink); }
.feature-list > div { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.feature-list dt { font: 700 clamp(21px, 2.200vw, 27px)/1.15 var(--display); letter-spacing: -.015em; }
.feature-list dd { color: var(--slate); max-width: 58ch; }

/* ---------- Office ---------- */
.office { padding: 0 0 96px; }
.browser { margin-top: 44px; border-radius: 16px; overflow: hidden; border: 1px solid #1E2F55; background: #081427; box-shadow: 0 40px 80px rgba(20,48,107,.25); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0F2140; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A3F68; }
.browser-bar span { margin-left: 14px; font-size: 13px; color: #8FA3C8; background: #081427; padding: 4px 14px; border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-view { position: relative; overflow: hidden; height: 400px; }
.browser-view iframe { width: 1280px; height: 760px; transform-origin: 0 0; }

/* ---------- Plans band ---------- */
.plans-band { background: var(--navy); color: #fff; padding: 88px 0; }
.plans-band .section-lede { color: #C5D2EA; }
.plans-grid { display: grid; gap: 44px; align-items: center; }
.calc { background: var(--navy-deep); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.calc > label, .calc legend { font-weight: 600; color: #C5D2EA; font-size: 16px; padding: 0; }
.calc-n output { font: 800 56px/1 var(--display); letter-spacing: -.03em; }
.calc input[type=range] { width: 100%; height: 32px; accent-color: var(--teal); cursor: pointer; }
.calc fieldset { border: 0; padding: 0; margin: 6px 0 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.calc fieldset legend { margin-bottom: 10px; }
.calc fieldset label { position: relative; }
.calc fieldset input { position: absolute; opacity: 0; inset: 0; }
.calc fieldset span { display: grid; place-items: center; min-width: 76px; height: 46px; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); font-weight: 700; cursor: pointer; }
.calc fieldset input:checked + span { background: var(--teal); border-color: var(--teal); color: #042B27; }
.calc fieldset input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.calc-out { margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 14px; }
.calc-out span { display: block; font: 800 clamp(40px, 6vw, 60px)/1 var(--display); letter-spacing: -.03em; color: var(--teal); }
.calc-out div + div span { font-size: 30px; color: #fff; }
.calc-out small { color: #C5D2EA; font-size: 16px; }

/* ---------- Waste ---------- */
.waste { padding: 96px 0; }
.waste-grid { margin-top: 40px; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.waste-grid > div { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.waste-grid p { margin-top: 10px; color: var(--slate); max-width: 56ch; }

/* ---------- Pricing ---------- */
.pricing { background: var(--white); border-block: 1px solid var(--rule); padding: 88px 0; }
.price-grid { margin-top: 44px; display: grid; gap: 20px; max-width: 880px; }
.price { border: 1px solid var(--rule); border-radius: 24px; padding: 30px; display: grid; gap: 6px; align-content: start; background: var(--paper); }
.price.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.price h3 { font-size: 26px; }
.price-for { color: var(--slate); }
.price.featured .price-for { color: #C5D2EA; }
.amount { font: 800 58px/1 var(--display); letter-spacing: -.035em; margin: 16px 0 8px; }
.amount small { font: 500 17px/1 var(--body); letter-spacing: 0; color: var(--slate); }
.price.featured .amount small { color: #C5D2EA; }
.price ul { display: grid; gap: 10px; margin: 10px 0 24px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 16.500px; }
.price.featured ul { border-color: rgba(255,255,255,.16); }
.price .button { justify-self: start; }
.price-note { margin-top: 22px; color: var(--slate); font-size: 15.500px; max-width: 70ch; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; }
.faq-list { margin-top: 36px; border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 clamp(19px, 2vw, 22px)/1.25 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--slate); max-width: 64ch; }

/* ---------- Contact ---------- */
.contact { background: var(--teal); color: #042B27; padding: 88px 0; }
.contact .section-lede { color: #0A4A44; margin-bottom: 28px; }
.contact .button { background: var(--ink); color: #fff; }
.contact-grid { display: grid; gap: 44px; align-items: start; }
.callback { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 8px; }
.callback label { font-weight: 600; font-size: 15.500px; margin-top: 8px; }
.callback input { height: 52px; border-radius: 12px; border: 1.500px solid var(--rule); padding: 0 14px; font: inherit; color: inherit; background: var(--paper); }
.callback input:focus { outline: none; border-color: var(--navy); background: #fff; }
.callback .button { margin-top: 16px; background: var(--navy); }
.form-note { color: var(--slate); font-size: 15px; min-height: 1.500em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C5D2EA; padding: 40px 0 48px; font-size: 15.500px; }
.footer .brand { color: #fff; font-size: 19px; }
.footer .brand .wordmark { height: 22px; }
.footer-grid { display: grid; gap: 14px; }
.footer .mock { color: #8FA3C8; }

/* ---------- Wider screens ---------- */
@media (min-width: 760px) {
  .feature-list > div { grid-template-columns: minmax(240px, 1fr) 1.600fr; gap: 40px; padding: 26px 0; align-items: baseline; }
  .waste-grid { grid-template-columns: 1fr 1fr; gap: 0 56px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: auto 1fr; align-items: center; column-gap: 40px; }
  .footer .mock { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav .button { margin-left: 0; }
  .hero { padding-bottom: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; padding-top: 44px; padding-bottom: 76px; }
  .hero-phone { justify-self: end; }
  .chat-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; }
  .plans-grid { grid-template-columns: minmax(0, 1.100fr) minmax(0, 1fr); gap: 72px; }
  .contact-grid { grid-template-columns: minmax(0, 1.200fr) minmax(0, 1fr); gap: 72px; }

  /* The year becomes one pipe run, left to right. */
  .pipe { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
  .pipe li { padding: 52px 0 0; }
  .pipe li::before { left: 6px; right: -34px; top: 9px; bottom: auto; width: auto; height: 6px; }
  .pipe li:last-child::before { height: 6px; right: 0; background: linear-gradient(90deg, var(--navy), transparent); }
  .pipe p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Small phones: keep the top bar on one line */
.brand, .nav .button { white-space: nowrap; }
@media (max-width: 480px) {
  .nav { gap: 12px; }
  .nav .brand { font-size: 17px; gap: 9px; }
  .nav .brand .wordmark { height: 25px; }
  .nav .button { padding: 0 13px; font-size: 14.5px; }
}

/* Pricing: currency switch and founding offer */
.pricing-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.cur-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); }
.cur-switch button { height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: none; font: 600 16px/1 var(--body); color: var(--slate); cursor: pointer; }
.cur-switch button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.founding { margin-top: 32px; max-width: 880px; display: grid; gap: 4px; padding: 18px 22px; border-radius: 18px; background: #E3F7F4; border: 1px solid #B9E9E2; color: #064E48; }
.founding strong { font: 700 19px/1.25 var(--display); }
.founding span { font-size: 16.5px; }
.pricing .price-grid { margin-top: 20px; }
.founder-price { color: var(--teal-deep); font-weight: 600; font-size: 15.5px; margin-top: -2px; }
.price.featured .founder-price { color: var(--teal); }

/* Brand lockup: product name over the company */
.brand-words { display: grid; line-height: 1; gap: 4px; }
.brand-words b { font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.brand-words small { font: 500 12.5px/1 var(--body); letter-spacing: .01em; opacity: .7; }
.footer .brand-words b { font-size: 20px; }
@media (max-width: 480px) { .nav .brand-words b { font-size: 19px; } .nav .brand-words small { font-size: 11.5px; } }
.contact-direct { margin-top: 14px; font-size: 16px; opacity: .85; } .contact-direct a { font-weight: 600; } .founding a { color: inherit; font-weight: 700; }

