:root {
  --blue: #3d6596;
  --blue-mid: #4a74a6;
  --blue-deep: #2c4d73;
  --saffron: #e0a24a;
  --saffron-deep: #c4842a;
  --ink: #1a1208;
  --cream: #f3e4bd;
  --cream-soft: #f7eed4;
  --bg: #071018;
  --bg-2: #0c1824;
  --surface: #122033;
  --surface-2: #183044;
  --line: rgba(243, 228, 189, 0.16);
  --text: #f6f1e6;
  --muted: #c5d0dc;
  --radius: 18px;
  --radius-card: 22px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-x: 50vw;
  --glow-y: 20vh;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --type-display: clamp(3.1rem, 7vw, 5.5rem);
  --type-h1: clamp(2.1rem, 4vw, 3rem);
  --type-h2: clamp(1.45rem, 2.2vw, 1.9rem);
  --type-body: 1.0625rem;
  --leading: 1.7;
  --measure: 70ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: var(--ease-out);
}

::view-transition-old(root) {
  animation-name: vt-fade-out;
}

::view-transition-new(root) {
  animation-name: vt-fade-in;
}

@keyframes vt-fade-out {
  to { opacity: 0; }
}

@keyframes vt-fade-in {
  from { opacity: 0; }
}

body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  background:
    radial-gradient(circle at 8% 0%, rgba(224, 162, 74, 0.14), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(61, 101, 150, 0.28), transparent 38%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: var(--leading);
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--saffron), var(--cream));
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(61, 101, 150, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(var(--glow-x), var(--glow-y), 0) translate(-50%, -50%);
  z-index: 0;
  will-change: transform;
}

.site-header,
.hero,
.section,
.site-footer,
.blog-wrap,
.article {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 7%;
  backdrop-filter: blur(18px);
  background: rgba(8, 16, 24, 0.72);
  border-bottom: 1px solid var(--line);
  z-index: 20;
  animation: rise 0.6s var(--ease-out) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  view-transition-name: brand-mark;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 88px 7% 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  background: rgba(243, 228, 189, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1,
.page-title {
  font-size: var(--type-display);
  line-height: 0.98;
  font-weight: 560;
  margin-bottom: var(--space-3);
  color: var(--cream-soft);
  max-width: 14ch;
}

.page-title {
  max-width: none;
  font-size: var(--type-h1);
  line-height: 1.12;
}

.lede,
.section-text {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 560px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.logo-mark {
  width: min(340px, 100%);
  filter: drop-shadow(0 20px 50px rgba(61, 101, 150, 0.45));
}

.hero-copy > *,
.hero-visual,
.logo-mark {
  will-change: transform;
}

html.js-motion .site-header,
html.js-motion .hero-copy > *,
html.js-motion .hero-visual,
html.js-motion .page-title,
html.js-motion .reveal {
  opacity: 0;
}

.signup-card,
.card,
.founder-box,
.blog-card,
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.signup-card {
  padding: 32px;
  max-width: 420px;
  margin: 36px 0 0;
}

.signup-card h2,
.founder-box h3,
.section h2,
.blog-card h3 {
  color: var(--cream);
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(243, 228, 189, 0.18);
  background: rgba(8, 16, 24, 0.7);
  color: var(--text);
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
input:focus-visible,
button:focus-visible,
.nav-links a:focus-visible {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(224, 162, 74, 0.28);
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

.btn,
button[type="submit"] {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  background: var(--saffron);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after,
button[type="submit"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(243, 228, 189, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
}

.btn:hover::after,
button[type="submit"]:hover::after {
  transform: translateX(120%);
}

.hint {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.section {
  padding: 72px 7%;
}

.section.narrow {
  max-width: 1100px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

.center .section-text,
.center .lede {
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.card {
  padding: 28px;
  transition: border-color 0.25s ease;
}

.card:hover {
  border-color: rgba(243, 228, 189, 0.35);
}

.card h3 {
  color: var(--cream);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
}

.founder {
  display: flex;
  justify-content: center;
  padding-bottom: 96px;
}

.founder-box {
  max-width: 720px;
  padding: 44px;
  text-align: center;
}

.founder-box p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 28px 7% 40px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.social-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-row-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.social-row-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-link {
  --social-hover: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(243, 228, 189, 0.04);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-footer .social-link {
  color: var(--muted);
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  color: var(--social-hover);
  border-color: var(--social-hover);
  background: rgba(243, 228, 189, 0.1);
}

.social-link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.follow-line {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.follow-line a {
  color: var(--cream);
  font-weight: 600;
  text-underline-offset: 3px;
}

.credibility {
  margin: 14px 0 0;
  color: var(--cream-soft);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.latest {
  padding-top: 0;
}

.latest h2 {
  margin-bottom: 8px;
}

.latest-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .latest-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.latest-list a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 100%;
  padding: 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
}

.latest-list a span {
  font-family: var(--font-body);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.latest-list a:hover {
  border-color: var(--saffron);
}

.latest-list a:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

.perk-demo {
  position: relative;
  margin: 0;
  min-inline-size: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow);
}

.sample-foot {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.perk-demo legend {
  color: var(--saffron);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 4px;
}

.perk-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.perk-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}

.perk-switch label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 72px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.perk-switch .mini-card {
  display: block;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--saffron), var(--saffron)) 8px 8px / 16px 11px no-repeat,
    var(--surface-2);
}

#sample-travel:checked ~ .perk-switch label[for="sample-travel"],
#sample-everyday:checked ~ .perk-switch label[for="sample-everyday"],
#sample-fuel:checked ~ .perk-switch label[for="sample-fuel"] {
  border-color: var(--saffron);
  color: var(--cream);
  background: var(--surface-2);
}

#sample-travel:focus-visible ~ .perk-switch label[for="sample-travel"],
#sample-everyday:focus-visible ~ .perk-switch label[for="sample-everyday"],
#sample-fuel:focus-visible ~ .perk-switch label[for="sample-fuel"] {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

.sample-face {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 16px;
}

.face-everyday,
.face-fuel {
  display: none;
}

#sample-everyday:checked ~ .sample-face .face-travel,
#sample-fuel:checked ~ .sample-face .face-travel {
  display: none;
}

#sample-everyday:checked ~ .sample-face .face-everyday,
#sample-fuel:checked ~ .sample-face .face-fuel {
  display: block;
}

.sample-face h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.sample-kicker {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.perk-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.perk-rows li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.perk-rows strong {
  color: var(--saffron);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-wrap {
  max-width: 1040px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

#medium-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

#medium-posts h2 {
  grid-column: 1 / -1;
  color: var(--cream);
  margin: 8px 0 0;
}

#posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.blog-card {
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: #0c1824;
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out);
}

.blog-card:hover .card-thumb,
.blog-card:focus-within .card-thumb {
  transform: scale(1.04);
}

.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin-bottom: 6px;
}

.card-time {
  color: var(--saffron);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card:not(:has(.card-thumb)) {
  padding: 22px;
}

.page-title {
  text-align: center;
}

.blog-card {
  transition: border-color 0.25s ease;
}

.blog-card:hover {
  border-color: var(--cream);
}

.blog-card p {
  color: var(--muted);
}

.blog-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.blog-card .card-link {
  display: flex;
  margin-top: 0;
  font-weight: inherit;
}

.card-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--cream);
  font-weight: 600;
}

.tag-badge {
  display: inline-block;
  background: rgba(224, 162, 74, 0.14);
  color: var(--saffron);
  border: 1px solid rgba(224, 162, 74, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.loading {
  text-align: center;
  color: var(--muted);
}

.article {
  max-width: calc(var(--measure) + 96px);
  margin: 48px auto 80px;
  padding: 0 24px;
}

.article-card {
  padding: 40px 36px;
  overflow: hidden;
}

.article-card h1 {
  color: var(--cream);
  font-size: var(--type-h1);
  line-height: 1.12;
  margin-bottom: 18px;
  max-width: var(--measure);
}

.article-card h2 {
  color: var(--cream);
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 32px 0 12px;
  max-width: var(--measure);
}

.article-card p,
.article-card li {
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--leading);
  max-width: var(--measure);
}

.article-card p {
  margin-bottom: 16px;
}

.article-card ul,
.article-card ol {
  margin: 0 0 16px 1.25rem;
}

.article-card li + li {
  margin-top: 8px;
}

.article-card a {
  color: var(--cream);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.article-figure {
  margin: 0 0 22px;
  max-width: 100%;
}

.article-card .article-figure:first-of-type {
  margin: 0 -36px 28px;
  max-width: none;
  width: calc(100% + 72px);
}

.article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0c1824;
}

.article-card .article-figure:first-of-type img {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.article-figure figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 8px;
}

.article-sources {
  margin: 8px 0 4px;
  max-width: var(--measure);
}

.article-sources summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #9aa8b8;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
}

.article-sources summary::-webkit-details-marker {
  display: none;
}

.article-sources summary::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #9aa8b8;
  transform: rotate(-90deg);
}

.article-sources[open] summary::before {
  transform: none;
}

.article-sources summary:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.article-card .article-sources ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.article-card .article-sources li {
  color: #8b9aab;
  font-size: 0.8rem;
  line-height: 1.35;
  max-width: none;
  margin: 0;
  padding: 2px 0;
}

.article-card .article-sources li + li {
  margin-top: 2px;
}

.article-card .article-sources a {
  color: #a8b6c6;
  text-underline-offset: 2px;
}

.article-credit {
  border: 1px solid var(--line);
  border-left: 3px solid var(--saffron);
  background: rgba(224, 162, 74, 0.08);
  border-radius: 0 14px 14px 0;
  padding: 14px 16px;
  margin-bottom: 22px;
  max-width: var(--measure);
}

.article-card .article-byline {
  color: var(--cream-soft);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.article-card .article-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.article-disclaimer {
  margin-top: 36px;
  padding: 18px 18px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 24, 0.45);
  max-width: var(--measure);
}

.article-card .article-disclaimer p,
.article-card .article-disclaimer li {
  font-size: 0.92rem;
}

.blog-card .card-byline {
  color: var(--cream-soft);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.blog-note {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: -8px auto 36px;
}

.blog-note a,
.site-footer a {
  color: var(--cream);
}

.blog-wrap h2 {
  color: var(--cream);
  font-size: 1.35rem;
  text-align: center;
  margin: 36px 0 16px;
}

.article-card .post-back {
  margin: 0 0 14px;
}

.article-card .post-back a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.article-card .post-back a:hover,
.article-card .post-back a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-end {
  margin-top: 28px;
}

.post-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.post-pager-single {
  grid-template-columns: 1fr;
}

.post-pager a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--cream);
  text-decoration: none;
}

.post-pager-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.post-pager-title {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.post-pager .post-pager-next {
  text-align: right;
}

.post-pager-single .post-pager-next {
  justify-self: end;
  width: min(100%, calc(50% - 6px));
}

.post-more {
  margin-top: 22px;
}

.post-more h2 {
  color: var(--cream);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.post-more ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .post-more ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-more a,
.post-end-back {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.post-more a {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.post-more a img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: #0c1824;
  border-bottom: 1px solid var(--line);
}

.post-more a span {
  padding: 12px 14px;
  font-weight: 600;
}

.post-end-fallback {
  margin: 0;
}

.post-end-back {
  display: inline-flex;
  width: fit-content;
  font-weight: 600;
}

.post-back a:focus-visible,
.post-pager a:focus-visible,
.post-more a:focus-visible,
.post-end-back:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.post-pager a:hover,
.post-more a:hover,
.post-end-back:hover {
  border-color: rgba(243, 228, 189, 0.45);
}

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

  .post-pager .post-pager-next,
  .post-pager-single .post-pager-next {
    text-align: left;
    justify-self: stretch;
    width: auto;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grow-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.reveal {
  opacity: 1;
}

@media (min-width: 860px) {
  #posts,
  #medium-posts {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card-featured {
    grid-column: 1 / -1;
  }

  .blog-card-featured .card-link {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }

  .blog-card-featured .card-thumb {
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .blog-card-featured .card-body {
    padding: 28px 32px 32px;
    justify-content: center;
  }

  .blog-card-featured h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px 36px;
    gap: 28px;
    text-align: left;
  }

  .signup-card {
    margin: 24px 0 0;
    max-width: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 14px 6%;
  }

  .article-card {
    padding: 28px 20px;
  }

  .article-card .article-figure:first-of-type {
    margin: 0 -20px 22px;
    width: calc(100% + 40px);
  }
}

.signup-block {
  margin: 28px 0;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--saffron);
  background: rgba(8, 16, 24, 0.45);
  border-radius: 0 16px 16px 0;
  max-width: var(--measure);
}

.article-card .signup-block h2,
.signup-block h2 {
  color: var(--cream);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 8px;
  max-width: none;
}

.signup-kicker,
.signup-block .hint,
.share-note,
.signup-error {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.signup-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--cream-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.signup-thanks-title {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.signup-thanks p {
  margin: 0 0 8px;
}

.share-url {
  color: var(--cream);
  overflow-wrap: anywhere;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.share-row a,
.share-row button,
.summary-actions button,
.sticky-dismiss {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--cream);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  width: auto;
}

.share-copy,
.summary-print {
  background: var(--saffron);
  color: var(--ink);
  border-color: transparent;
}

.signup-error {
  color: #f0c7b0;
}

.sticky-cta {
  display: none;
}

.sticky-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sticky-lead {
  flex: 1;
  min-width: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

.sticky-dismiss {
  flex: 0 0 auto;
  min-height: 44px;
}

.tool-wrap {
  max-width: 860px;
  margin: 36px auto 80px;
  padding: 0 20px;
}

.tool-wrap .article-card h1 {
  color: var(--cream);
  font-size: var(--type-h1);
  line-height: 1.12;
  margin: 12px 0 16px;
}

.tool-wrap .article-card p,
.tool-wrap .article-card li {
  color: var(--muted);
  max-width: var(--measure);
}

.tool-wrap .article-card a {
  color: var(--cream);
}

.check-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 16, 24, 0.35);
  cursor: pointer;
}

.check-list input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--saffron-deep);
}

.check-list strong {
  display: block;
  color: var(--cream);
  margin-bottom: 4px;
}

.check-look {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.check-summary {
  margin: 8px 0 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: var(--measure);
}

.check-summary h2,
.check-summary h3 {
  color: var(--cream);
  margin: 0 0 8px;
}

.check-summary h3 {
  font-size: 1.05rem;
  margin-top: 14px;
}

.summary-have,
.summary-look {
  margin: 0 0 8px 1.1rem;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.section-text a,
.lede a {
  color: var(--cream);
}

@media (max-width: 700px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  .brand {
    gap: 8px;
    font-size: 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .sticky-lead {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .sticky-cta:not([hidden]) {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    max-height: 42vh;
    overflow: auto;
    margin: 0;
    max-width: none;
    border-radius: 16px 16px 0 0;
    border-left: 1px solid var(--line);
    border-top: 3px solid var(--saffron);
    background: #122033;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    padding: 10px 12px 12px;
  }

  .sticky-cta:not([hidden]) form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sticky-cta:not([hidden]) form button,
  .sticky-cta:not([hidden]) form .hint,
  .sticky-cta:not([hidden]) form .signup-error {
    grid-column: 1 / -1;
  }

  .sticky-cta .hint {
    font-size: 0.82rem;
  }

  body:has(.sticky-cta:not([hidden])) {
    padding-bottom: 168px;
  }
}

.signup-thanks[hidden],
.signup-error[hidden],
.share-copied[hidden],
.summary-copied[hidden],
.sticky-cta[hidden],
.signup-block form[hidden] {
  display: none !important;
}

@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .signup-block,
  .glow,
  .scroll-progress,
  .summary-actions,
  .post-back {
    display: none !important;
  }

  body {
    background: #fff;
    color: #1a1208;
    padding: 0;
  }

  .article-card,
  .check-summary,
  .check-list label {
    background: #fff;
    color: #1a1208;
    box-shadow: none;
  }

  .tool-wrap .article-card p,
  .tool-wrap .article-card li,
  .check-look,
  .check-list strong,
  .check-summary h2,
  .check-summary h3,
  .tool-wrap .article-card h1 {
    color: #1a1208;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .glow,
  .scroll-progress,
  .btn::after,
  button[type="submit"]::after {
    display: none;
  }

  .site-header,
  html.js-motion .site-header,
  html.js-motion .hero-copy > *,
  html.js-motion .hero-visual,
  html.js-motion .page-title,
  html.js-motion .reveal,
  .logo-mark,
  .hero-copy > *,
  .hero-visual,
  .reveal,
  .reveal.is-in,
  .reveal:not(.is-in),
  .card,
  .blog-card,
  .btn,
  .social-link,
  button[type="submit"] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  @view-transition {
    navigation: none;
  }
}
