/* Worthberry website. Colours and type from Branding/brand-guide.md (chosen direction: Sunrise mark, Upward colours). */
/* Fonts are self-hosted (SIL Open Font Licence, see fonts/OFL-*.txt), so no request goes to Google. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/site/fonts/bricolage-grotesque-800.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/site/fonts/manrope.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
:root {
  --skin: #14213D;      /* Ink: headings, dark slabs, primary buttons, footer */
  --skin-2: #1C2C4F;    /* raised surfaces on ink */
  --flesh: #8FE0B4;     /* Mint: accents on ink */
  --toast: #4C5FD5;     /* Blueberry: the berry, large shapes and markers */
  --toast-text: #3546B0;/* blueberry for small text on light (7.3:1) */
  --toast-light: #9AA8F0;/* blueberry on ink (7:1) */
  --berry-btn: #3F51C4; /* blueberry call-to-action buttons (6.6:1 with white) */
  --sprout: #1F6F4A;    /* Sprout: links, positive numbers, the leaf */
  --crumb: #F2F7F4;     /* Mist: page background */
  --paper: #FFFFFF;
  --ink: #14213D;
  --muted: #3E4A63;
  --sage: #B9C3D6;      /* secondary text on ink (8:1) */
  --line: #D5E6DC;
  --head: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--crumb); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sprout); text-underline-offset: 3px; }
a:hover { color: var(--skin); }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--flesh); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--skin); color: var(--crumb); padding: 10px 16px; border-radius: 10px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Type: Bricolage for display, DM Sans for reading */
h1, h2, h3 { font-family: var(--head); font-weight: 800; color: var(--skin); margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.94; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }

/* Buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 17px/1 var(--body); text-decoration: none; cursor: pointer; background: var(--skin); color: var(--crumb); transition: background .15s; white-space: nowrap; }
.btn:hover { background: #22325A; color: var(--crumb); }
.btn.flesh { background: var(--flesh); color: var(--skin); }
.btn.flesh:hover { background: #AEEACA; color: var(--skin); }
.btn.quiet { background: transparent; color: var(--skin); box-shadow: inset 0 0 0 2px var(--skin); }
.btn.quiet:hover { background: var(--skin); color: var(--crumb); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: var(--skin); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--crumb); }
.logo:hover { color: var(--crumb); }
.logo svg { width: 38px; height: 38px; }
.logo .t { color: var(--toast-light); }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { color: var(--sage); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current] { color: var(--crumb); }
.nav a[aria-current] { box-shadow: 0 2px 0 var(--flesh); }
.nav .btn { margin-left: 4px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--crumb); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero { background: var(--skin); color: var(--crumb); padding: 48px 0 72px; overflow: hidden; }
.hero h1 { color: var(--crumb); max-width: 8.5em; }
.hero .lead { color: var(--sage); margin: 24px 0 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero-note { font-size: 15px; color: var(--sage); margin-top: 14px; }

/* Waitlist form */
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.waitlist input { flex: 1 1 240px; min-height: 52px; border-radius: 999px; border: 2px solid transparent; padding: 0 22px; font: 17px var(--body); color: var(--ink); background: var(--paper); min-width: 0; }
.waitlist input:focus { outline: none; border-color: var(--flesh); }
.on-light .waitlist input { border-color: var(--line); }
.on-light .waitlist input:focus { border-color: var(--skin); }
.form-note { font-size: 15px; margin: 12px 0 0; min-height: 1.6em; }
.form-note.ok { color: var(--flesh); font-weight: 600; }
.on-light .form-note.ok { color: var(--skin); }
.form-note.err { color: #FFB4B4; }
.on-light .form-note.err { color: #B42B2B; }

/* The net worth calculator */
.calc { background: var(--crumb); color: var(--ink); border-radius: 28px; padding: 28px; position: relative; }
.calc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 4px; padding-right: 64px; }
.calc .sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; padding-right: 64px; }
.calc .mark { position: absolute; top: 20px; right: 22px; width: 52px; height: 52px; }
.field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.field label { font-weight: 500; font-size: 16px; }
.field output { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--skin); font-variant-numeric: tabular-nums; }
.field input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--toast-text); margin: 8px 0 2px; height: 28px; }
.result { margin-top: 14px; background: var(--skin); color: var(--crumb); border-radius: 20px; padding: 20px 22px; }
.result-label { color: var(--sage); font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.split { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin: 14px 0 2px; background: var(--skin-2); }
.split .sp-own { background: var(--flesh); transition: width .2s ease; }
.split .sp-owe { background: var(--toast-light); transition: width .2s ease; }
.split-key { display: flex; gap: 14px; font-size: 13px; color: var(--sage); margin-top: 6px; }
.split-key span { display: inline-flex; align-items: center; gap: 6px; }
.split-key i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.split-key .sp-own { background: var(--flesh); }
.split-key .sp-owe { background: var(--toast-light); }
.result .big { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; color: var(--crumb); }
.result p { margin: 8px 0 0; color: var(--sage); font-size: 16px; }
.result strong { color: var(--flesh); font-weight: 600; }
.calc .fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 16px; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--skin); color: var(--crumb); }
.dark h2, .dark h3 { color: var(--crumb); }
.dark .section-head p, .dark p { color: var(--sage); }

/* "Everything you own and owe": a two-column list, not a card grid */
.owns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.own { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; padding: 26px 0; border-top: 2px solid var(--skin); }
.own .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--flesh); display: grid; place-items: center; }
.own .ic svg { width: 26px; height: 26px; fill: var(--skin); }
.own h3 { margin: 4px 0 6px; }
.own p { color: var(--muted); margin: 0; font-size: 17px; }

/* Product preview: a mock dashboard in brand colours */
.preview { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.mock { background: var(--paper); border-radius: 28px; padding: 26px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20, 33, 61, .12); }
.mock .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mock .label { color: var(--muted); font-size: 14px; }
.mock .nw { font-family: var(--head); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; color: var(--skin); line-height: 1; margin: 6px 0 2px; }
.mock .up { color: var(--sprout); font-weight: 600; font-size: 15px; }
.mock .chart { margin: 18px 0 20px; }
.mock .bars { display: grid; gap: 12px; }
.mock .bar { display: grid; grid-template-columns: 118px 1fr 74px; gap: 12px; align-items: center; font-size: 15px; }
.mock .bar .track { display: block; height: 12px; border-radius: 999px; background: #E3EEE7; overflow: hidden; }
.mock .bar .fill { display: block; height: 100%; border-radius: 999px; }
.mock .bar b { text-align: right; font-variant-numeric: tabular-nums; }
.mock .example { margin-top: 16px; font-size: 13px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ticks li::before { content: ''; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--flesh) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2314213D' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }
.dark .ticks li::before { background-color: var(--flesh); }

/* How it works: a real sequence, so it's numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--toast-text); color: var(--paper); font: 800 24px var(--head); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Quote-style statement */
.statement { font-family: var(--head); font-weight: 800; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; color: var(--skin); max-width: 17em; margin: 0; }
.dark .statement { color: var(--crumb); }

/* Feature detail pages */
.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding: 40px 0; border-top: 2px solid var(--skin); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature h2 { font-size: clamp(28px, 3.4vw, 40px); }
.feature ul { margin: 0; padding-left: 1.1em; }
.feature li { margin-bottom: 10px; }
.feature li::marker { color: var(--toast); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.plan { border-radius: 28px; padding: 34px; background: var(--paper); border: 2px solid var(--line); }
.plan.now { background: var(--skin); color: var(--crumb); border-color: var(--skin); }
.plan.now h3, .plan.now .price { color: var(--crumb); }
.plan.now p, .plan.now li { color: var(--sage); }
.plan .price { font-family: var(--head); font-weight: 800; font-size: 52px; letter-spacing: -0.03em; color: var(--skin); line-height: 1; margin: 14px 0 6px; }
.plan .when { display: inline-block; font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--flesh); color: var(--skin); }
.plan:not(.now) .when { background: #E3EEE7; color: var(--muted); }
.plan ul { margin: 18px 0 26px; padding-left: 1.1em; }
.plan li { margin-bottom: 8px; }

/* FAQ */
.faq details { border-top: 2px solid var(--skin); padding: 20px 0; }
.faq details:last-child { border-bottom: 2px solid var(--skin); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--skin); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--body); font-weight: 500; font-size: 28px; line-height: 1; color: var(--toast-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 40em; }

/* Page header for inner pages */
.page-head { background: var(--skin); color: var(--crumb); padding: 48px 0 56px; }
.page-head h1 { color: var(--crumb); font-size: clamp(42px, 6vw, 76px); max-width: 12em; }
.page-head .lead { color: var(--sage); margin-top: 20px; }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal h2 { font-size: 28px; margin: 48px 0 12px; }
.legal p, .legal li { max-width: 42em; }
.legal table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 16px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.legal th { font-size: 14px; color: var(--muted); font-weight: 600; }
.summary-box { background: var(--paper); border-left: 6px solid var(--flesh); border-radius: 0 20px 20px 0; padding: 22px 26px; margin: 8px 0 24px; }
.summary-box ul { margin: 8px 0 0; padding-left: 1.1em; }
.meta { color: var(--muted); font-size: 16px; }
.table-scroll { overflow-x: auto; }

/* Closing call to action */
.closer { background: var(--flesh); padding: 56px 0 48px; }
.closer h2 { max-width: 12em; }
.closer p { color: var(--skin); font-size: 19px; margin: 16px 0 28px; max-width: 32em; }
.closer .form-note.ok { color: var(--skin); }

/* Footer */
.site-foot { background: var(--skin); color: var(--sage); padding: 56px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-foot h3 { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--crumb); margin: 0 0 12px; letter-spacing: 0; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--sage); text-decoration: none; }
.site-foot a:hover { color: var(--crumb); text-decoration: underline; }
.site-foot .tag { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--flesh); letter-spacing: -0.02em; margin: 14px 0 8px; }
.foot-base { border-top: 1px solid var(--skin-2); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Mobile */
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--skin); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-top: 1px solid var(--skin-2); border-bottom: 1px solid var(--skin-2); box-shadow: 0 16px 32px rgba(10,16,32,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--skin-2); }
  .nav a[aria-current] { box-shadow: none; color: var(--flesh); }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; }
}
@media (max-width: 960px) {
  .hero-grid, .preview, .feature { grid-template-columns: 1fr; gap: 40px; }
  .owns { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  section { padding: 44px 0; }
  .hero { padding: 28px 0 48px; }
  .calc { padding: 22px 20px; border-radius: 24px; }
  .mock .bar { grid-template-columns: 96px 1fr 64px; font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { padding: 8px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Plans */
.beta-note { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font-size: 16px; margin: 0 0 28px; max-width: 760px; }
.plans4 { display: grid; gap: 24px; }
.p4-toggle { justify-self: start; display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.p4-toggle button { border: 0; background: none; font: 600 15px/1 var(--body); color: var(--ink); padding: 10px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.p4-toggle button span { font-size: 12px; font-weight: 700; color: var(--toast-text); }
.p4-toggle button[aria-pressed="true"] { background: var(--skin); color: var(--crumb); }
.p4-toggle button[aria-pressed="true"] span { color: var(--flesh); }
.p4-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.p4.free { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 40px; padding: 26px 28px; }
.p4-free-info { flex: 1; min-width: 0; }
.p4.free .p4-blurb { min-height: 0; margin-bottom: 14px; }
.p4.free ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.p4-free-buy { width: min(280px, 35%); flex: none; }
.p4.free .p4-btn { margin-bottom: 0; }
.p4 { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; min-width: 0; }
.p4.popular { background: var(--skin); color: var(--crumb); border-color: var(--skin); }
.p4-pop { position: absolute; top: -13px; left: 24px; background: var(--flesh); color: var(--skin); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.p4 h3 { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; margin: 0; }
.p4.popular h3 { color: var(--flesh); }
.p4-blurb { color: var(--muted); font-size: 16px; margin: 6px 0 18px; min-height: 52px; }
.p4.popular .p4-blurb, .p4.popular .p4-note, .p4.popular li { color: var(--sage); }
.p4-price { font-family: var(--head); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.p4-price small { font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.p4.popular .p4-price small { color: var(--sage); }
.p4-note { font-size: 14px; color: var(--muted); margin: 8px 0 20px; min-height: 20px; }
.plans4[data-period="monthly"] .y, .plans4[data-period="yearly"] .m { display: none; }
.p4-btn { width: 100%; margin-bottom: 22px; }
.p4.popular .p4-btn { background: var(--flesh); color: var(--skin); }
.p4 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.p4 li { display: flex; gap: 10px; align-items: flex-start; }
.p4 li svg { width: 18px; height: 18px; flex: none; fill: var(--toast-text); margin-top: 2px; }
.p4.popular li svg { fill: var(--flesh); }
#compare { scroll-margin-top: 90px; }
.p4-compare { margin-top: auto; padding-top: 20px; font-size: 15px; font-weight: 700; color: var(--toast-text); align-self: flex-start; }
.p4.popular .p4-compare { color: var(--flesh); }
.p4.free .p4-compare { display: inline-block; padding-top: 12px; }
.p4 li.note { color: var(--muted); font-size: 14px; padding-left: 28px; }
.p4 li em { font-style: normal; font-size: 12px; font-weight: 700; background: rgba(238, 75, 75, .12); color: var(--toast-text); padding: 2px 8px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }
.p4.popular li em { background: rgba(143, 224, 180, .16); color: var(--flesh); }
.fine-print { color: var(--muted); font-size: 15px; margin-top: 24px; max-width: 760px; }
.home-plans { background: var(--crumb); }
.compare4 { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 16px; background: var(--paper); border-radius: 20px; overflow: hidden; }
.compare4 th, .compare4 td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare4 thead th { font-family: var(--head); font-weight: 800; font-size: 20px; }
.compare4 tbody th { text-align: left; font-weight: 500; }
.compare4 .yes svg { display: inline-block; width: 20px; height: 20px; fill: var(--toast-text); vertical-align: middle; }
.compare4 .no { color: var(--muted); }
.sr { position: absolute; left: -9999px; }
@media (max-width: 1080px) { .p4-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; } .p4.free { flex-direction: column; align-items: stretch; gap: 18px; } .p4-free-buy { width: auto; } }
@media (max-width: 620px) { .p4-grid { grid-template-columns: minmax(0, 1fr); } .p4-blurb { min-height: 0; } .p4-toggle { justify-self: stretch; } .p4-toggle button { flex: 1; justify-content: center; } }

/* Homepage: plans in one line each. The full comparison is on /pricing/. */
.plan-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--skin); }
.plan-strip li { display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px 0; border-right: 1px solid var(--line); }
.plan-strip li + li { padding-left: 22px; }
.plan-strip li:last-child { border-right: 0; }
.plan-strip .ps-name { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--skin); }
.plan-strip .popular .ps-name::after { content: 'Most popular'; margin-left: 10px; vertical-align: 4px; font: 700 12px/1 var(--body); letter-spacing: 0; color: var(--skin); background: var(--flesh); padding: 5px 9px; border-radius: 999px; }
.plan-strip .ps-price { font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.plan-strip .ps-price small { font-weight: 500; font-size: 15px; color: var(--muted); }
.plan-strip .ps-blurb { color: var(--muted); font-size: 16px; line-height: 1.45; }
.plans-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.plans-cta .fine-print { margin: 0; max-width: 36em; }

/* Homepage: section heads with an action on the right */
.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.split-head > div { max-width: 680px; }
.home-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.home-faq .section-head { margin: 0; position: sticky; top: 108px; }
.faq-more { grid-column: 2; margin: 8px 0 0; font-size: 19px; font-weight: 600; color: var(--skin); }

/* Resources: an editorial list, coloured by kind */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.rc { --kc: var(--skin); display: grid; gap: 8px; align-content: start; padding: 22px 0 28px; border-top: 2px solid var(--skin); text-decoration: none; color: var(--ink); }
.rc-banks { --kc: var(--toast-text); }
.rc-blog { --kc: var(--sprout); }
.rc-kind { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--kc); }
.rc-kind::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--kc); }
.rc-title { font-family: var(--head); font-weight: 800; font-size: 24px; line-height: 1.12; letter-spacing: -0.02em; color: var(--skin); }
.rc-desc { color: var(--muted); font-size: 16px; line-height: 1.5; }
.rc-meta { color: var(--muted); font-size: 14px; }
.rc:hover .rc-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rc.big { background: var(--skin); color: var(--crumb); border: 0; border-radius: 28px; padding: 40px 44px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px 48px; }
.rc.big .rc-kind { color: var(--flesh); grid-column: 1 / -1; }
.rc.big .rc-kind::before { background: var(--flesh); }
.rc.big .rc-title { color: var(--crumb); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; grid-row: span 2; }
.rc.big .rc-desc { color: var(--sage); font-size: 18px; align-self: end; }
.rc.big .rc-meta { color: var(--sage); }
.rhead { padding-bottom: 56px; }
.rjump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.rjump a { color: var(--crumb); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--skin-2); }
.rjump a:hover { background: var(--skin-2); color: var(--flesh); }
.rfeature { padding: 40px 0 0; }
.rgroup { padding: 40px 0 8px; }
.rgroup:last-of-type { padding-bottom: 64px; }
.rgroup-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 20px; }
.rgroup-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.rgroup-head p { color: var(--muted); margin: 0; max-width: 30em; }

/* Article pages */
.art-head { padding: 48px 0 56px; }
.art-head h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: none; }
.crumbs { display: flex; gap: 10px; font-size: 15px; margin: 0 0 20px; color: var(--sage); }
.crumbs a { color: var(--flesh); }
.art-meta { color: var(--sage); font-size: 15px; margin: 20px 0 0; }
.prose { padding-top: 40px; padding-bottom: 56px; }
.prose > p:first-child { font-size: 21px; color: var(--skin); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--toast-text); font-weight: 700; }
.prose strong { color: var(--skin); }
.prose .note { background: var(--paper); border-left: 6px solid var(--flesh); border-radius: 0 20px 20px 0; padding: 18px 22px; margin: 28px 0; }
.prose .note p:last-child { margin: 0; }
.prose .note.warn { border-left-color: var(--toast-light); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 8px 0 24px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: 14px; }
.prose .ui { font-weight: 600; color: var(--skin); background: #E3F5EA; padding: 0 5px; border-radius: 5px; white-space: nowrap; }
.rgroup .rc-kind { display: none; }
.art-more { padding: 48px 0; }
.art-more h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; }
.art-help { margin: 24px 0 0; color: var(--muted); }

@media (max-width: 960px) {
  .plan-strip { grid-template-columns: 1fr 1fr; }
  .plan-strip li:nth-child(2) { border-right: 0; }
  .plan-strip li:nth-child(3) { padding-left: 0; }
  .plan-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-faq { grid-template-columns: 1fr; gap: 24px; }
  .home-faq .section-head { position: static; }
  .faq-more { grid-column: auto; }
  .rgrid { grid-template-columns: 1fr 1fr; }
  .rc.big { grid-template-columns: 1fr; padding: 32px 28px; }
  .rc.big .rc-title { grid-row: auto; }
}
@media (max-width: 760px) {
  .plan-strip { grid-template-columns: 1fr; }
  .plan-strip li, .plan-strip li + li { padding: 18px 0; border-right: 0; }
  .plan-strip li + li { border-top: 1px solid var(--line); }
  .split-head { flex-direction: column; align-items: flex-start; }
  .rgrid { grid-template-columns: 1fr; }
  .rc.big { padding: 28px 22px; border-radius: 22px; }
  .prose { padding-top: 40px; padding-bottom: 56px; }
  .prose .ui { white-space: normal; }
}

/* Plans: paid tiers list what they add to the one before */
.p4 li.p4-prev { font-weight: 600; color: var(--skin); padding-bottom: 2px; }
.p4.popular li.p4-prev { color: var(--crumb); }

/* Homepage feature breakdown: tabs, words on the left, a picture of the app on the right */
.fx .section-head { margin-bottom: 32px; }
.fx-tabs { display: flex; gap: 2px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; margin-bottom: 36px; }
.fx-tabs::-webkit-scrollbar { display: none; }
.fx-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font: 600 15px/1 var(--body); color: var(--muted); padding: 12px 12px; border-radius: 999px; white-space: nowrap; }
.fx-tabs button svg { width: 18px; height: 18px; fill: currentColor; }
.fx-tabs button:hover { color: var(--skin); }
.fx-tabs button[aria-selected="true"] { background: var(--skin); color: var(--crumb); }
.fx-tabs button[aria-selected="true"] svg { fill: var(--flesh); }
.fx-tier { font-size: 12px; font-weight: 700; color: var(--toast-text); background: rgba(238,75,75,.12); padding: 4px 8px; border-radius: 999px; }
.fx-tabs button[aria-selected="true"] .fx-tier { color: var(--skin); background: var(--flesh); }
.fx-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.fx-panel[hidden] { display: none; }
.fx-copy h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.04; letter-spacing: -0.025em; }
.fx-copy > p { color: var(--muted); font-size: 19px; margin: 18px 0 0; }
.fx-copy .ticks { margin-top: 26px; }
.fx-copy .fx-plan { font-size: 15px; color: var(--toast-text); font-weight: 600; margin-top: 22px; }
.fx-stage { background: #E6F0EA; border-radius: 28px; padding: 22px; display: grid; gap: 12px; }
.fx-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; font-size: 15px; }
.fx-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fx-row.t-sm { font-size: 14px; color: var(--muted); margin-top: 8px; }
.fx-label { color: var(--muted); font-size: 14px; }
.fx-up { color: var(--sprout); font-weight: 600; font-size: 14px; }
.fx-big { font-family: var(--head); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; color: var(--skin); line-height: 1.1; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.fx-big small { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.fx-h { font-size: 17px; color: var(--skin); }
.fx-split { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 3px; }
.fx-list { display: grid; gap: 0; padding: 6px 20px; }
.fx-list > div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fx-list > div:last-child { border-bottom: 0; }
.fx-list b { margin-left: auto; font-variant-numeric: tabular-nums; }
.fx-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.fx-tx { display: grid; padding: 6px 20px; }
.fx-tx > div { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fx-tx > div:last-child { border-bottom: 0; }
.fx-tx .grow { flex: 1; min-width: 0; display: grid; }
.fx-tx small { color: var(--muted); font-size: 13px; }
.fx-tx .neg, .fx-tx .pos { font-weight: 600; font-variant-numeric: tabular-nums; }
.fx-tx .pos { color: var(--sprout); }
.fx-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--skin); flex: none; }
.fx-note { background: var(--skin); color: var(--sage); border-color: var(--skin); }
.fx-note b { color: var(--crumb); }
.fx-chip { background: var(--flesh); color: var(--skin); font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.fx-track { display: block; height: 10px; border-radius: 999px; background: #E3EEE7; overflow: hidden; }
.fx-track.lg { height: 12px; margin: 10px 0 4px; }
.fx-track i { display: block; height: 100%; border-radius: 999px; background: var(--skin); }
.fx-bars { display: grid; gap: 14px; }
.fx-bars > div { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; }
.fx-bars b { font-size: 14px; font-variant-numeric: tabular-nums; }
.fx-ok { color: var(--sprout); font-weight: 600; margin: 8px 0 0; }
.fx-text { color: var(--muted); margin: 8px 0 0; }
.fx-ins { display: flex; gap: 14px; align-items: flex-start; }
.fx-ins b { color: var(--skin); font-size: 16px; }
.fx-ins p { margin: 2px 0 0; color: var(--muted); }
.fx-ib { width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; background: #E1E7F5; color: #2F4A86; }
.fx-ib.warn { background: #FDE4E4; color: var(--toast-text); }
.fx-ib.ok { background: #E3F5EA; color: var(--sprout); }
.fx-dash { grid-template-columns: 1fr 1fr 1fr; }
.fx-dash .w2 { grid-column: span 2; }
.fx-dash .fx-card { display: grid; gap: 10px; align-content: start; min-height: 128px; }
.fx-donut { width: 72px; height: 72px; transform: rotate(-90deg); justify-self: center; }
.fx-cols { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.fx-cols i { flex: 1; background: var(--flesh); border-radius: 6px 6px 2px 2px; }
.fx-cols i:nth-child(even) { background: var(--toast-light); }
.fx-foot { margin: 28px 0 0; font-size: 15px; color: var(--muted); }

/* Knowledge base FAQ */
.kb-faq { max-width: 860px; }

@media (max-width: 960px) {
  .fx-panel { grid-template-columns: 1fr; gap: 32px; }
  .fx-tabs { margin-bottom: 32px; border-radius: 20px; }
}
@media (max-width: 760px) {
  .fx-tabs { margin-left: -18px; margin-right: -18px; border-radius: 0; border-left: 0; border-right: 0; padding: 6px 18px; }
  .fx-tabs button { padding: 11px 14px; font-size: 15px; }
  .fx-stage { padding: 14px; border-radius: 22px; }
  .fx-card { padding: 16px; }
  .fx-big { font-size: 28px; }
  .fx-bars > div { grid-template-columns: 80px 1fr; }
  .fx-bars b { grid-column: 2; font-weight: 500; color: var(--muted); }
  .fx-dash { grid-template-columns: 1fr 1fr; }
}
.rgroup .rc.big { margin-bottom: 28px; }

/* Google Ad Manager slots on Knowledge Base pages. Each reserves its size so nothing jumps when an ad loads. */
.gam { display: grid; justify-items: center; gap: 6px; margin: 0 auto; }
.gam-label { font-size: 11px; letter-spacing: .02em; color: var(--muted); }
.gam-slot { display: grid; place-items: center; overflow: hidden; background: #E6F0EA; border-radius: 4px; }
.gam-slot img, .gam-slot iframe { display: block; max-width: none; }
.gam-billboard .gam-slot { width: 320px; height: 100px; }
.gam-rectangle .gam-slot { width: 300px; height: 250px; }
.gam-bottom .gam-slot { width: 320px; height: 100px; }
.gam-leaderboard .gam-slot { width: 300px; height: 250px; }
.gam-skyscraper .gam-slot { width: 300px; height: 600px; }
@media (min-width: 760px) { .gam-billboard .gam-slot, .gam-leaderboard .gam-slot, .gam-bottom .gam-slot { width: 728px; height: 90px; } }
@media (min-width: 1000px) { .gam-billboard .gam-slot { width: 970px; height: 250px; } }
.art-ad-top { padding-top: 28px; }
.art-ad-bottom { padding-bottom: 48px; }
.art-layout { display: grid; grid-template-columns: minmax(0, 740px); justify-content: center; gap: 56px; }
.art-layout .prose { max-width: 740px; }
.prose .gam { margin: 32px auto; }
.art-rail { display: none; }
@media (min-width: 1100px) {
  .art-layout { grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; }
  .art-rail { display: block; padding-top: 40px; }
  .art-rail .gam { position: sticky; top: 100px; }
}
.kb-ad { padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 380px) { .gam-billboard .gam-slot { transform: scale(.94); } }
.gam-slot picture, .gam-slot picture img { display: block; width: 100%; height: 100%; }

.rc.rc-ad { justify-items: start; padding-top: 16px; }
.rc-ad .gam { margin: 0; justify-items: start; }
@media (max-width: 760px) { .rc.rc-ad, .rc-ad .gam { justify-items: center; } }
.art-ad-bottom { padding-top: 8px; }

.kb-ad-bottom { padding-top: 8px; padding-bottom: 56px; }

/* Automatic bank feeds: the banks people can link, above the plans */
.banks { background: var(--skin); color: var(--crumb); }
.banks-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.banks h2 { color: var(--crumb); font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; }
.banks-copy > p { color: var(--sage); font-size: 18px; margin: 16px 0 0; }
.banks-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--crumb); font-size: 16px; }
.banks-points li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.banks-points li::before { content: ''; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--flesh) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2314213D' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.banks-more { margin: 22px 0 0; }
.banks-more a { color: var(--flesh); font-weight: 600; }
.bank-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bank { display: grid; place-items: center; height: 76px; padding: 10px 12px; border-radius: 14px; background: var(--paper); color: var(--skin); text-align: center; }
.bank span { font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.1; }
.bank img { max-height: 36px; max-width: 100%; width: auto; }
.bank.more { background: transparent; box-shadow: inset 0 0 0 2px var(--skin-2); }
.bank.more span { color: var(--sage); font-family: var(--body); font-weight: 600; font-size: 15px; }
@media (max-width: 960px) { .banks-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .bank-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bank { height: 64px; } .bank span { font-size: 15px; } }
.banks-note { color: var(--sage); font-size: 14px; margin: 14px 0 0; }
/* Logos have very different shapes: size each so they read at a similar weight. */
.bank img { height: 28px; max-height: none; }
.bank-anz img { height: 30px; } .bank-asb img { height: 22px; } .bank-bnz img { height: 34px; } .bank-westpac img { height: 24px; }
.bank-kiwibank img { height: 42px; } .bank-coop img { height: 38px; } .bank-tsb img { height: 26px; } .bank-rabobank img { height: 22px; }
.bank-heartland img { height: 28px; }
@media (max-width: 760px) { .bank img { transform: scale(.82); } }

/* Worthberry: light header and hero (the brand mockup), coral calls to action, a Sprout security band */
.btn.berry { background: var(--berry-btn); color: #FFFFFF; }
.btn.berry:hover { background: #B92B2B; color: #FFFFFF; }
.site-head { background: var(--crumb); box-shadow: inset 0 -1px 0 var(--line); }
.logo, .logo:hover { color: var(--skin); }
.logo .wm-f { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: var(--berry-btn); margin-left: -2px; align-self: flex-end; padding-bottom: 6px; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a[aria-current] { color: var(--skin); }
.nav a[aria-current] { box-shadow: 0 2px 0 var(--toast); }
.nav a.btn, .nav a.btn:hover { color: var(--crumb); box-shadow: none; }
.menu-btn { color: var(--skin); }
.hero { background: var(--crumb); color: var(--ink); }
.hero h1 { color: var(--skin); }
.hero .lead, .hero-note { color: var(--muted); }
.hero .waitlist input { border-color: var(--line); }
.hero .waitlist input:focus { border-color: var(--skin); }
.hero .form-note.ok { color: var(--sprout); }
.hero .form-note.err { color: #B42B2B; }
.hero :focus-visible { outline-color: var(--sprout); }
.hero .calc { background: var(--paper); box-shadow: 0 24px 60px rgba(20, 33, 61, .10); border: 1px solid var(--line); }
/* Homepage hero: net worth widget B, an example net worth card (widget A is the .calc above) */
.nw-demo { background: var(--skin); color: var(--crumb); border-radius: 28px; padding: 28px; box-shadow: 0 24px 60px rgba(20, 33, 61, .18); }
.nw-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nw-demo-head h2 { font-family: var(--body); font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--sage); margin: 0; }
.nw-demo-tag { padding: 6px 14px; border-radius: 99px; background: var(--sprout); color: #E9F8EF; font-size: 15px; font-weight: 700; }
.nw-demo-big { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; margin: 28px 0 18px; font-variant-numeric: tabular-nums; }
.nw-demo-up { color: var(--flesh); font-weight: 700; font-size: 18px; }
.nw-demo-line { display: block; width: 100%; height: auto; margin: 26px 0 30px; overflow: visible; }
.nw-demo-line polyline { stroke: var(--flesh); }
.nw-demo-line circle { fill: var(--toast); }
.nw-demo-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nw-demo-parts div { background: var(--skin-2); border-radius: 18px; padding: 16px 18px; min-width: 0; }
.nw-demo-parts span { display: block; font-size: 15px; color: var(--sage); }
.nw-demo-parts b { display: block; font-size: clamp(20px, 2.4vw, 26px); margin-top: 2px; font-variant-numeric: tabular-nums; }
.nw-demo-fine { font-size: 13px; color: var(--sage); margin: 16px 0 0; }
@media (max-width: 520px) { .nw-demo { padding: 22px; } .nw-demo-parts { gap: 10px; } .nw-demo-parts div { padding: 12px 14px; } }
#security.dark { background: var(--sprout); }
#security.dark .section-head p, #security.dark p { color: #D9F5E5; }
#security .ticks li::before { background-color: var(--crumb); }
@media (max-width: 1060px) {
  .nav { background: var(--paper); border-color: var(--line); box-shadow: 0 16px 32px rgba(20, 33, 61, .12); }
  .nav a { border-bottom-color: var(--line); }
  .nav a[aria-current] { color: var(--toast-text); }
}
.logo { gap: 9px; }
.logo .wm { letter-spacing: -0.035em; }
.site-foot .logo, .site-foot .logo:hover { color: var(--crumb); }
.site-foot .logo .wm-f { color: var(--toast-light); }
.site-foot .tag { color: var(--flesh); }
@media (max-width: 420px) { .logo { font-size: 23px; } .logo svg { width: 34px; height: 34px; } .logo .wm-f { display: none; } }
#security .statement { color: #FFFFFF; }

/* Calculator, compact: tighter rows and a smaller result so it sits beside the headline */
.calc { padding: 20px 22px; border-radius: 24px; }
.calc h2 { font-size: 22px; padding-right: 52px; }
.calc .sub { font-size: 14px; line-height: 1.45; margin: 0 0 10px; padding-right: 52px; }
.calc .mark { top: 16px; right: 18px; width: 40px; height: 40px; }
.field { padding: 5px 0 2px; gap: 0 12px; }
.field label { font-size: 14px; }
.field output { font-size: 16px; }
.field input[type=range] { height: 20px; margin: 2px 0 0; }
.result { margin-top: 10px; padding: 14px 16px; border-radius: 16px; }
.result-label { font-size: 13px; }
.result .big { font-size: 24px; }
.split { height: 8px; margin: 10px 0 2px; }
.split-key { margin-top: 4px; font-size: 12px; }
.result p { font-size: 14px; line-height: 1.45; margin-top: 6px; }
.calc .fine { font-size: 12px; margin-top: 8px; line-height: 1.4; }
@media (max-width: 760px) { .calc { padding: 18px 18px; } }

/* Yearly savings badge on plan cards */
.p4-save { display: inline-block; font-size: 12px; font-weight: 700; color: #FFFFFF; background: var(--berry-btn, #3F51C4); padding: 3px 9px; border-radius: 999px; margin-right: 6px; }
/* The switch sits inside each paid card, full width, above the price */
/* Compact: a small pill, only as wide as its words */
.p4 .p4-toggle { display: inline-flex; width: auto; align-self: flex-start; margin: 2px 0 12px; padding: 3px; gap: 2px; }
.p4 .p4-toggle button { flex: none; padding: 5px 12px; font-size: 13px; line-height: 1.2; }
.p4[data-period="monthly"] .y, .p4[data-period="yearly"] .m { display: none; }
.p4.popular .p4-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.p4.popular .p4-toggle button { color: #F2F7F4; }
.p4.popular .p4-toggle button[aria-pressed="true"] { background: #8FE0B4; color: #14213D; }
.p4-toggle button, .p4-toggle button span, .p4-save { white-space: nowrap; }
.p4-toggle button span { background: rgba(238, 75, 75, .12); padding: 3px 8px; border-radius: 999px; }
.p4-toggle button[aria-pressed="true"] span { background: #4C5FD5; color: #FFFFFF; }

/* Worthberry News: platform updates, labelled New Feature or Improvement */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 32px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.news-item[hidden] { display: none; }
.news-date { color: var(--muted); font-size: 15px; padding-top: 3px; }
.news-main { display: grid; gap: 6px; justify-items: start; }
.news-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; line-height: 1; padding: 6px 11px 6px 9px; border-radius: 999px; }
.news-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.news-feature { background: #FDE8E8; color: var(--toast-text); }
.news-improvement { background: #E3F5EA; color: var(--sprout); }
.news-title { font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; color: var(--skin); margin: 4px 0 0; }
.news-main p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 40em; }
.news-more { margin: 4px 0 0; }
.news-group .rgroup-head p a { white-space: nowrap; }
.news-head .crumbs span:last-child { color: var(--sage); }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.news-filter[hidden] { display: none; }
.news-filter button { font: inherit; font-size: 15px; font-weight: 600; color: var(--crumb); background: none; border: 0; cursor: pointer; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--skin-2); }
.news-filter button span { color: var(--sage); font-weight: 500; margin-left: 4px; }
.news-filter button:hover { background: var(--skin-2); }
.news-filter button[aria-pressed="true"] { background: var(--flesh); color: var(--skin); box-shadow: none; }
.news-filter button[aria-pressed="true"] span { color: var(--skin); }
.news-page { padding-top: 24px; padding-bottom: 64px; }
.news-month { padding-top: 24px; }
.news-month[hidden] { display: none; }
.news-month h2 { font-size: 24px; margin: 0 0 4px; }
.news-help { margin: 32px 0 0; color: var(--muted); }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 20px; }
  .news-date { padding-top: 0; font-size: 14px; }
  .news-title { font-size: 20px; }
}

/* Worthberry News cards on the Knowledge Base page: same look as the blog cards */
.news-see { font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; }
.news-see:hover { text-decoration: underline; }
.news-card { --kc: var(--toast-text); }
.news-card-improvement { --kc: var(--sprout); }
.news-card-kind { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--kc); }
.news-card-kind::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--kc); }
.news-item:target { background: #FFF6E9; box-shadow: -12px 0 0 #FFF6E9, 12px 0 0 #FFF6E9; }

/* Homepage: the five things Worthberry helps with, straight after the hero */
.pillars { padding: 8px 0 56px; background: var(--crumb); }
.pillars-title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; max-width: 18em; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pillar-list a { display: grid; gap: 8px; align-content: start; height: 100%; padding: 20px 18px 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.pillar-list a:hover { border-color: var(--sprout); transform: translateY(-2px); }
.pillar-list b { font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--skin); }
.pillar-list span:last-child { color: var(--muted); font-size: 15px; line-height: 1.45; }
.pl-ic { width: 40px; height: 40px; border-radius: 12px; background: #E3F5EA; display: grid; place-items: center; }
.pl-ic svg { width: 22px; height: 22px; fill: var(--sprout); }
.pillar-list li:last-child .pl-ic { background: #FDE4E4; }
.pillar-list li:last-child .pl-ic svg { fill: var(--toast-text); }
@media (max-width: 1060px) { .pillar-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pillars { padding-bottom: 40px; } .pillar-list { grid-template-columns: 1fr 1fr; gap: 10px; } .pillar-list li:last-child { grid-column: 1 / -1; } .pillar-list a { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .pillar-list a:hover { transform: none; } }

/* Features page: each feature beside a screenshot of the app, alternating sides */
.feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { padding-top: 8px; }
.feature-copy h2 { margin-bottom: 18px; }
.feature-shot { margin: 0; }
.feature-shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 50px rgba(20, 33, 61, .10); }
.feature:nth-of-type(even) .feature-copy { order: 2; }
.feature-phone .feature-shot { display: flex; justify-content: center; }
.feature-phone .feature-shot img { width: min(300px, 80%); border: 10px solid var(--skin); border-radius: 40px; box-shadow: 0 30px 60px rgba(20, 33, 61, .18); }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature:nth-of-type(even) .feature-copy { order: 0; }
  .feature-shot img { border-radius: 14px; }
}

/* Screenshots inside articles */
.prose figure { margin: 24px 0 28px; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 36px rgba(20, 33, 61, .08); }
@media (min-width: 1100px) { .art-layout.no-ads { grid-template-columns: minmax(0, 740px); justify-content: center; } }

/* worthberry.co, the global website: the country choice, the bar for visitors in New Zealand, prices that depend on the country. */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.where-doors { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; margin-top: 8px; }
.where-door { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 24px; background: var(--paper); color: var(--skin); text-decoration: none; }
.where-door.live { background: var(--skin); color: var(--crumb); transition: transform .15s ease; }
.where-door.live:hover { color: var(--crumb); transform: translateY(-2px); }
.where-state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.where-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--toast); }
.live .where-state { color: var(--flesh); }
.live .where-state i { background: var(--flesh); box-shadow: 0 0 0 4px rgba(143, 224, 180, .2); }
.where-place { font: 800 clamp(28px, 3.4vw, 40px)/1.05 var(--head); letter-spacing: -0.03em; }
.where-what { font-size: 16px; line-height: 1.5; color: var(--muted); }
.live .where-what { color: var(--sage); }
.where-go { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--flesh); }
.where-go::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.where-door.live:hover .where-go::after { transform: rotate(45deg) translate(2px, -4px); }
.closer .where-door p.form-note { margin: 4px 0 0; font-size: 15px; max-width: none; }
.where-form { margin-top: 12px; max-width: none; }
.where-form select { flex: 0 1 190px; min-height: 52px; border-radius: 999px; border: 2px solid var(--line); padding: 0 18px; font: 17px var(--body); color: var(--ink); background: var(--paper); }
.where-form select:focus { outline: none; border-color: var(--skin); }
.nz-bar { background: var(--skin); color: var(--crumb); }
.nz-bar .wrap { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.nz-bar p { margin: 0; flex: 1 1 260px; font-size: 15px; }
.nz-bar .btn.sm { min-height: 36px; }
.nz-bar-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--sage); font-size: 24px; line-height: 1; cursor: pointer; }
.nz-bar-x:hover { background: var(--skin-2); color: var(--crumb); }
.p4-price.p4-local { font-size: 30px; }
.rc-market { align-self: flex-start; justify-self: start; width: fit-content; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--skin); color: var(--crumb); }
@media (max-width: 820px) { .where-doors { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .where-door, .where-go::after { transition: none; } }
