:root {
  --bg: #203a43;
  --bg2: #17303a;
  --surface: #2a4a55;
  --surface2: #335866;
  --ink: #f4fbfb;
  --mute: #b9d3d6;
  --pink: #ff8fab;
  --yellow: #ffd166;
  --btn-ink: #1b2f37;

  --line: rgba(255, 143, 171, 0.38);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-drawer: rgba(0, 0, 0, 0.35);
  --btn-shadow: rgba(255, 143, 171, 0.28);
  --glow-sun: rgba(255, 143, 171, 0.25);
  --glow-pink: rgba(255, 143, 171, 0.12);
  --glow-yellow: rgba(255, 209, 102, 0.08);
  --bnav-bg: rgba(42, 74, 85, 0.86);
  --cta-stripe: rgba(27, 47, 55, 0.1);

  --f-th: "Niramit", system-ui, sans-serif;
  --f-disp: "Paytone One", "Niramit", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-7: 56px;

  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-sm: 14px;
  --radius-arch: 150px 150px 18px 18px;
  --radius-arch-gal: 150px 150px 14px 14px;

  --max-w: 1160px;
  --prose-w: 760px;
  --phead-w: 860px;
  --pad-x-m: 20px;
  --pad-x-d: 32px;

  --dur: 160ms;
  --dur-long: 180ms;
  --ease: ease-out;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.tf-body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 0%, var(--glow-pink) 0%, transparent 48%),
    radial-gradient(circle at 88% 0%, var(--glow-yellow) 0%, transparent 42%);
  background-repeat: no-repeat;
  background-size: 100% 760px, 100% 760px;
  color: var(--ink);
  font-family: var(--f-th);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: clip;
  padding-bottom: 76px;
}

@media (min-width: 960px) {
  body.tf-body {
    padding-bottom: 0;
  }
}

.tf-skip {
  position: absolute;
  top: -9999px;
  left: var(--pad-x-m);
  z-index: 100;
  padding: 12px 22px;
  background-color: var(--pink);
  color: var(--btn-ink);
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.tf-skip:focus {
  top: 14px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

header.tf-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg2);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.tf-top-in {
  display: grid;
  width: 100%;
  max-width: var(--max-w);
  height: 64px;
  margin-inline: auto;
  padding-inline: var(--pad-x-m);
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-1);
}

.tf-top .tf-cta-top {
  order: 1;
  justify-self: start;
}

.tf-top .tf-logo {
  order: 2;
  justify-self: center;
}

.tf-top .tf-burger {
  order: 3;
  justify-self: end;
}

.tf-menu {
  display: none;
}

.tf-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.tf-bar {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--yellow);
  display: block;
  transition: transform var(--dur-long) var(--ease);
  transform-origin: center;
}

.tf-top.tf-open .tf-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tf-top.tf-open .tf-bar:nth-child(2) {
  transform: scale(0);
}

.tf-top.tf-open .tf-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tf-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  text-decoration: none;
}

.tf-logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.tf-logo-a {
  font-family: var(--f-disp);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.tf-logo-b {
  font-family: var(--f-disp);
  font-size: 22px;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.tf-nl {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tf-nl:hover {
  color: var(--yellow);
  border-bottom-color: var(--pink);
}

.tf-cta-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background-color: var(--pink);
  color: var(--btn-ink);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 20px;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}

.tf-cta-top:hover {
  transform: translateY(-2px);
}

.tf-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background-color: var(--bg2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px var(--shadow-drawer);
  z-index: 39;
}

.tf-drawer[hidden] {
  display: none;
}

.tf-drawer-in {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 16px 20px 24px;
}

.tf-dr-grp {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.tf-dr-t {
  font-size: 13px;
  font-variant: all-small-caps;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 6px;
  font-weight: 700;
}

.tf-dr-a {
  display: block;
  min-height: 46px;
  line-height: 46px;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}

.tf-dr-a:hover {
  color: var(--yellow);
}

.tf-dr-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 16px;
  border-radius: var(--radius-btn);
  background-color: var(--pink);
  color: var(--btn-ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}

.tf-dr-cta:hover {
  transform: translateY(-2px);
}

@media (min-width: 960px) {
  .tf-top-in {
    padding-inline: var(--pad-x-d);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 20px;
  }

  .tf-burger {
    display: none;
  }

  .tf-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .tf-menu-l {
    order: 1;
    justify-content: flex-end;
    gap: var(--space-1);
  }

  .tf-top .tf-logo {
    order: 2;
    justify-self: center;
  }

  .tf-menu-r {
    order: 3;
    justify-content: flex-start;
    gap: var(--space-1);
  }

  .tf-top .tf-cta-top {
    order: 4;
    justify-self: end;
  }

  .tf-drawer {
    display: none !important;
  }
}

.tf-crumbbar {
  background-color: var(--bg2);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.tf-crumb {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 8px var(--pad-x-m);
  font-size: 14px;
  color: var(--mute);
  overflow-x: auto;
  white-space: nowrap;
}

.tf-crumb a {
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: color var(--dur) var(--ease);
}

.tf-crumb a:hover {
  color: var(--pink);
}

.tf-cr-s {
  color: var(--line);
  user-select: none;
}

.tf-cr-now {
  color: var(--ink);
  white-space: nowrap;
}

@media (min-width: 960px) {
  .tf-crumb {
    padding-inline: var(--pad-x-d);
  }
}

.tf-main {
  min-height: 60vh;
  overflow-x: clip;
}

.tf-hero,
.tf-phead,
.tf-entry,
.tf-art,
.tf-long,
.tf-slots,
.tf-pvw,
.tf-gal,
.tf-faq,
.tf-endcta {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x-m);
  margin-bottom: var(--space-5);
}

@media (min-width: 960px) {
  .tf-hero,
  .tf-phead,
  .tf-entry,
  .tf-art,
  .tf-long,
  .tf-slots,
  .tf-pvw,
  .tf-gal,
  .tf-faq,
  .tf-endcta {
    padding-inline: var(--pad-x-d);
    margin-bottom: var(--space-7);
  }
}

.tf-hero {
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
}

.tf-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 900px) {
  .tf-hero-in {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }
}

.tf-kicker {
  font-weight: 700;
  font-size: 14px;
  color: var(--pink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tf-kicker::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 3px;
  background-color: var(--yellow);
  border-radius: 2px;
  flex-shrink: 0;
}

.tf-h1 {
  text-wrap: balance;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 16px 0;
  overflow-wrap: anywhere;
}

.tf-lead {
  font-size: 19px;
  color: var(--mute);
  max-width: 54ch;
  margin: 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.tf-hero-b {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
  align-items: center;
}

.tf-hero-n {
  font-size: 14px;
  color: var(--mute);
  margin-top: 16px;
  margin-bottom: 0;
}

.tf-hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tf-sun {
  width: 100%;
  height: auto;
  display: block;
  max-width: 520px;
  margin: auto;
  filter: drop-shadow(0 0 40px var(--glow-sun));
}

.tf-phead {
  padding-top: 36px;
  padding-bottom: 12px;
}

.tf-phead-in {
  max-width: var(--phead-w);
  margin-inline: auto;
}

.tf-phead .tf-h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
}

.tf-btn,
.tf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
  border: none;
}

.tf-btn-pri {
  background-color: var(--pink);
  color: var(--btn-ink);
  box-shadow: 0 6px 0 var(--btn-shadow);
}

.tf-btn-pri:hover {
  transform: translateY(-2px);
}

.tf-btn-ghost {
  background-color: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
}

.tf-btn-ghost:hover {
  transform: translateY(-2px);
}

.tf-h2 {
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  border-left: 4px solid var(--pink);
  padding-left: 14px;
  margin: 0 0 24px 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.tf-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 560px) {
  .tf-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .tf-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tf-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tf-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: transform var(--dur-long) var(--ease), border-color var(--dur-long) var(--ease);
  display: flex;
  flex-direction: column;
}

.tf-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.tf-card-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--pink);
  color: var(--btn-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.tf-ic {
  width: 26px;
  height: 26px;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tf-card-t {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.tf-card-t a {
  color: inherit;
  text-decoration: none;
}

.tf-card-t a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-card);
}

.tf-card-d {
  font-size: 15px;
  color: var(--mute);
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tf-art .tf-prose,
.tf-long .tf-prose,
.tf-prose {
  max-width: var(--prose-w);
  margin-left: 0;
  margin-right: auto;
  color: var(--ink);
}

.tf-prose p {
  margin: 0 0 1.1em 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.tf-prose h2 {
  font-weight: 700;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.2;
  margin: 2em 0 0.6em 0;
  padding-bottom: 10px;
  background-image: repeating-linear-gradient(90deg, var(--pink) 0 4px, var(--yellow) 4px 8px);
  background-size: 56px 4px;
  background-repeat: no-repeat;
  background-position: left bottom;
  overflow-wrap: anywhere;
}

.tf-prose h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin: 1.6em 0 0.5em 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.tf-prose ul,
.tf-prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em 0;
}

.tf-prose li {
  margin: 0.4em 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.tf-prose ul li::marker {
  color: var(--pink);
}

.tf-prose strong {
  color: var(--yellow);
  font-weight: 700;
}

.tf-prose a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}

.tf-prose a:hover {
  color: var(--pink);
}

.tf-prose table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  max-width: 100%;
  margin: 1.5em 0;
}

.tf-prose th {
  background-color: var(--surface2);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.tf-prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.tf-mid {
  margin: 2em 0;
  padding: 20px 22px;
  background-color: var(--surface);
  border: 2px dashed var(--yellow);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 700px) {
  .tf-mid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.tf-mid-t {
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tf-slgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 700px) {
  .tf-slgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tf-slfig {
  margin: 0;
  border: 3px solid var(--pink);
  background-color: var(--surface);
  border-radius: var(--radius-arch);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tf-slfig img,
.tf-slfig .tf-img {
  aspect-ratio: 296 / 410;
  width: 100%;
  object-fit: cover;
  display: block;
}

.tf-slcap {
  padding: 12px 14px 16px;
  text-align: center;
}

.tf-slname {
  font-weight: 700;
  font-size: 16px;
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.tf-slprov {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-transform: uppercase;
}

.tf-lgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
}

@media (min-width: 700px) {
  .tf-lgrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tf-lg {
  aspect-ratio: 1 / 1;
  background-color: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-lg img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.tf-slots-b {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.tf-pvl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 800px) {
  .tf-pvl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tf-pv {
  background-color: var(--surface);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.tf-pv-q {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 8px 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.tf-pv-a {
  font-size: 15px;
  color: var(--mute);
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tf-gl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 700px) {
  .tf-gl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tf-gl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tf-fig {
  margin: 0;
  border: 3px solid var(--pink);
  border-radius: var(--radius-arch-gal);
  background-color: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tf-fig .tf-img,
.tf-img {
  aspect-ratio: 296 / 410;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  display: block;
}

.tf-figcap {
  text-align: center;
  font-size: 13px;
  padding: 8px;
  color: var(--mute);
  overflow-wrap: anywhere;
}

.tf-faq .tf-qa-list {
  max-width: var(--phead-w);
  margin-inline: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}

.tf-qa {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.tf-q {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  color: var(--ink);
  user-select: none;
  line-height: 1.4;
}

.tf-q::-webkit-details-marker {
  display: none;
}

.tf-q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--pink);
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tf-qa[open] > .tf-q::after {
  content: "-";
}

.tf-a {
  padding: 0 18px 18px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.tf-endcta {
  margin-top: var(--space-7);
}

.tf-endcta-in {
  max-width: var(--max-w);
  margin-inline: auto;
  background-image:
    repeating-linear-gradient(45deg, var(--cta-stripe) 0 4px, transparent 4px 8px),
    linear-gradient(135deg, var(--pink), var(--yellow));
  color: var(--btn-ink);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
}

.tf-endcta-t {
  font-weight: 700;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: var(--btn-ink);
  overflow-wrap: anywhere;
}

.tf-endcta-s {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
  color: var(--btn-ink);
  overflow-wrap: anywhere;
}

.tf-endcta-b {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.tf-endcta .tf-btn-pri {
  background-color: var(--btn-ink);
  color: var(--yellow);
  box-shadow: 0 6px 0 var(--border-subtle);
}

.tf-endcta .tf-btn-pri:hover {
  transform: translateY(-2px);
}

.tf-endcta .tf-btn-ghost {
  background-color: transparent;
  border: 2px solid var(--btn-ink);
  color: var(--btn-ink);
}

.tf-endcta .tf-btn-ghost:hover {
  transform: translateY(-2px);
}

.tf-foot {
  background-color: var(--bg2);
  margin-top: 64px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.tf-stripe {
  height: 20px;
  width: 100%;
  background-image: repeating-linear-gradient(90deg, var(--pink) 0 24px, var(--yellow) 24px 48px, var(--surface) 48px 72px);
}

.tf-foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding: 40px var(--pad-x-m);
  max-width: var(--max-w);
  margin-inline: auto;
}

@media (min-width: 700px) {
  .tf-foot-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .tf-foot-in {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    padding-inline: var(--pad-x-d);
  }
}

.tf-fbrand {
  display: flex;
  flex-direction: column;
}

.tf-flogo {
  font-family: var(--f-disp);
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.tf-flogo span {
  color: var(--yellow);
}

.tf-fp {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}

.tf-fh {
  font-weight: 700;
  font-size: 16px;
  color: var(--yellow);
  margin: 0 0 16px 0;
}

.tf-fl {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tf-fl li {
  margin: 6px 0;
}

.tf-fl a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--dur) var(--ease);
}

.tf-fl a:hover {
  color: var(--pink);
}

.tf-copy {
  text-align: center;
  font-size: 13px;
  color: var(--mute);
  padding: 16px var(--pad-x-m) 24px;
  border-top: 1px solid var(--line);
  margin: 0;
}

.tf-bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background-color: var(--bnav-bg);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 960px) {
  .tf-bnav {
    display: none;
  }
}

.tf-bn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--mute);
  min-height: 56px;
  text-decoration: none;
  border-top: 3px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tf-bn-i {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tf-bn-t {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.tf-bn[aria-current="page"] {
  color: var(--yellow);
  border-top: 3px solid var(--pink);
}

.tf-k-404 .tf-hero-in {
  text-align: center;
  justify-items: center;
}

.tf-k-404 .tf-kicker {
  justify-content: center;
}

.tf-k-404 .tf-lead {
  margin-inline: auto;
}

.tf-k-404 .tf-hero-b {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* link colour must not win over buttons inside prose */
.tf-prose .tf-btn-pri,
.tf-prose .tf-btn-pri:hover {
  color: var(--btn-ink);
  text-decoration: none;
}

.tf-logo-tx { display: inline-flex; align-items: baseline; gap: 1px; }
.tf-hero-tx { min-width: 0; }
