@import url(/css/fonts.css);

/* The Tech Golfer: a bright modern golf magazine. Soft colour fields, one colour per section, red for every action, 3D icons. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #0d1a13;
  --ink-2: #47564d;
  --line: #dde5df;
  --night: #05281b;
  --accent: #ffc83d;
  --accent-deep: #f0a800;
  --cta: #d92d20;
  --cta-dark: #a81c12;
  --on-dark: #e5efe8;
  --head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --read: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wide: 1320px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(5, 40, 27, .06), 0 14px 34px -14px rgba(5, 40, 27, .26);
  --sec: #0a7d44; --sec-deep: #07442c; --sec-tint: #e8f6ed;
}
.sec-course { --sec: #0a7d44; --sec-deep: #07442c; --sec-tint: #e8f6ed; }
.sec-practice { --sec: #1455d9; --sec-deep: #0b2f7d; --sec-tint: #e7effd; }
.sec-trolleys { --sec: #c44a0b; --sec-deep: #7c2d05; --sec-tint: #fcefe5; }
.sec-gifts { --sec: #c21a55; --sec-deep: #7d0f37; --sec-tint: #fce9f0; }
.sec-tools { --sec: #00797b; --sec-deep: #04434a; --sec-tint: #e0f4f3; }
.sec-guides { --sec: #6432d9; --sec-deep: #341a80; --sec-tint: #efe9fd; }
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.68 var(--read); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--sec); text-decoration-thickness: 2px; text-underline-offset: .18em; transition: color .15s, text-decoration-color .15s, background .15s; }
a:hover { color: var(--sec); }
:focus-visible { outline: 3px solid var(--sec); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.read-bar { position: fixed; left: 0; top: 0; width: calc(var(--p, 0) * 100%); height: 3px; z-index: 60; background: var(--accent); }
.read-bar::after { content: ""; position: absolute; right: -6px; top: -3px; width: 11px; height: 11px; background: radial-gradient(circle at 35% 30%, #fff 0 45%, #d7ded9 100%); border-radius: 50%; box-shadow: 0 1px 3px rgba(5, 40, 27, .55); transform: rotate(var(--turn, 0deg)); opacity: min(1, calc(var(--p, 0) * 40)); }

h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 800; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.032em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.16; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .6em 1.25em; background: var(--cta); color: #fff; font: 700 1rem/1.2 var(--ui); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(168, 28, 18, .75); transition: background .15s, color .15s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--cta-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 24px -10px rgba(168, 28, 18, .8); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-small { min-height: 44px; font-size: .95rem; padding: .4em 1em; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--night); color: #fff; padding-inline: var(--gutter) var(--gutter-r); transition: box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 10px 28px -14px rgba(5, 40, 27, .7); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--wide); margin-inline: auto; min-height: 66px; transition: min-height .35s var(--ease); }
.top.is-scrolled .top-in { min-height: 54px; }
.top.is-scrolled .tab > a { padding-block: 18px; }
.tab > a { transition: padding .35s var(--ease), color .15s; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 1.32rem/1 var(--head); letter-spacing: -.03em; color: #fff; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: none; overflow: visible; }
.bm-ring, .bm-ticks, .bm-pole { fill: none; stroke: currentColor; stroke-linecap: round; }
.bm-ring { stroke-width: 2.4; }
.bm-ticks { stroke-width: 2.4; }
.bm-pole { stroke-width: 2.8; }
.bm-flag { fill: var(--accent); transform-origin: 21px 19.500px; }
.bm-reticle { transform-origin: 24px 24px; transition: transform .9s var(--ease); }
a:hover > .brand-mark .bm-reticle { transform: rotate(90deg) scale(.94); }
.brand:hover { color: #fff; }
.brand i { font-style: normal; color: var(--accent); }
.tabs { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font: 600 1.02rem/1 var(--ui); }
.tab { position: relative; display: flex; align-items: center; }
.tab > a { position: relative; display: block; padding: 24px 0; color: #fff; text-decoration: none; white-space: nowrap; }
.tab > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 3px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.tab > a:hover::after, .tab.is-on > a::after, .tab:focus-within > a::after { transform: scaleX(1); }
.tab > a:hover, .tab.is-on > a { color: var(--accent); }
.tab-list { position: absolute; top: 100%; left: -14px; min-width: 300px; margin: 0; padding: 8px; list-style: none; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 22px 44px -16px rgba(5, 40, 27, .5); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .25s var(--ease), visibility .15s; }
.tab:hover .tab-list, .tab:focus-within .tab-list { visibility: visible; opacity: 1; transform: none; }
.tab:last-child .tab-list, .tab:nth-last-child(2) .tab-list { left: auto; right: -14px; }
.tab-list a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; line-height: 1.25; border-radius: 8px; }
.tab-list a:hover { background: #e8f6ed; color: #07442c; }

/* Masthead: the green field the lead story sits on */
.mast { background: linear-gradient(120deg, #0e5a3d 0%, #07442c 48%, #05281b 100%); color: #fff; padding-inline: var(--gutter) var(--gutter-r); padding-block: clamp(26px, 3.2vw, 46px) clamp(92px, 9vw, 128px); }
.mast-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 40px; max-width: var(--wide); margin-inline: auto; }
.mast h1 { font-size: clamp(2.2rem, 4.5vw, 3.9rem); line-height: 1.03; color: #fff; }
.mast-sub { max-width: 21em; padding-bottom: .35em; font: 500 clamp(1.02rem, 1.3vw, 1.18rem)/1.35 var(--read); color: var(--on-dark); }
.anim .mast h1, .anim .mast-sub { animation: rise .9s var(--ease) both; }
.anim .mast-sub { animation-delay: .12s; }

/* Stories */
.wrap { max-width: calc(var(--wide) + 40px); margin-inline: auto; padding-inline: var(--gutter) var(--gutter-r); }
.front { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(-104px, -7vw, -68px); padding-bottom: clamp(36px, 5vw, 64px); }
.front-main > * + * { margin-top: clamp(24px, 3vw, 36px); }
.rail-home { align-self: start; padding: 20px 22px 8px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.pic { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--sec-tint); }
.pic img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(var(--z, 1)); transition: transform .9s var(--ease); will-change: transform; }
.story-lead .pic img, .story-big .pic img, .gift-pic .pic img { --z: 1.1; }
a:hover > .pic img, a:hover .pic img { --z: 1.05; }
a.story:hover .pic img { --z: 1.14; }
.tag { transition: transform .35s var(--ease); }
a:hover .tag { transform: translateY(-3px); }
.pic.ph { display: grid; place-items: center; color: var(--sec); }
.gi { display: block; object-fit: contain; }
.pic.ph .gi { width: 66%; height: 66%; transition: transform .5s var(--ease); }
a:hover .pic.ph .gi { transform: scale(1.08) rotate(-3deg); }
.tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; background: var(--sec); color: #fff; font: 700 .82rem/1.15 var(--ui); border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(5, 40, 27, .5); }
.story { display: block; text-decoration: none; color: inherit; }
a.story:hover { color: inherit; }
a.story:hover h2, a.story:hover h3 { color: var(--sec); }
.story h2, .story h3 { transition: color .15s; }
.dek { margin-top: 10px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 11px; font: 700 .86rem/1.3 var(--ui); color: var(--sec); }
.soon { display: inline-block; color: var(--sec); font: 700 .84rem/1.2 var(--ui); }
.story-lead .pic { aspect-ratio: 2 / 1; box-shadow: var(--shadow); }
[data-tilt] { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .4s var(--ease); }
a:hover [data-tilt] { box-shadow: 0 2px 4px rgba(5, 40, 27, .08), 0 26px 50px -18px rgba(5, 40, 27, .42); }
.story-lead h2 { margin-top: 20px; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.034em; }
.story-lead .dek { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 40em; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(22px, 3vw, 40px); }
.row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 16px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.row .pic { aspect-ratio: 1; border-radius: 12px; transition: border-radius .4s var(--ease), box-shadow .4s var(--ease); }
a.row:hover .pic { border-radius: 20px; box-shadow: 0 12px 22px -12px rgba(5, 40, 27, .45); }
.row h3 { font-size: 1.22rem; line-height: 1.17; letter-spacing: -.018em; transition: color .15s; }
.row .dek { margin-top: 6px; font-size: 1rem; line-height: 1.42; }
.row .meta { margin-top: 6px; }
a.row:hover { color: inherit; }
a.row:hover h3 { color: var(--sec); }
.rail-title { display: inline-flex; align-items: center; padding: 9px 18px; background: var(--accent); color: var(--ink); font: 800 1rem/1 var(--ui); border-radius: 999px; margin-bottom: 12px; }
.rail-home .row { grid-template-columns: minmax(0, 1fr) 88px; }
.rail-home .row .pic { order: 2; }
.rail-home .list > .row:first-child { border-top: 0; padding-top: 4px; }
.rail-tools-box { position: relative; margin-top: 22px; padding: 22px; background: var(--sec-deep); color: var(--on-dark); border-radius: var(--r); box-shadow: var(--shadow); }
.rail-tools-box h2 { color: #fff; font-size: 1.55rem; }
.rail-tools-box ul { margin: 12px 0 0; padding: 0; list-style: none; font: 600 1.02rem/1.25 var(--ui); }
.rail-tools-box li { border-top: 1px solid rgba(255, 255, 255, .16); }
.rail-tools-box a, .rail-tools-box .off { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; color: #fff; }
.rail-tools-box a:hover { color: var(--accent); }
.rail-tools-box .off { color: #c5dcdc; font-weight: 500; }
.rail-tools-box .gi { width: 38px; height: 38px; padding: 4px; background: #fff; border-radius: 10px; flex: none; }

/* Sections */
.sec { padding-block: clamp(40px, 5.4vw, 72px); }
.sec-band { background: var(--sec-tint); }
.sec-head { display: block; margin-bottom: clamp(20px, 2.6vw, 32px); font: 800 clamp(1.9rem, 3.4vw, 2.9rem)/1.08 var(--head); letter-spacing: -.03em; color: var(--sec); }
.sec-head span { display: block; margin-top: 4px; color: var(--ink-2); font: 500 clamp(1.05rem, 1.5vw, 1.25rem)/1.35 var(--read); letter-spacing: 0; }
.sec-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3.4vw, 48px); }
.sec-split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sec-split.flip > :first-child { order: 2; }
.story-big .pic { aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.story-big h3 { margin-top: 18px; font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.06; letter-spacing: -.028em; }
.list > .row:first-child { border-top: 0; padding-top: 0; }
.sec-band .row { border-top-color: rgba(5, 40, 27, .14); }
.band-color { background: var(--sec-deep); color: var(--on-dark); padding-block: clamp(44px, 5.8vw, 80px); }
.band-color h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.9rem); letter-spacing: -.034em; }
.band-color .lede { margin-top: 12px; max-width: 36em; font-size: 1.15rem; line-height: 1.5; }
.tool-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(22px, 3vw, 36px); }
.tool-index > a, .tool-index > .off { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px; background: rgba(255, 255, 255, .08); border-radius: var(--r); text-decoration: none; color: #fff; transition: background .2s, transform .3s var(--ease); }
.tool-index > a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); color: #fff; }
.tool-index .t-ico { grid-row: 1 / span 2; display: block; width: 64px; height: 64px; padding: 7px; background: #fff; border-radius: 16px; transition: transform .5s var(--ease); }
.tool-index .t-ico .gi { width: 100%; height: 100%; }
.tool-index > a:hover .t-ico, .tool-index > .off:hover .t-ico { transform: scale(1.08) rotate(-3deg); }
.tool-index h3 { color: #fff; font-size: 1.2rem; }
.tool-index p { font: 400 .95rem/1.38 var(--ui); color: #c9dede; }
.tool-index .soon { color: #c9dede; font-weight: 500; }
.gift-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.gift-go { margin-bottom: 18px; }
.gift-pic { display: block; }
.gift-pic .pic { aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; background: #fff; color: var(--sec-deep); text-decoration: none; font: 600 .98rem/1 var(--ui); border-radius: 999px; transition: background .15s, color .15s; }
a.chip-link:hover { background: var(--sec); color: #fff; }
.band-warm { background: #fff5d9; padding-block: clamp(40px, 5.4vw, 72px); }
.finder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.finder-grid h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -.034em; }
.finder-grid .lede { margin-top: 10px; color: var(--ink); max-width: 24em; }
.finder fieldset { margin: 0; padding: 0; border: 0; }
.finder legend { padding: 0; margin-bottom: 10px; font: 800 1.15rem/1.2 var(--head); letter-spacing: -.015em; }
.finder-goals { display: flex; flex-wrap: wrap; gap: 8px; }
.goal { position: relative; cursor: pointer; }
.goal input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.goal span { display: flex; align-items: center; min-height: 46px; padding: 0 17px; background: #fff; color: var(--ink); font: 600 1rem/1.15 var(--ui); border-radius: 999px; transition: background .15s, color .15s; }
.goal input:checked + span { background: var(--ink); color: #fff; }
.goal input:focus-visible + span { outline: 3px solid var(--night); outline-offset: 2px; }
.goal:hover input:not(:checked) + span { box-shadow: inset 0 0 0 2px var(--ink); }
.finder-out { margin-top: 16px; display: grid; gap: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.finder-out a { display: grid; grid-template-columns: 1fr auto; gap: 1px 12px; align-items: center; padding: 15px 20px; text-decoration: none; border-top: 1px solid var(--line); }
.finder-out a:first-child { border-top: 0; }
.finder-out a:hover { background: #e8f6ed; color: inherit; }
.finder-out b { font: 800 1.1rem/1.2 var(--head); letter-spacing: -.014em; }
.finder-out span { grid-column: 1; font-size: 1rem; line-height: 1.38; color: var(--ink-2); }
.finder-out .ico { grid-column: 2; grid-row: 1 / span 2; color: #0a7d44; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.trust > div { padding: 24px; background: var(--sec-tint); border-radius: var(--r); }
.trust .t-ico { display: block; width: 72px; height: 72px; margin-bottom: 12px; transition: transform .5s var(--ease); }
.trust .t-ico .gi { width: 100%; height: 100%; }
.trust > div:hover .t-ico { transform: scale(1.06) rotate(-3deg); }
.trust h3 { margin-bottom: 8px; }
.trust p { font-size: 1.03rem; line-height: 1.55; color: var(--ink-2); }
.ledger { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--sec); }
.ledger li { border-bottom: 1px solid var(--line); }
.ledger a { display: grid; grid-template-columns: minmax(0, 17em) minmax(0, 1fr) auto; gap: 4px 28px; align-items: baseline; padding: 15px 8px; text-decoration: none; transition: background .15s; }
.ledger a:hover { background: var(--sec-tint); color: inherit; }
.ledger b { font: 800 1.2rem/1.18 var(--head); letter-spacing: -.016em; }
.ledger span { font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.ledger .ico { align-self: center; color: var(--sec); }

/* Article top: a colour field, with the picture overlapping it */
.art-band { background: var(--sec-deep); color: #fff; padding-inline: var(--gutter) var(--gutter-r); padding-block: clamp(22px, 3.2vw, 42px) clamp(30px, 4vw, 52px); }
.art-band.has-pic { padding-bottom: clamp(96px, 13vw, 190px); }
.art-head { max-width: var(--wide); margin-inline: auto; }
.art-head .inner { max-width: 980px; }
.art-band h1 { color: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 clamp(14px, 2vw, 24px); padding: 0; list-style: none; font: 600 .92rem/1.3 var(--ui); color: rgba(255, 255, 255, .78); }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--accent); }
.stand { margin-top: 16px; max-width: 37em; font-size: clamp(1.18rem, 1.8vw, 1.45rem); line-height: 1.42; color: var(--on-dark); }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 18px; font: 500 .95rem/1.35 var(--ui); color: var(--on-dark); }
.byline a { color: var(--accent); font-weight: 700; text-decoration: none; }
.byline a:hover { color: #fff; }
.art-pic { width: min(100% - 40px, var(--wide)); margin: clamp(-170px, -11vw, -76px) auto 0; position: relative; }
.art-pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; width: min(100% - 40px, var(--wide)); margin: 18px auto 0; padding: 16px 8px; background: var(--sec-tint); border-radius: var(--r); }
.glance > div { padding: 2px 16px; min-width: 0; }
.glance > div + div { border-left: 1px solid rgba(5, 40, 27, .14); }
.glance dt { font: 700 .84rem/1.25 var(--ui); color: var(--sec); }
.glance dd { margin: 3px 0 0; font: 800 1.1rem/1.18 var(--head); letter-spacing: -.016em; }

/* Long read */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 76px); max-width: 1220px; margin-inline: auto; padding-block: clamp(28px, 4vw, 54px) clamp(40px, 6vw, 80px); padding-inline: var(--gutter) var(--gutter-r); }
.sheet-solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.prose { min-width: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--sec); }
.prose strong { font-weight: 600; }
.prose a:not(.btn) { color: var(--sec); font-weight: 500; text-decoration-thickness: 1.5px; }
.prose a:not(.btn):hover { color: var(--ink); }
.disclosure { font: 500 .93rem/1.45 var(--ui); color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tg-answer { font-size: 1.26rem; line-height: 1.5; font-weight: 500; }
.tg-keybox, .tg-verdict { padding: 22px 26px; background: var(--sec-tint); border-radius: var(--r); }
.tg-verdict { background: var(--sec-deep); color: var(--on-dark); }
.tg-verdict h4 { color: var(--accent); }
.prose .tg-verdict a:not(.btn) { color: #fff; }
.tg-keybox h4, .tg-verdict h4 { margin-bottom: 8px; font-size: 1.28rem; letter-spacing: -.02em; }
.tg-keybox h4 { color: var(--sec); }
.tg-keybox ul, .tg-verdict ul { margin: 0; padding-left: 1.15em; font-size: 1.03rem; }
.tg-note { font-style: italic; color: var(--ink-2); }
.tg-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font: 400 1rem/1.35 var(--ui); }
.prose th { padding: 12px 14px; text-align: left; vertical-align: bottom; font-weight: 700; font-size: .92rem; background: var(--sec-deep); color: #fff; }
.prose th a { color: #fff !important; }
.prose td { padding: 11px 14px; vertical-align: top; border-top: 1px solid var(--line); }
.prose tbody tr:nth-child(even) td { background: #f6faf7; }
.prose td:first-child { font-weight: 600; }
.tg-bars { padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); }
.tg-bars h4 { font-size: 1.28rem; letter-spacing: -.02em; }
.tg-bars-sub { margin: 4px 0 12px; color: var(--ink-2); font-size: 1rem; }
.tg-bar { display: grid; grid-template-columns: minmax(82px, 9.5em) minmax(0, 1fr) minmax(56px, auto); gap: 12px; align-items: center; padding: 5px 0; font: 500 .98rem/1.2 var(--ui); }
.tg-bar-track { height: 16px; background: var(--sec-tint); border-radius: 999px; overflow: hidden; }
.tg-bar-fill { display: block; height: 100%; width: calc(var(--v, 0) * 1%); background: var(--sec); border-radius: 999px; }
.tg-bar.hi .tg-bar-fill { background: var(--accent-deep); }
.tg-bar-val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.tg-source { margin-top: 10px; font: 500 .9rem/1.35 var(--ui); color: var(--ink-2); }
.tg-img { width: 100%; border-radius: var(--r); }
.tg-caption { margin-top: 8px !important; font: 500 .94rem/1.4 var(--ui); color: var(--ink-2); }
.tg-plan { margin-inline: 0; padding: 18px; background: var(--sec-tint); border-radius: var(--r); }
.tg-plan svg { width: 100%; height: auto; display: block; }
.tg-plan figcaption { margin-top: 10px; font: 500 .94rem/1.4 var(--ui); color: var(--ink-2); }
.tg-steps { padding: 0; list-style: none; counter-reset: st; }
.tg-steps > li { position: relative; padding-left: 3em; counter-increment: st; margin-top: 1em; }
.tg-steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.05rem; height: 2.05rem; background: var(--sec); color: #fff; border-radius: 50%; font: 800 1.05rem/1 var(--head); }
.tick-list, .tg-checklist ul, ul.tg-checklist, .tg-pick-good, .tg-pick-know { padding: 0; list-style: none; }
.tick-list li, .tg-checklist li, .tg-pick-good li { position: relative; padding-left: 1.75em; }
.tick-list li::before, .tg-checklist li::before, .tg-pick-good li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1em; height: 1.1em; background: var(--sec); -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L20 6'/%3E%3C/svg%3E"); mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L20 6'/%3E%3C/svg%3E"); }
.tg-pick-know li { position: relative; padding-left: 1.75em; color: var(--ink-2); }
.tg-pick-know li::before { content: ""; position: absolute; left: .2em; top: .78em; width: .75em; height: 2px; background: var(--ink-2); }
.tg-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: clamp(18px, 3vw, 30px); padding: clamp(18px, 2.6vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); margin-top: 1.7em !important; scroll-margin-top: 90px; }
.pick-notes { min-width: 0; }
.pick-notes > * + * { margin-top: .85em; }
.tg-pick h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.tg-pick-for { font: 700 1.02rem/1.35 var(--ui); color: var(--sec); }
.pick-facts { align-self: start; padding: 16px 18px 18px; background: var(--sec-tint); border-radius: var(--r); font-size: 1rem; }
.pick-facts dl { margin: 0; }
.pick-facts dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(5, 40, 27, .12); font: 400 .95rem/1.3 var(--ui); }
.pick-facts dt { color: var(--ink-2); }
.pick-facts dd { margin: 0; font-weight: 700; text-align: right; }
.pick-price { margin: 12px 0; font: 400 .95rem/1.4 var(--ui); }
.pick-price b { display: block; font: 800 1.6rem/1.15 var(--head); letter-spacing: -.02em; color: var(--sec-deep); }
.pick-actions { display: grid; gap: 9px; }
.pick-actions .btn { width: 100%; font-size: .98rem; }
.prose .pick-actions a.btn, .prose .pick-actions a.btn:hover { color: #fff; font-weight: 700; }
.prose a.tg-buy { color: var(--cta-dark); font-weight: 700; text-decoration-color: var(--cta); }
.pick-src { font: 600 .92rem/1.3 var(--ui); justify-self: center; }
.pick-checked { margin-top: 9px; font: 500 .84rem/1.3 var(--ui); color: var(--ink-2); text-align: center; }
.faqs details { border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; transition: background .2s; }
.faqs details[open] { background: var(--sec-tint); border-color: transparent; }
.faqs h2 + details { margin-top: 16px; }
.faqs summary { position: relative; padding: 15px 52px 15px 18px; font: 700 1.06rem/1.35 var(--ui); cursor: pointer; list-style: none; border-radius: 12px; }
.faqs summary:hover { color: var(--sec); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: linear-gradient(#fff, #fff) center/12px 2px no-repeat, linear-gradient(#fff, #fff) center/2px 12px no-repeat, var(--sec); transition: transform .3s var(--ease); }
.faqs details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 18px 16px; }
.sources ol { margin: 14px 0; padding: 0; list-style: none; font: 400 .96rem/1.4 var(--ui); }
.sources li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sources span { color: var(--ink-2); font-size: .88rem; white-space: nowrap; }
.sources > p { font-size: 1rem; }

/* Rail on articles */
.rail { position: sticky; top: 86px; align-self: start; max-height: calc(100vh - 106px); overflow-y: auto; display: grid; gap: 16px; scrollbar-width: thin; }
.strip { padding: 18px 14px 12px; background: var(--sec-tint); border-radius: var(--r); }
.strip-title { font: 800 1.1rem/1 var(--head); letter-spacing: -.015em; margin: 0 6px 10px; }
.strip-toggle { display: none; }
.strip ol { margin: 0; padding: 0; list-style: none; font: 500 .95rem/1.28 var(--ui); }
.strip a { display: block; padding: 8px 8px; text-decoration: none; color: var(--ink-2); border-radius: 8px; transition: background .15s, color .15s; }
.strip a:hover { color: var(--sec); background: rgba(255, 255, 255, .6); }
.strip a.is-now { color: var(--sec-deep); font-weight: 700; background: #fff; }
.rail-tools { padding: 18px 18px 8px; background: var(--sec-deep); color: #fff; border-radius: var(--r); }
.rail-tools .strip-title { color: #fff; margin-inline: 0; }
.rail-tools ul { margin: 0; padding: 0; list-style: none; font: 600 .98rem/1.25 var(--ui); }
.rail-tools a { display: flex; gap: 9px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .16); text-decoration: none; color: #fff; }
.rail-tools a:hover { color: var(--accent); }
.rail-tools .gi { width: 38px; height: 38px; padding: 4px; background: #fff; border-radius: 10px; flex: none; }
.next-up { background: var(--sec-tint); padding-block: clamp(36px, 5vw, 66px); padding-inline: var(--gutter) var(--gutter-r); }
.next-in { max-width: var(--wide); margin-inline: auto; }
.next-in h2 { margin-bottom: 20px; }
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.next-card { display: block; text-decoration: none; }
.next-card:hover { color: inherit; }
.next-card:hover h3 { color: var(--sec); }
.next-card .pic { aspect-ratio: 16 / 10; box-shadow: var(--shadow); background: #fff; }
.next-card h3 { margin-top: 12px; font-size: 1.22rem; transition: color .15s; }
.next-card p { margin-top: 4px; font-size: .99rem; line-height: 1.42; color: var(--ink-2); }

/* Colour fields: a soft gradient of the section's own colour */
.art-band, .band-color, .tg-verdict, .rail-tools, .rail-tools-box { background: var(--sec-deep); background: linear-gradient(120deg, color-mix(in srgb, var(--sec-deep) 84%, #fff) 0%, var(--sec-deep) 50%, color-mix(in srgb, var(--sec-deep) 72%, #000) 100%); }
.rail-tools-box { --sec-deep: #04434a; }

/* Forms and tools */
.field { display: grid; gap: 5px; margin-top: 14px; }
.field label { font: 700 1rem var(--ui); }
.field input, .field select, .field textarea, .tool input[type=number], .tool input[type=text], .tool select { width: 100%; min-height: 48px; padding: 8px 12px; background: #fff; color: var(--ink); border: 1.5px solid #a9bcb0; border-radius: 10px; font: 500 1.03rem var(--ui); font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .tool input:focus, .tool select:focus { outline: 0; border-color: var(--sec); box-shadow: 0 0 0 3px var(--sec-tint); }
.field textarea { min-height: 150px; line-height: 1.5; }
.field-hp { position: absolute; left: -9999px; }
.contact-form { margin-top: 1.5em; }
.contact-form .btn { margin-top: 16px; }
.form-alt { margin-top: 14px; font-size: 1rem; }
.tool { margin: 1.5em 0; padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font: 400 1rem/1.45 var(--ui); }
.tool h3 { margin: 0 0 4px; font-size: 1.55rem; color: var(--sec-deep); }
.tool-intro { color: var(--ink-2); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 16px; margin-top: 14px; }
.tool label { display: grid; gap: 4px; font-weight: 700; font-size: .95rem; }
.tool-out { margin-top: 18px; padding: 18px 20px; background: var(--sec-tint); border-radius: var(--r); }
.tool-big { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.tool-num { font: 800 clamp(2.5rem, 6vw, 3.7rem)/1 var(--head); letter-spacing: -.035em; color: var(--sec); font-variant-numeric: tabular-nums; }
.tool-lbl { font-weight: 600; }
.tool-note { margin-top: 10px; font-size: .95rem; color: var(--ink-2); }
.tool-table { overflow-x: auto; margin-top: 12px; }
.tool-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .97rem; }
.prose .tool-table th { text-align: left; font-size: .86rem; padding: 8px; background: transparent; color: var(--ink); border-bottom: 2px solid var(--sec); white-space: nowrap; }
.prose .tool-table td { padding: 5px 8px; border-top: 0; border-bottom: 1px solid var(--line); background: transparent; font-weight: 400; }
.tool-table input { min-height: 40px !important; padding: 4px 8px !important; min-width: 62px; }
.prose .tool-table tr.counts td { background: var(--sec-tint); }
.prose .tool-table td.score-good { font-weight: 700; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tool-bars { margin-top: 12px; display: grid; gap: 4px; }
.tool-bar { display: grid; grid-template-columns: 6.2em minmax(0, 1fr) 4.2em; gap: 10px; align-items: center; }
.tool-bar i { display: block; height: 14px; background: var(--sec); border-radius: 999px; }
.tool-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { min-height: 44px; padding: 0 15px; background: var(--sec-tint); color: var(--sec-deep); border: 0; border-radius: 22px; font: 600 .96rem var(--ui); cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--sec); }
.chip[aria-pressed=true] { background: var(--sec); color: #fff; }
.tool-result { padding: 13px 0; border-top: 1px solid rgba(5, 40, 27, .14); }
.tool-result:first-child { border-top: 0; }
.tool-result h4 { font-size: 1.1rem; }
.fit-good { color: #0a7d44; font-weight: 700; }
.fit-tight { color: #b23c0a; font-weight: 700; }

/* Footer */
.foot { background: linear-gradient(180deg, #0a2e21 0%, #051b13 100%); color: var(--on-dark); padding-inline: var(--gutter) var(--gutter-r); padding-block: clamp(40px, 6vw, 72px) 26px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: clamp(30px, 5vw, 76px); max-width: var(--wide); margin-inline: auto; }
.foot-name { display: inline-flex; align-items: center; gap: 10px; font: 800 1.7rem/1 var(--head); letter-spacing: -.035em; color: #fff; text-decoration: none; margin-bottom: 14px; }
.foot-name:hover { color: #fff; }
.foot-name .brand-mark { width: 38px; height: 38px; }
.foot-name i { font-style: normal; color: var(--accent); }
.foot-brand p:last-child { font-size: 1rem; line-height: 1.55; }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; font: 500 .98rem/1.3 var(--ui); }
.foot-h { font: 800 1.1rem/1.1 var(--head); color: var(--accent); margin-bottom: 9px; }
.foot-nav ul { margin: 0; padding: 0; list-style: none; }
.foot-nav a { display: block; padding: 6px 0; text-decoration: none; color: var(--on-dark); }
.foot-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; max-width: var(--wide); margin: 34px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font: 400 .9rem/1.45 var(--ui); color: #b9c9be; }
.foot-legal p { max-width: 62em; }
.foot-actions { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.anim-toggle { padding: 0; background: none; border: 0; color: var(--on-dark); font: 500 .9rem/1.45 var(--ui); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.anim-toggle:hover { color: #fff; }
.to-top { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.to-top:hover { color: #fff; }


/* Motion: things come up into place, once, as they scroll into view */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s ease both vt-out; }
::view-transition-new(root) { animation: .34s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.anim .rv.from-left { transform: translateX(-32px); }
.anim .rv.from-right { transform: translateX(32px); }
.anim .rv.from-zoom { transform: translateY(18px); }
.anim .rv.wipe { transform: none; transition: opacity .9s ease var(--d, 0ms); }
.anim .rv.in { opacity: 1; transform: none; }
.anim .rv.done { transition-delay: 0ms; }
.anim .tool-index > a.rv.done:hover { transform: translateY(-3px); }
.anim-full [data-tilt].done { transition: transform .5s var(--ease), box-shadow .4s var(--ease); }

/* A soft light follows the pointer over tiles */
.glow { position: relative; overflow: hidden; }
.glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .17), rgba(255, 255, 255, 0) 70%); }
.glow:hover::before { opacity: 1; }
.trust .glow::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); }
.glow > * { position: relative; }

/* Section head: a colour bar draws itself in */
.sec-head::after { content: ""; display: block; width: 76px; height: 6px; margin-top: 12px; background: var(--sec); border-radius: 3px; transform-origin: 0 50%; }
.anim .sec-head.rv::after { transform: scaleX(0); transition: transform 1s var(--ease) .15s; }
.anim .sec-head.rv.in::after { transform: scaleX(1); }
.sec-plain { color: var(--ink); }

/* Popular topics: a plain row, nothing moves */
.topics { border-block: 1px solid var(--line); padding-block: 18px; }
.topics-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.topics h2 { font-size: 1.1rem; letter-spacing: -.015em; }
.topics ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font: 600 1rem/1.3 var(--ui); }
.topics a { text-decoration: none; color: var(--ink); background: linear-gradient(var(--cta), var(--cta)) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease), color .15s; }
.topics a:hover { color: var(--cta-dark); background-size: 100% 2px; }
.topics span { color: var(--ink-2); font-weight: 500; }

/* Browse: a photo mosaic, one big row and one small */
.tiles-sec { padding-bottom: clamp(30px, 4vw, 48px); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 17vw, 250px); gap: 12px; }
.mo { position: relative; display: block; grid-column: span 3; overflow: hidden; border-radius: var(--r); background: var(--night); color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.mo:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.mo:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.mo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.mo:hover img { transform: scale(1.06); }
.mo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 20, 14, .86) 0%, rgba(5, 20, 14, .34) 42%, rgba(5, 20, 14, 0) 72%); transition: opacity .4s; }
.mo:hover { color: #fff; }
.mo-copy { position: absolute; left: clamp(16px, 1.8vw, 26px); right: 58px; bottom: clamp(14px, 1.6vw, 22px); display: grid; gap: 3px; transition: transform .5s var(--ease); }
.mo:hover .mo-copy { transform: translateY(-4px); }
.mo-copy b { font: 800 clamp(1.35rem, 2vw, 1.75rem)/1.05 var(--head); letter-spacing: -.026em; }
.mo:nth-child(-n+2) .mo-copy b { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.034em; }
.mo-copy span { font: 500 .98rem/1.3 var(--ui); color: #e8efe9; }
.mo:nth-child(-n+2) .mo-copy span { font-size: clamp(1rem, 1.3vw, 1.15rem); }
.mo-go { position: absolute; right: clamp(12px, 1.4vw, 20px); bottom: clamp(14px, 1.6vw, 22px); display: grid; place-items: center; width: 38px; height: 38px; background: #fff; color: var(--ink); border-radius: 50%; transform: scale(.82); opacity: .92; transition: transform .45s var(--ease), background .2s, color .2s; }
.mo:hover .mo-go { transform: scale(1); background: var(--cta); color: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(22px, 3vw, 40px); }
.ledger-off { display: grid; grid-template-columns: minmax(0, 17em) minmax(0, 1fr); gap: 4px 28px; padding: 15px 8px; color: var(--ink-2); }
.ledger-off b { font: 800 1.2rem/1.18 var(--head); letter-spacing: -.016em; }

/* Newsletter */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.news { background: linear-gradient(120deg, #0e5a3d 0%, #07442c 55%, #05281b 100%); color: #fff; padding-inline: var(--gutter) var(--gutter-r); padding-block: clamp(36px, 4.6vw, 60px); }
.news-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; max-width: var(--wide); margin-inline: auto; }
.news h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.032em; }
.news-copy p { margin-top: 10px; max-width: 32em; color: var(--on-dark); font-size: 1.08rem; line-height: 1.5; }
.news-row { display: flex; gap: 8px; padding: 7px; background: #fff; border-radius: 999px; box-shadow: 0 18px 38px -18px rgba(0, 0, 0, .55); }
.news-row input[type=email] { flex: 1; min-width: 0; min-height: 50px; padding: 0 18px; background: transparent; color: var(--ink); border: 0; font: 500 1.05rem var(--ui); border-radius: 999px; }
.news-row input[type=email]:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.news-row .btn { flex: none; }
.news-note { margin-top: 10px; font: 400 .92rem/1.4 var(--ui); color: var(--on-dark); padding-inline: 18px; }
.news-note a { color: #fff; text-decoration-color: var(--accent); }
.news-note a:hover { color: var(--accent); }
.news-msg { margin-top: 10px; padding: 11px 18px; background: var(--accent); color: var(--ink); font: 700 1rem/1.35 var(--ui); border-radius: 14px; }
.news-msg.is-bad { background: #ffd7c9; }

@media (max-width: 1040px) {
  .front { grid-template-columns: minmax(0, 1fr); }
  .tool-index, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo { grid-column: span 6; }
  .mo:nth-child(1), .mo:nth-child(2) { grid-column: span 12; grid-row: span 2; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; order: -1; max-height: none; overflow: visible; display: block; }
  .rail-tools, .strip-title { display: none; }
  .strip { padding: 4px 14px; }
  .strip-toggle { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 0; background: transparent; color: var(--ink); border: 0; font: 700 1rem var(--ui); cursor: pointer; }
  .strip-body { display: none; padding-bottom: 10px; }
  .strip.is-open .strip-body { display: block; }
}
@media (max-width: 900px) {
  .top { position: static; }
  html { scroll-padding-top: 16px; }
  .prose h2, .tg-pick { scroll-margin-top: 16px; }
  .top-in { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 12px; }
  .tabs { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1); padding-inline: var(--gutter) var(--gutter-r); width: calc(100% + var(--gutter) + var(--gutter-r)); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab > a { padding: 12px 0 15px; }
  .tab > a::after { bottom: 7px; }
  .tab-list { display: none; }
  .sec-split, .sec-split.flip, .finder-grid, .trust, .foot-in, .news-in { grid-template-columns: minmax(0, 1fr); }
  .sec-split.flip > :first-child { order: 0; }
  .ledger a { grid-template-columns: minmax(0, 1fr) auto; }
  .ledger b, .ledger span { grid-column: 1; }
  .ledger .ico { grid-row: 1 / span 2; grid-column: 2; }
  .tg-pick { grid-template-columns: minmax(0, 1fr); }
  .gift-split { grid-template-columns: minmax(0, 1fr); }
  .gift-pic { order: -1; }
  .art-pic img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  body { font-size: 1.08rem; }
  .grid-2, .tool-index, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-auto-rows: 170px; }
  .mo-go { display: none; }
  .mo-copy { right: 14px; }
  .news-row { flex-direction: column; border-radius: 20px; }
  .news-row .btn { width: 100%; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
    .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
  .glance > div + div { border-left: 0; }
  .tg-bar { grid-template-columns: minmax(70px, 7em) minmax(0, 1fr) minmax(50px, auto); gap: 8px; }
  .anim .rv.from-left { transform: translateX(-16px); }
  .anim .rv.from-right { transform: translateX(16px); }
  .anim .rv.in { transform: none; }
  .tg-bars, .tg-keybox, .tg-verdict { padding: 18px; }
}
@media print { .anim .rv { opacity: 1 !important; transform: none !important; } .top, .rail, .next-up, .foot, .read-bar { display: none; } }
