:root {
  --teal: #1A6B6B;
  --teal-deep: #114C4C;
  --teal-soft: #E6F0EF;
  --ink: #142424;
  --muted: #4E6161;
  --line: #DCE4E3;
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --accent: #F2B544;
  --radius: 18px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--teal); }
.nav .signin { color: var(--teal); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; line-height: 1.2;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal-soft); }
.btn-light { background: var(--white); color: var(--teal-deep); }
.nav .btn { padding: 9px 16px; font-size: 15px; color: var(--white); }
@media (max-width: 760px) {
  .nav .hide-sm { display: none; }
  .brand img { height: 28px; }
}

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--teal-deep); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 18px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small { font-size: 14px; color: var(--muted); }
.hero .small { margin-top: 16px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 44px; } }

/* Phone mock-up, built in HTML so it stays sharp and light */
.phone {
  background: var(--ink); border-radius: 40px; padding: 12px; max-width: 330px; margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(17, 76, 76, 0.45);
}
.screen { background: var(--paper); border-radius: 30px; padding: 22px 16px; min-height: 520px; display: flex; flex-direction: column; gap: 12px; }
.screen .hello { font-size: 13px; color: var(--muted); margin: 0; }
.screen .name { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.balance { background: var(--teal); color: var(--white); border-radius: 20px; padding: 18px; }
.balance .label { font-size: 12px; opacity: 0.8; margin: 0; }
.balance .amount { font-family: 'DM Mono', ui-monospace, monospace; font-size: 30px; font-weight: 500; margin: 4px 0 6px; }
.balance .fresh { font-size: 11px; opacity: 0.75; margin: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: var(--white); border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); }
.stat p { margin: 0; font-size: 11px; color: var(--muted); }
.stat strong { font-family: 'DM Mono', ui-monospace, monospace; font-size: 16px; font-weight: 500; }
.tx { background: var(--white); border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.tx span:last-child { font-family: 'DM Mono', ui-monospace, monospace; }
.tag { font-size: 10px; background: var(--paper); border-radius: 6px; padding: 2px 6px; color: var(--muted); margin-left: 6px; }
.share { background: var(--teal-soft); border-radius: 14px; padding: 10px 12px; font-size: 12px; color: var(--teal-deep); }

/* Sections */
section { padding: 64px 0; }
.section-white { background: var(--white); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-white .card { background: var(--paper); }
.card p { margin: 0; color: var(--muted); }
.card .num { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--teal); color: var(--white); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 10px; width: 5px; height: 8px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Sharing levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr; } }
.level { border-radius: var(--radius); padding: 22px; border: 2px solid var(--line); background: var(--white); }
.level.on { border-color: var(--teal); }
.level h3 { margin-bottom: 4px; }
.level p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.price.featured { border: 2px solid var(--teal); }
.price .amount { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; }
.price .amount span { font-size: 16px; font-weight: 500; color: var(--muted); }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--teal); font-weight: 700; }
details[open] summary::after { content: '\2212'; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Call to action band */
.band { background: var(--teal); color: var(--white); border-radius: 28px; padding: 48px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: var(--white); margin: 0 0 6px; }
.band p { margin: 0; opacity: 0.85; }

/* Footer */
.site-footer { padding: 48px 0 40px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr 1fr; gap: 24px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--ink); font-size: 15px; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* ---------- Guides, tools and other content pages ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 18px; }
.crumbs.wrap { max-width: 780px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.article { padding: 28px 0 64px; }
.article .wrap { max-width: 780px; }
.article h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 10px 0 14px; }
.article h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 12px; }
.article h3 { margin: 26px 0 8px; }
.article p, .article li { font-size: 17px; line-height: 1.65; }
.article ul, .article ol { padding-left: 22px; }
.meta { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.answer { background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 12px; padding: 18px 20px; margin: 0 0 26px; }
.answer p { margin: 0; }
.answer strong:first-child { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-deep); margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 16px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper); font-weight: 600; }
td.num, th.num { text-align: right; font-family: 'DM Mono', ui-monospace, monospace; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.note { font-size: 15px; color: var(--muted); }
.sources { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; }
.sources ul { padding-left: 18px; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.related a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; }
.related a span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.related a:hover { border-color: var(--teal); }
.inline-cta { background: var(--teal); color: var(--white); border-radius: var(--radius); padding: 22px 24px; margin: 36px 0 0; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inline-cta p { margin: 0; font-size: 17px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hub-grid .card h3 a { color: var(--ink); text-decoration: none; }
.hub-grid .card h3 a:hover { color: var(--teal); }

/* Calculators */
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 28px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.calc legend, .calc label.field { font-weight: 600; display: block; margin-bottom: 8px; }
.choices { display: grid; gap: 8px; }
.choices label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 16px; }
.choices input { accent-color: var(--teal); }
.calc input[type=number], .calc select { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.calc .result { background: var(--teal); color: var(--white); border-radius: 14px; padding: 16px 18px; margin-top: 6px; }
.calc .result .big { font-family: 'DM Mono', ui-monospace, monospace; font-size: 32px; margin: 2px 0; }
.calc .result p { margin: 0; font-size: 15px; opacity: 0.92; }

@media (max-width: 700px) {
  .related, .hub-grid { grid-template-columns: 1fr; }
}
