/* ==========================================================================
   meetingplannerglobal.com — international meeting planner
   Version 1.1.0 · component atlas: versions/v1.1.0/component-atlas.html
   Search [CHR], [HRO], [PLN], [REC], [AVL], [DIF], [BRF], [CLK], [MDL]
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121613;
  --ink-2: #1c221e;
  --ink-3: #303832;
  --paper: #f4f0e6;
  --paper-2: #ece6d9;
  --surface: #fffdf8;
  --surface-2: #f9f5ec;
  --line: #ddd6c7;
  --line-strong: #c7beac;
  --muted: #5d645b;
  --muted-2: #767e73;
  --green: #176b4a;
  --green-strong: #0e5539;
  --green-soft: #c6ead1;
  --green-pale: #e6f5e9;
  --lime: #c9f36b;
  --lime-soft: #e8f9bd;
  --amber: #bd8615;
  --amber-soft: #f7e3a5;
  --red: #bd4a3f;
  --red-soft: #f2c7c0;
  --off: #e0dbcf;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(18, 22, 19, .06), 0 8px 24px -18px rgba(18, 22, 19, .35);
  --shadow-md: 0 2px 4px rgba(18, 22, 19, .05), 0 30px 60px -42px rgba(18, 22, 19, .55);
  --shadow-lg: 0 40px 90px -50px rgba(18, 22, 19, .7);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --sans: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-width: 1280px;
  --gutter: clamp(20px, 4vw, 44px);
  --label-width: 186px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

::selection { background: var(--lime); color: var(--ink); }

img, svg { display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, dl, dd, dt, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.results-section :focus-visible,
.brief-card :focus-visible,
.live-board :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}
.recommendation-card.is-best :focus-visible { outline-color: var(--ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.noscript-banner {
  padding: 12px 20px;
  background: var(--amber-soft);
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

.icon-sprite {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-width {
  width: min(100% - (var(--gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.section { padding: clamp(58px, 8vw, 100px) 0; }
section[id] { scroll-margin-top: 92px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(17, 21, 18, .96);
  color: #f7f3e9;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - (var(--gutter) * 2), var(--page-width));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: #f5f1e8;
}
.brand-mark svg { width: 100%; height: 100%; }

.brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.brand-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.brand-full { display: inline; }
.brand-tld { color: var(--lime); }
.brand-copy small {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #a8b0a7;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.primary-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #c8cec6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: color .18s ease, background .18s ease;
}
.primary-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 12px;
}

.format-toggle {
  width: 42px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: transparent;
  color: #dfe4dc;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.format-toggle:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; }
.format-toggle[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.header-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: #c8cec6;
  white-space: nowrap;
}
.header-clock strong {
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.02em;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 243, 107, .12);
  animation: pulse 2.4s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(100% - (var(--gutter) * 2), var(--page-width));
  margin-inline: auto;
  padding: 8px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
  color: #e7ebe5;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 92px) 0 clamp(58px, 7vw, 88px);
  background:
    radial-gradient(ellipse 46% 60% at 86% 16%, rgba(201, 243, 107, .20), transparent 70%),
    radial-gradient(ellipse 35% 50% at 4% 84%, rgba(23, 107, 74, .08), transparent 75%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 22, 19, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 19, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 82%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -240px;
  top: -290px;
  border: 1px solid rgba(18, 22, 19, .13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .025em;
  color: var(--muted);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-current="page"] { color: var(--ink); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 107, 74, .10);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(47px, 6.2vw, 82px);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 1px;
  bottom: .035em;
  height: .11em;
  border-radius: 99px;
  background: var(--lime);
  z-index: -1;
}

.hero-lede {
  margin-top: 26px;
  max-width: 590px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: #4f574f;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts {
  margin-top: clamp(40px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1.1fr 1.25fr .8fr;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.hero-facts dt {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-facts dd {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}
.hero-facts dd span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}

.live-board {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #f7f3e9;
  box-shadow: var(--shadow-lg);
}
.live-board::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  right: -160px; top: -180px;
  border: 1px solid rgba(201, 243, 107, .22);
  border-radius: 50%;
}
.live-board-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c9d0c6;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
}
.live-badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-clock-list {
  position: relative;
  padding: 4px 0;
}
.hero-clock {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}
.hero-clock:last-child { border-bottom: 0; }
.hero-clock .flag {
  width: 25px;
  height: 17px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.hero-clock-flag-fallback {
  width: 25px; height: 17px;
  border-radius: 3px;
  display: grid;
  place-items: center;
  background: #2b322c;
  color: #d7ddd4;
  font-family: var(--mono);
  font-size: 8px;
}
.hero-clock-name {
  min-width: 0;
}
.hero-clock-name strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: #f6f2e9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-clock-name span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #8f998f;
}
.hero-clock-time {
  text-align: right;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--lime);
}
.hero-clock-time small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #9ca69b;
}
.hero-clock-skeleton {
  height: 67px;
  margin: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
}
.hero-clock-skeleton:last-child { border-bottom: 0; }
.live-board-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .03em;
  color: #7f897f;
}
.live-board-foot span:first-child {
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-board-foot a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  white-space: nowrap;
}

.live-board-foot a:hover {
  color: var(--lime);
  border-bottom-color: currentColor;
}

/* ==========================================================================
   Shared type and controls
   ========================================================================== */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}
.section-heading-split > div:first-child { max-width: 760px; }
.section-index {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.section-heading h2 {
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.section-intro {
  max-width: 360px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.heading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .02em;
  color: var(--muted);
  text-align: right;
}
.fairness-key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.fairness-key i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 243, 107, .14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button .icon { width: 17px; height: 17px; }

.button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px -16px rgba(18, 22, 19, .7);
}
.button-primary:hover { background: var(--green-strong); border-color: var(--green-strong); }

.button-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.button-outline:hover { border-color: var(--ink); background: rgba(18, 22, 19, .03); }

.button-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.button-ghost:hover { border-color: var(--line-strong); background: var(--surface-2); }

.button-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--ink);
  padding-inline: 10px;
}
.button-quiet:hover { background: rgba(18, 22, 19, .06); }

.button-light {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.button-light:hover { background: #d6fa82; border-color: #d6fa82; }

.button-light-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: #f7f3e9;
}
.button-light-ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .07); }

.button-small { min-height: 38px; padding: 0 14px; border-radius: 9px; font-size: 12px; }
.button-full { width: 100%; }

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.text-button:hover { color: var(--green-strong); text-decoration: underline; text-underline-offset: 3px; }
.text-button .icon { width: 15px; height: 15px; }
.text-button-small { font-size: 11px; }
.text-button-muted { color: var(--muted); }
.text-button-muted:hover { color: var(--ink); }

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.icon-button .icon { width: 17px; height: 17px; }

.field-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a6259;
}
.field-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}
.field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}
.field-support {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}
.field-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

/* ==========================================================================
   Planner
   ========================================================================== */

.planner-section {
  background:
    linear-gradient(180deg, var(--paper) 0, #f7f3e9 35%, var(--paper) 100%);
}
.planner-section .section-heading { margin-bottom: 26px; }

.step-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  color: var(--muted);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18%;
  border-top: 1px dashed var(--line-strong);
}
.step span {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  background: var(--paper);
}
.step strong { font-size: 11.5px; font-weight: 600; }
.step.is-active { color: var(--ink); }
.step.is-active span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.planner-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.planner-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 28px 21px;
  border-bottom: 1px solid var(--line);
}
.planner-card-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mini-rule {
  width: 3px;
  height: 39px;
  margin-top: 2px;
  border-radius: 3px;
  background: var(--lime);
}
.card-kicker {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.planner-card-title h3 {
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.participants-block {
  padding: 24px 28px 25px;
  border-bottom: 1px solid var(--line);
}
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.city-chip {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  min-width: 186px;
  padding: 10px 8px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.city-chip:hover { border-color: var(--line-strong); background: #fbf8f0; }
.city-chip.is-anchor { border-color: #a9d5b6; background: var(--green-pale); }
.city-chip .flag {
  width: 25px;
  height: 17px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 22, 19, .10);
}
.city-chip-flag-fallback {
  width: 25px; height: 17px;
  display: grid; place-items: center;
  border-radius: 3px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.city-chip-copy { min-width: 0; }
.city-chip-copy strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-chip-copy span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip-remove {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8b9289;
  cursor: pointer;
}
.chip-remove:hover { background: rgba(18, 22, 19, .07); color: var(--ink); }
.chip-remove .icon { width: 14px; height: 14px; }
.city-chip.is-anchor .chip-remove:hover { background: rgba(23, 107, 74, .10); }
.anchor-mark {
  position: absolute;
  top: -6px;
  right: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.participant-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.configuration-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr .85fr;
  gap: 10px;
  padding: 10px;
  background: #f1ece1;
  border-bottom: 1px solid var(--line);
}
.control-card {
  min-width: 0;
  padding: 18px 19px 17px;
  border: 1px solid #e3ddd0;
  border-radius: 14px;
  background: var(--surface);
}
.control-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.date-stepper {
  display: flex;
  align-items: center;
  gap: 7px;
}
.date-input-shell {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}
.date-icon { width: 15px; height: 15px; color: var(--muted); }
.date-input-shell input {
  width: 100%;
  min-width: 0;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: -.02em;
  outline: none;
}
.date-input-shell:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 107, 74, .12);
}
.date-input-shell input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .6;
}
.hours-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.time-select {
  flex: 1 1 0;
  min-width: 0;
  appearance: none;
  padding: 10px 28px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23697067' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}
.time-select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(23, 107, 74, .12); }
.hours-dash { color: var(--muted); font-size: 12px; }

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #efe9dd;
}
.segmented button {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(18, 22, 19, .12);
}

.planner-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 28px;
  background: var(--surface);
}
.plan-readout { min-width: 0; }
.readout-label {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-readout p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.plan-readout strong { font-size: 13px; font-weight: 700; letter-spacing: -.015em; }
.plan-readout p span { font-size: 11px; color: var(--muted); }
.planner-actions { display: flex; flex: 0 0 auto; gap: 8px; }

/* ==========================================================================
   Recommendations
   ========================================================================== */

.results-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f6f2e9;
}
.results-section::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  left: -350px; bottom: -500px;
  border: 1px solid rgba(201, 243, 107, .16);
  border-radius: 50%;
}
.results-section .section-heading,
.results-section .recommendation-grid,
.results-section .results-foot { position: relative; z-index: 1; }
.results-section .section-index { color: var(--lime); }
.results-section .heading-meta { color: #9da69d; }

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.recommendation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #303831;
  border-radius: 20px;
  background: #1a201b;
  color: #f6f2e9;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.recommendation-card:hover {
  transform: translateY(-3px);
  border-color: #4b564c;
  box-shadow: 0 30px 60px -45px rgba(0, 0, 0, .9);
}
.recommendation-card.is-best {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.recommendation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 21px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.is-best .recommendation-head { border-bottom-color: rgba(18, 22, 19, .16); }
.rank-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aeb7ad;
}
.is-best .rank-label { color: #3f5839; }
.rank-number {
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  font-size: 8px;
  color: #e5e9e4;
}
.is-best .rank-number { border-color: rgba(18, 22, 19, .28); color: var(--ink); }
.score-ring {
  --score: 80;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #1a201b 72%, transparent 74% 99%),
    conic-gradient(var(--lime) calc(var(--score) * 1%), rgba(255, 255, 255, .12) 0);
}
.is-best .score-ring {
  background:
    radial-gradient(closest-side, var(--lime) 72%, transparent 74% 99%),
    conic-gradient(var(--ink) calc(var(--score) * 1%), rgba(18, 22, 19, .14) 0);
}
.score-ring strong {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--lime);
}
.is-best .score-ring strong { color: var(--ink); }
.recommendation-time {
  padding: 20px 21px 17px;
}
.recommendation-time .rec-anchor {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.recommendation-time .rec-anchor strong {
  font-family: var(--mono);
  font-size: clamp(37px, 3.2vw, 47px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.075em;
}
.recommendation-time .rec-anchor span {
  font-size: 10px;
  font-weight: 650;
  color: #aeb7ad;
}
.is-best .recommendation-time .rec-anchor span { color: #3f5839; }
.recommendation-time .rec-date-line {
  margin-top: 7px;
  font-size: 11px;
  color: #c5cdc3;
}
.is-best .recommendation-time .rec-date-line { color: #3f5839; }
.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #d3dbd0;
}
.rec-badge.is-excellent { color: var(--lime); border-color: rgba(201, 243, 107, .32); }
.is-best .rec-badge { border-color: rgba(18, 22, 19, .26); color: #29452f; }
.rec-badge .icon { width: 11px; height: 11px; }

.rec-city-list {
  margin: 0;
  padding: 0 21px;
}
.rec-city {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .075);
}
.is-best .rec-city { border-top-color: rgba(18, 22, 19, .14); }
.rec-city .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.rec-city-name {
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: #d1d8ce;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.is-best .rec-city-name { color: #344a32; }
.rec-city-time {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #f6f2e9;
  white-space: nowrap;
}
.is-best .rec-city-time { color: var(--ink); }
.day-shift {
  padding: 1px 3px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.3;
  color: #b0b9ae;
}
.is-best .day-shift { border-color: rgba(18, 22, 19, .25); color: #465b3e; }
.rec-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-soft);
}
.rec-status.status-edge { background: var(--amber-soft); }
.rec-status.status-night { background: var(--red-soft); }
.rec-status.status-off { background: #8f998f; }
.rec-status.status-good { background: var(--lime); }
.is-best .rec-status.status-good { background: var(--green); }
.recommendation-foot {
  margin-top: auto;
  padding: 16px 21px 19px;
}
.rec-cta {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: transparent;
  color: #f6f2e9;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.rec-cta:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .35); }
.rec-cta .icon { width: 15px; height: 15px; }
.is-best .rec-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-best .rec-cta:hover { background: var(--green-strong); border-color: var(--green-strong); }

.recommendation-skeleton {
  height: 410px;
  border: 1px solid #303831;
  border-radius: 20px;
  background: linear-gradient(100deg, #1a201b 20%, #222a23 40%, #1a201b 60%);
  background-size: 220% 100%;
  animation: shimmer 1.7s linear infinite;
}

.results-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
}
.results-note {
  max-width: 620px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #aeb7ad;
}
.score-details { max-width: 430px; }
.score-details summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  color: #cbd3c8;
  cursor: pointer;
}
.score-details summary::-webkit-details-marker { display: none; }
.score-details summary .icon { width: 14px; height: 14px; color: var(--lime); }
.score-details p {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.65;
  color: #98a196;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.availability-section { background: var(--paper); }
.timeline-head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .05em;
  color: var(--muted);
}
.select-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select-shell select {
  appearance: none;
  min-height: 39px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
}
.select-shell .icon {
  position: absolute;
  right: 11px;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.selection-panel {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 1.85fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  background: var(--ink);
  color: #f7f3e9;
}
.selection-primary { min-width: 0; }
.selection-eyebrow {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ba59a;
}
.selection-time-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 10px;
}
.selection-time-line strong {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.07em;
  color: var(--lime);
}
.selection-time-line span { font-size: 10.5px; font-weight: 600; color: #c4ccc0; }
.selection-primary p {
  margin-top: 6px;
  font-size: 10px;
  color: #8e998d;
}
.selection-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.selection-city {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
  background: rgba(255, 255, 255, .035);
  white-space: nowrap;
}
.selection-city .flag {
  width: 15px;
  height: 10px;
  border-radius: 2px;
  object-fit: cover;
}
.selection-city span {
  font-size: 9.5px;
  font-weight: 600;
  color: #adb6ab;
}
.selection-city strong {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: #fff;
}
.selection-city em {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  color: var(--lime);
}
.selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.selection-actions .button { min-height: 34px; padding-inline: 11px; font-size: 10.5px; }

.timeline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  flex: 0 0 auto;
}
.swatch-good { background: var(--green-soft); }
.swatch-edge { background: var(--amber-soft); }
.swatch-night { background: var(--red-soft); }
.swatch-off { background: repeating-linear-gradient(135deg, #cfc9bc 0 2px, #eee9de 2px 4px); }
.timeline-instruction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}
.timeline-instruction .icon { width: 14px; height: 14px; color: var(--green); }

.timeline-scroll {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.timeline-scroll::-webkit-scrollbar { height: 10px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 3px solid var(--surface); }
.timeline-stage {
  --label: var(--label-width);
  position: relative;
  min-width: 920px;
  padding-bottom: 10px;
  background: var(--surface);
}
.timeline-loading {
  height: 340px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.axis-row,
.meeting-row,
.city-row {
  display: grid;
  grid-template-columns: var(--label) minmax(0, 1fr);
}
.axis-row {
  height: 38px;
  border-bottom: 1px solid var(--line);
  background: #fbf8f0;
}
.axis-label,
.row-label {
  position: sticky;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  background: #fbf8f0;
}
.axis-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.axis-track,
.track {
  position: relative;
  min-width: 0;
}
.axis-track {
  height: 100%;
}
.axis-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translateX(-1px);
  display: flex;
  align-items: center;
  padding-left: 6px;
  border-left: 1px solid #e7e1d5;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  white-space: nowrap;
}
.axis-mark:first-child { padding-left: 7px; border-left-color: transparent; }

.meeting-row {
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.meeting-row .row-label {
  background: var(--surface);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.meeting-track {
  position: relative;
  background-image: repeating-linear-gradient(90deg, rgba(18, 22, 19, .04) 0 1px, transparent 1px calc(100% / 48));
}
.meeting-block {
  position: absolute;
  top: 9px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 18px -10px rgba(18, 22, 19, .8);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: -.02em;
  white-space: nowrap;
  cursor: grab;
  touch-action: none;
  user-select: none;
  z-index: 3;
}
.meeting-block:hover { background: var(--green-strong); }
.meeting-block:active { cursor: grabbing; }
.meeting-block.dragging { background: var(--green); box-shadow: 0 10px 24px -10px rgba(18, 22, 19, .9); }
.meeting-block .icon { display: none; width: 12px; height: 12px; opacity: .8; }
.meeting-block.is-compact { padding-inline: 0; gap: 0; }
.meeting-block.is-compact .icon { display: block; }
.meeting-block.is-compact span { display: none; }

.city-row {
  height: 61px;
  border-bottom: 1px solid #ece6da;
}
.city-row:last-of-type { border-bottom: 0; }
.city-row:nth-of-type(even) .row-label { background: #faf7ef; }
.row-label {
  gap: 9px;
  background: var(--surface);
}
.city-row .row-label { background: var(--surface); }
.city-row-detail { min-width: 0; }
.city-row-detail strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.city-row-detail span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-label .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(18, 22, 19, .10);
}
.city-dst {
  padding: 1px 4px;
  border: 1px solid #c3cbae;
  border-radius: 3px;
  background: #eef6d8;
  color: #516738;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}
.slot-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(48, minmax(0, 1fr));
  height: 100%;
}
.slot {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .38);
  border-radius: 0;
  background: var(--green-soft);
  cursor: crosshair;
  transition: filter .12s ease;
}
.slot:nth-child(4n) { border-right-color: rgba(18, 22, 19, .10); }
.slot:hover { filter: brightness(.97); }
.slot.is-hover { box-shadow: inset 0 0 0 2px var(--ink); z-index: 2; }
.slot.is-selected { box-shadow: inset 0 0 0 2px var(--ink); z-index: 2; }
.slot.status-good { background: var(--green-soft); }
.slot.status-edge { background: var(--amber-soft); }
.slot.status-night { background: var(--red-soft); }
.slot.status-off {
  background: repeating-linear-gradient(135deg, #dfd9cd 0 4px, #f1ece2 4px 8px);
}
.slot.status-good:nth-child(4n) { background: #bde3c8; }
.slot.status-edge:nth-child(4n) { background: #f3dda0; }
.slot.status-night:nth-child(4n) { background: #edbdb5; }
.slot.is-past::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 248, .22);
  pointer-events: none;
}
.slot[data-first="true"] { border-left: 1px solid rgba(18, 22, 19, .13); }
.slot[data-six-hour="true"] { border-left: 1px solid rgba(18, 22, 19, .20); }
.now-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--ink);
  z-index: 4;
  pointer-events: none;
  opacity: .65;
}
.now-line::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.selection-line {
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--ink);
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
}
.selection-line::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.timeline-stage.no-selection .selection-line { display: none; }

.timeline-tooltip {
  position: fixed;
  z-index: 200;
  width: 238px;
  padding: 13px;
  border: 1px solid #303831;
  border-radius: 12px;
  background: var(--ink);
  color: #f6f2e9;
  box-shadow: 0 18px 40px -20px rgba(18, 22, 19, .9);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .12s ease, transform .12s ease;
}
.timeline-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.tooltip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.tooltip-head strong { font-family: var(--mono); font-size: 17px; font-weight: 400; color: var(--lime); letter-spacing: -.04em; }
.tooltip-head span { font-size: 8px; color: #98a296; text-align: right; }
.tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  font-size: 9px;
  color: #bdc6bb;
}
.tooltip-row b { font-family: var(--mono); font-weight: 400; color: #fff; }
.tooltip-row small { display: block; margin-top: 1px; font-family: var(--sans); font-size: 7px; line-height: 1.2; color: #7f8a7e; }
.tooltip-row em { font-style: normal; font-family: var(--mono); font-size: 7px; color: var(--lime); }
.tooltip-foot { margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 8px; color: #8e998d; }

.timeline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  background: #fbf8f0;
}
.timeline-footer p { font-size: 10px; color: var(--muted); }
.timeline-footer-actions { display: flex; align-items: center; gap: 20px; }
.dst-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.dst-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ==========================================================================
   Differences and brief
   ========================================================================== */

.lower-section { background: #f7f3e9; }
.lower-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: start;
  gap: 18px;
}
.section-heading-compact { margin-bottom: 24px; }
.section-heading-compact h2 { font-size: clamp(28px, 3.2vw, 42px); }

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.difference-card {
  min-width: 0;
  padding: 17px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.difference-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ede7dc;
}
.difference-card-head .flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 22, 19, .10);
}
.difference-card-head strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.difference-card-head span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.difference-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  padding-top: 12px;
}
.difference-now {
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.06em;
}
.difference-now small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0;
  color: var(--muted);
}
.difference-delta {
  text-align: right;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--green);
}
.difference-delta.is-behind { color: var(--red); }
.difference-delta.is-same { color: var(--green); }
.difference-delta small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  color: var(--muted);
}
.overlap-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid #b8d792;
  border-radius: 14px;
  background: var(--lime-soft);
}
.overlap-icon {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}
.overlap-icon .icon { width: 17px; height: 17px; }
.overlap-label {
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5e6b45;
}
.overlap-value { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }

.brief-card {
  position: sticky;
  top: 94px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #f6f2e9;
  box-shadow: var(--shadow-lg);
}
.brief-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brief-card .section-index { margin: 0; color: var(--lime); }
.brief-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #cdd5ca;
}
.brief-card h2 {
  margin-top: 14px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.brief-body { margin-top: 21px; border-top: 1px solid rgba(255, 255, 255, .12); }
.brief-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.brief-line span { font-family: var(--mono); font-size: 8px; letter-spacing: .04em; color: #8f998e; }
.brief-line strong { font-size: 10.5px; font-weight: 600; text-align: right; color: #edf0e9; }
.brief-cities { padding: 13px 0 6px; }
.brief-city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 10px;
  color: #b7c0b4;
}
.brief-city span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.brief-city .flag { width: 17px; height: 11px; border-radius: 2px; object-fit: cover; }
.brief-city strong { font-family: var(--mono); font-size: 9.5px; font-weight: 400; color: #fff; }
.brief-actions { display: grid; gap: 7px; margin-top: 15px; }
.brief-actions .button { min-height: 40px; font-size: 11px; }
.brief-actions .button-outline { border-color: rgba(255, 255, 255, .22); color: #e7ebe4; }
.brief-actions .button-outline:hover { border-color: rgba(255, 255, 255, .48); background: rgba(255, 255, 255, .06); }
.brief-privacy {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  font-size: 8px;
  line-height: 1.5;
  color: #7f897f;
}
.brief-privacy .icon { width: 11px; height: 11px; flex: 0 0 auto; }

/* ==========================================================================
   Live world clocks
   ========================================================================== */

.clocks-section { background: var(--paper); }
.world-clock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.world-clock-card {
  position: relative;
  min-width: 0;
  padding: 18px 18px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.world-clock-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.world-clock-card.is-home { border-color: #aacb9d; background: #f2f8e9; }
.world-clock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.world-clock-top .flag {
  width: 21px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 22, 19, .10);
}
.world-clock-top strong {
  min-width: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.world-clock-top .home-badge {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.world-clock-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
}
.world-clock-time {
  font-family: var(--mono);
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.07em;
}
.world-clock-date {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
}
.world-clock-meta {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.clock-dial {
  position: relative;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--ink) 0 1.5px, transparent 1.5px),
    repeating-conic-gradient(from 0deg, rgba(18, 22, 19, .50) 0deg .7deg, transparent .7deg 30deg);
  background-size: auto, 100% 100%;
  opacity: .9;
}
.clock-dial::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--surface);
}
.world-clock-card.is-home .clock-dial::before { background: #f2f8e9; }
.clock-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 1.5px;
  border-radius: 99px;
  background: var(--ink);
  transform-origin: 50% 100%;
  z-index: 1;
}
.clock-hand-hour { height: 12px; }
.clock-hand-minute { height: 17px; background: var(--green); }
.clock-hand-second { height: 18px; width: 1px; background: var(--red); }

/* ==========================================================================
   Explainer and footer
   ========================================================================== */

.explainer {
  padding: clamp(54px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 40% 80% at 88% 50%, rgba(201, 243, 107, .13), transparent 70%),
    #ede8dc;
}
.explainer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}
.explainer-intro h2 {
  margin-top: 10px;
  max-width: 320px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.06;
  letter-spacing: -.05em;
}
.explainer-item {
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
}
.explainer-number {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--green);
}
.explainer-item h3 {
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.explainer-item p {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: #f6f2e9;
  padding: 58px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1.2fr;
  gap: 50px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.brand-footer { display: inline-flex; }
.brand-footer .brand-copy strong { font-size: 22px; }
.footer-brand p {
  margin-top: 18px;
  max-width: 250px;
  font-size: 12px;
  color: #98a196;
}
.footer-nav {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-nav a {
  width: fit-content;
  font-size: 11px;
  color: #b6bfb3;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { display: grid; gap: 12px; align-content: start; }
.footer-note p {
  max-width: 430px;
  font-size: 10.5px;
  line-height: 1.65;
  color: #899387;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .015em;
  color: #899387;
}
.footer-copyright {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b6bfb3;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: -.015em;
}
.footer-copyright-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
}
.footer-copyright strong {
  color: #f6f2e9;
  font-weight: 750;
}
.footer-domain-tld {
  color: var(--lime);
}
.footer-tagline {
  color: #899387;
}

/* ==========================================================================
   Dialogs
   ========================================================================== */

.modal {
  width: min(100% - 32px, 650px);
  max-height: min(88vh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
#hoursDialog { width: min(100% - 32px, 790px); }
body.dragging-meeting { cursor: grabbing; user-select: none; }
.modal::backdrop {
  background: rgba(9, 13, 10, .63);
  backdrop-filter: blur(5px);
}
.modal[open] { animation: modal-in .22s ease-out; }
.modal-shell {
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: 26px;
}
.modal-shell-wide { width: min(100vw - 32px, 760px); }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.modal-head .section-index { margin-bottom: 8px; }
.modal-head h2 {
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.modal-close { flex: 0 0 auto; }
.modal-intro {
  margin-top: 12px;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.modal-foot {
  position: sticky;
  bottom: -26px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 15px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 10px;
  color: var(--muted);
}
.modal-foot-right { justify-content: flex-end; }
.modal-note {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.modal-note .icon { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; color: var(--green); }

.city-search-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 5px 5px 5px 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.city-search-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 107, 74, .12);
}
.city-search-row .search-icon {
  position: absolute;
  left: 15px;
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.city-search-row input {
  min-width: 0;
  flex: 1 1 auto;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}
.city-search-row input::-webkit-search-cancel-button { display: none; }
.city-search-row .button { flex: 0 0 auto; }

.search-tabs {
  display: flex;
  gap: 4px;
  margin-top: 18px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}
.search-tab {
  position: relative;
  padding: 8px 11px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}
.search-tab:hover { color: var(--ink); }
.search-tab.is-active { color: var(--ink); }
.search-tab.is-active::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: -1px;
  height: 2px;
  background: var(--green);
}
.search-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
  color: var(--muted);
}
.city-results {
  max-height: 355px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.city-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 8px 5px 0;
  border-bottom: 1px solid #f0ebdf;
  background: transparent;
  cursor: pointer;
}
.city-result:hover { background: #f7f3e9; }
.city-result-hit {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.city-result-hit:focus-visible { outline-offset: -2px; }
.city-result .flag {
  width: 27px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 22, 19, .10);
}
.city-result-flag-fallback {
  width: 27px; height: 18px;
  display: grid; place-items: center;
  border-radius: 3px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.city-result-copy { min-width: 0; }
.city-result-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-result-copy span {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-result-zone {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  text-align: right;
}
.city-result-zone small { display: block; margin-top: 2px; font-size: 8px; color: var(--muted); }
.city-result-side { display: flex; align-items: center; gap: 3px; }
.result-add-btn,
.result-fav-btn {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.result-add-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.result-fav-btn { border-color: transparent; background: transparent; color: var(--muted); }
.result-fav-btn:hover { color: var(--amber); background: #f7f1e2; }
.result-fav-btn.is-favourite { color: var(--amber); }
.result-fav-btn .icon,
.result-add-btn .icon { width: 14px; height: 14px; }
.city-result.is-added { background: #f6f9f0; }
.city-result.is-added:hover { background: #f0f6e6; }
.city-result.is-added .result-add-btn { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }
.result-section-label {
  padding: 16px 8px 7px;
  border-bottom: 1px solid #f0ebdf;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.empty-results {
  padding: 34px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.hours-editor {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.hours-row-editor {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eee8dd;
}
.hours-city {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.hours-city .flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}
.hours-city strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hours-city span {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.hours-window { display: flex; align-items: center; gap: 4px; }
.hours-window select {
  appearance: none;
  padding: 7px 22px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23697067' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink);
  cursor: pointer;
}
.hours-window span { color: var(--muted); font-size: 9px; }
.day-toggles { display: flex; gap: 2px; }
.day-toggle {
  width: 25px; height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  color: #9da49a;
  font-family: var(--mono);
  font-size: 7.5px;
  cursor: pointer;
}
.day-toggle[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.day-toggle:hover { border-color: var(--green); }
.hours-options {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.fake-check {
  width: 19px; height: 19px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface-2);
  color: transparent;
}
.fake-check .icon { width: 12px; height: 12px; }
.check-row input:checked + .fake-check { background: var(--green); border-color: var(--green); color: #fff; }
.check-row input:focus-visible + .fake-check { outline: 3px solid var(--green); outline-offset: 2px; }
.check-row strong { display: block; font-size: 10.5px; }
.check-row small { display: block; margin-top: 2px; font-size: 9px; color: var(--muted); }

.share-summary,
.calendar-summary {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.share-summary .share-big {
  font-family: var(--mono);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.055em;
}
.share-summary p { margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.share-summary .share-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.share-summary .share-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-size: 8.5px;
}
.share-summary .share-city .flag { width: 13px; height: 9px; border-radius: 1px; object-fit: cover; }
.share-summary .share-city b { font-family: var(--mono); font-size: 8.5px; font-weight: 400; }
.modal .field-label { display: block; margin: 20px 0 7px; }
.copy-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.copy-field input {
  min-width: 0;
  flex: 1 1 auto;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  outline: none;
}
.share-action-grid { display: grid; gap: 7px; margin-top: 18px; }
.share-action {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}
.share-action:hover { border-color: var(--line-strong); background: var(--surface-2); }
.share-action-icon {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--green);
}
.share-action strong { display: block; font-size: 10.5px; }
.share-action small { display: block; margin-top: 1px; font-size: 8.5px; color: var(--muted); }

.calendar-summary .cal-big {
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: -.055em;
  line-height: 1.2;
}
.calendar-summary p { margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.calendar-actions { display: grid; gap: 7px; margin-top: 18px; }
.calendar-action {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.calendar-action:hover { border-color: var(--line-strong); background: var(--surface-2); }
.calendar-brand {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.google-brand { background: #e8f1ff; color: #1a73e8; }
.outlook-brand { background: #e4efff; color: #0b5cad; }
.ics-brand { background: var(--green-pale); color: var(--green); }
.calendar-action strong { display: block; font-size: 10.5px; }
.calendar-action small { display: block; margin-top: 1px; font-size: 8.5px; color: var(--muted); }
.calendar-action > .icon { width: 14px; height: 14px; color: var(--muted); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 400;
  max-width: min(92vw, 430px);
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 44px -18px rgba(0, 0, 0, .8);
  font-size: 11px;
  font-weight: 600;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Animation
   ========================================================================== */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes card-in {
  from { opacity: .4; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.recommendation-grid.is-refreshed .recommendation-card {
  animation: card-in .34s cubic-bezier(.2, .7, .3, 1) both;
}
.recommendation-grid.is-refreshed .recommendation-card:nth-child(2) { animation-delay: .04s; }
.recommendation-grid.is-refreshed .recommendation-card:nth-child(3) { animation-delay: .08s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .brand-copy strong { font-size: 18px; }
  .primary-nav { gap: 0; }
  .primary-nav a { padding-inline: 9px; font-size: 12px; }
  .header-clock span:first-of-type { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); gap: 44px; }
  .configuration-grid { grid-template-columns: 1fr 1fr; }
  .duration-card { grid-column: 1 / -1; }
  .recommendation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .selection-panel { grid-template-columns: 200px minmax(0, 1fr); }
  .selection-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .lower-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .world-clock-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .explainer-grid { grid-template-columns: repeat(3, 1fr); }
  .explainer-intro { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .explainer-intro h2 { margin-top: 0; max-width: 520px; }
}

@media (max-width: 1279px) and (min-width: 901px) {
  html { scroll-padding-top: 148px; }
  .header-inner {
    flex-wrap: wrap;
    gap: 0 20px;
    padding-bottom: 0;
  }
  .primary-nav {
    order: 3;
    flex: 0 0 100%;
    margin-left: 0;
    gap: 6px;
    justify-content: center;
    padding: 3px 0 9px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .primary-nav a {
    padding: 7px 9px;
    font-size: 12px;
    white-space: nowrap;
  }
  .header-tools { margin-left: auto; }
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 20px; }
  .header-tools { margin-left: auto; }
  .mobile-nav:not([hidden]) { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(48px, 8.2vw, 74px); }
  .hero-facts { max-width: 680px; }
  .live-board { max-width: 680px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-intro { max-width: 560px; padding-bottom: 0; }
  .heading-meta { justify-content: flex-start; text-align: left; padding-bottom: 0; }
  .planner-card-foot { align-items: flex-start; flex-direction: column; }
  .planner-actions { width: 100%; }
  .planner-actions .button { flex: 1 1 auto; }
  .recommendation-grid { grid-template-columns: 1fr; }
  .recommendation-card.is-best { order: -1; }
  .recommendation-skeleton { height: 250px; }
  .recommendation-card { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); }
  .recommendation-head { grid-column: 1 / -1; }
  .recommendation-time { border-right: 1px solid rgba(255, 255, 255, .10); }
  .is-best .recommendation-time { border-right-color: rgba(18, 22, 19, .15); }
  .rec-city-list { align-self: start; }
  .recommendation-foot { grid-column: 2; padding-top: 0; }
  .is-best .recommendation-time { border-right-color: rgba(18, 22, 19, .15); }
  .results-foot { flex-direction: column; gap: 12px; }
  .lower-layout { grid-template-columns: 1fr; }
  .brief-card { position: static; }
  .world-clock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explainer-grid { grid-template-columns: 1fr 1fr; }
  .explainer-intro { display: block; grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; --label-width: 136px; }
  .header-inner { min-height: 64px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7.5px; }
  .brand-footer .brand-copy strong { font-size: 14px; }
  .header-clock { display: none; }
  .format-toggle { width: 38px; }
  .site-header .header-tools { gap: 8px; }
  .menu-toggle { width: 38px; height: 38px; }

  .hero { padding-top: 46px; }
  .hero h1 { margin-top: 20px; font-size: clamp(42px, 11.4vw, 58px); line-height: 1.01; }
  .hero-lede { margin-top: 20px; font-size: 15px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .button { flex: 1 1 auto; min-width: 145px; }
  .hero-facts { gap: 14px; grid-template-columns: 1fr 1fr; }
  .hero-facts > div:last-child { grid-column: 1 / -1; }
  .live-board-head { padding: 18px 18px 14px; }
  .hero-clock { padding: 12px 18px; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 10px; }
  .hero-clock-time { font-size: 18px; }
  .live-board-foot { padding: 13px 18px; }

  .section { padding: 54px 0; }
  .section-heading h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .section-heading { margin-bottom: 24px; }
  .step-rail { grid-template-columns: 1fr; border-bottom: 0; }
  .step { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .step:not(:last-child)::after { display: none; }
  .step strong { font-size: 11px; }
  .step:not(.is-active) { display: none; }

  .planner-card-head { padding: 20px 18px 17px; }
  .planner-card-title h3 { font-size: 18px; }
  .planner-card-head .text-button { font-size: 10px; }
  .participants-block { padding: 21px 18px 22px; }
  .city-chips { gap: 7px; }
  .city-chip { flex: 1 1 calc(50% - 4px); min-width: 0; grid-template-columns: 22px minmax(0, 1fr) 24px; gap: 7px; padding: 9px 6px 9px 9px; }
  .city-chip .flag, .city-chip-flag-fallback { width: 21px; height: 14px; }
  .city-chip-copy strong { font-size: 11.5px; }
  .city-chip-copy span { font-size: 7.5px; }
  .participant-actions { gap: 8px 12px; }
  .field-hint { display: none; }
  .configuration-grid { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .duration-card { grid-column: auto; }
  .planner-card-foot { padding: 16px 18px; gap: 18px; }
  .planner-actions { flex-direction: column-reverse; }
  .planner-actions .button { width: 100%; }
  .plan-readout p span { display: block; }
  .plan-readout strong { font-size: 12px; }

  .results-section .section-heading { gap: 12px; }
  .recommendation-card { display: block; }
  .recommendation-head { padding: 17px 17px 14px; }
  .recommendation-time { padding: 18px 17px 14px; border-right: 0; }
  .recommendation-time .rec-anchor strong { font-size: 43px; }
  .rec-city-list { padding: 0 17px; }
  .rec-city { padding: 8px 0; }
  .recommendation-foot { padding: 14px 17px 17px; }
  .rec-cta { min-height: 42px; }
  .results-note { font-size: 10.5px; }

  .timeline-head-tools { width: 100%; justify-content: space-between; }
  .select-shell { flex: 1; }
  .select-shell select { width: 100%; }
  .selection-panel { grid-template-columns: 1fr; gap: 14px; padding: 17px 18px; }
  .selection-time-line strong { font-size: 30px; }
  .selection-cities { gap: 4px; }
  .selection-city { padding: 6px 7px; }
  .selection-actions { grid-column: auto; }
  .selection-actions .button { flex: 1 1 auto; justify-content: center; }
  .timeline-toolbar { padding: 13px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .legend { gap: 6px 12px; }
  .legend span { font-size: 8.5px; }
  .timeline-instruction { display: none; }
  .timeline-stage { min-width: 820px; --label: 136px; }
  .axis-row { height: 34px; }
  .meeting-row { height: 50px; }
  .meeting-block { top: 8px; height: 34px; font-size: 8.5px; }
  .city-row { height: 57px; }
  .axis-label, .row-label { padding-inline: 11px; }
  .city-row-detail strong { font-size: 10px; }
  .city-row-detail span { font-size: 7.5px; }
  .row-label .flag { width: 17px; height: 12px; }
  .timeline-footer { padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .timeline-footer-actions { width: 100%; justify-content: space-between; }
  .timeline-scroll { scroll-snap-type: x proximity; }

  .difference-grid { grid-template-columns: 1fr; }
  .lower-layout { gap: 14px; }
  .brief-card { padding: 20px; }
  .brief-card h2 { font-size: 25px; }

  .world-clock-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .world-clock-card { padding: 14px; }
  .world-clock-body { margin-top: 15px; gap: 8px; }
  .world-clock-time { font-size: 21px; }
  .clock-dial { width: 38px; height: 38px; }
  .clock-hand-hour { height: 9px; }
  .clock-hand-minute { height: 13px; }
  .clock-hand-second { height: 14px; }
  .world-clock-top strong { font-size: 10.5px; }
  .world-clock-date { font-size: 8.5px; }
  .world-clock-meta { font-size: 7px; }

  .explainer-grid { grid-template-columns: 1fr; gap: 26px; }
  .explainer-item { padding-left: 17px; }
  .explainer-number { margin-bottom: 12px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-tagline { display: none; }

  .modal { width: calc(100% - 20px); max-height: 92vh; border-radius: 18px; }
  .modal-shell { max-height: 92vh; padding: 20px 18px; }
  .modal-head h2 { font-size: 26px; }
  .city-search-row { padding-left: 38px; }
  .city-search-row .button { padding-inline: 10px; font-size: 10px; }
  .city-result { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .city-result-hit { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; }
  .city-result-zone { display: none; }
  .city-results { max-height: 46vh; }
  .hours-row-editor { grid-template-columns: 1fr; gap: 9px; }
  .hours-window { justify-content: flex-start; }
  .day-toggles { gap: 3px; }
  .day-toggle { width: 27px; height: 27px; }
  .hours-options { flex-direction: column; }
  .modal-foot { bottom: -20px; padding-bottom: 20px; align-items: flex-start; flex-direction: column; }
  .modal-foot-right { flex-direction: row; justify-content: flex-end; }
  .share-action strong { font-size: 10px; }
  .toast { bottom: 14px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 41px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div:last-child { grid-column: auto; }
  .city-chip { flex-basis: 100%; }
  .world-clock-grid { grid-template-columns: 1fr; }
  .world-clock-body { align-items: center; }
}

@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .header-tools { gap: 6px; }
  .brand { gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { display: none; }
  .brand-footer .brand-copy strong { font-size: 14px; }
  .brand-footer .brand-copy small { display: block; font-size: 7px; }
  .format-toggle, .menu-toggle { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Utility-first homepage — the planner is the first working surface
   Introduced in v1.2.0. The hero remains as a compact masthead so the
   planner form is visible in the initial viewport on desktop.
   ========================================================================== */

.hero {
  padding: clamp(20px, 2.6vw, 30px) 0 clamp(22px, 2.6vw, 30px);
}
.hero::after {
  width: 460px;
  height: 460px;
  right: -220px;
  top: -300px;
}
.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
}
.hero-copy {
  max-width: 1080px;
}
.hero-home-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.hero-home-brand:hover {
  color: var(--green);
}
.hero-home-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--ink);
}
.hero-home-tld {
  color: var(--green);
}
.hero-home-brand:hover .hero-home-tld {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero .eyebrow {
  font-size: 9.5px;
}
.hero h1 {
  margin-top: 12px;
  max-width: 1000px;
  font-size: clamp(36px, 3.9vw, 54px);
  line-height: 1.01;
  letter-spacing: -.058em;
}
.hero-lede {
  margin-top: 14px;
  max-width: 710px;
  font-size: 15px;
  line-height: 1.62;
}
.hero-actions {
  margin-top: 10px;
  gap: 22px;
}
.hero-actions .text-button {
  font-size: 11px;
}
.hero-facts {
  margin-top: 14px;
  max-width: 920px;
  gap: 24px;
  padding-top: 12px;
}
.hero-facts dt {
  margin-bottom: 4px;
  font-size: 8.5px;
}
.hero-facts dd {
  font-size: 12px;
}
.hero-facts dd span {
  margin-top: 1px;
  font-size: 9.5px;
}

/* The live board becomes a compact 2 x 2 departure board. */
.live-board-head {
  padding: 14px 18px 11px;
  font-size: 9.5px;
}
.hero-clock-list {
  display: block;
  padding: 2px 0;
}
.hero-clock {
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}
.hero-clock:last-child {
  border-bottom: 0;
}
.hero-clock .flag,
.hero-clock-flag-fallback {
  width: 23px;
  height: 16px;
}
.hero-clock-name strong {
  font-size: 11.5px;
}
.hero-clock-name span {
  margin-top: 1px;
  font-size: 8px;
}
.hero-clock-time {
  font-size: 16px;
  letter-spacing: -.06em;
}
.hero-clock-time small {
  margin-top: 1px;
  font-size: 8px;
}
.hero-clock-skeleton {
  height: 55px;
  margin: 0 14px;
}
.live-board-foot {
  padding: 10px 16px;
  font-size: 8px;
}

/* The form starts immediately after the masthead. */
.planner-section {
  padding-top: clamp(22px, 2.8vw, 34px);
  padding-bottom: clamp(48px, 5.6vw, 76px);
  background:
    linear-gradient(180deg, #f7f3e9 0, var(--paper) 26%, var(--paper) 100%);
}
.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
}
.planner-main {
  min-width: 0;
}
.planner-rail {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail-note {
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.rail-note .section-index {
  margin-bottom: 8px;
}
.rail-note > p:not(.section-index) {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.rail-note .text-button {
  margin-top: 12px;
  font-size: 10.5px;
}
.planner-section .section-heading {
  margin-bottom: 13px;
  align-items: center;
}
.planner-section .section-index {
  margin-bottom: 5px;
  font-size: 9px;
}
.planner-section .section-heading h2 {
  font-size: clamp(25px, 2.6vw, 34px);
  letter-spacing: -.045em;
}
.planner-section .section-intro {
  max-width: 520px;
  padding-bottom: 0;
  font-size: 12.5px;
  line-height: 1.55;
}
.step-rail {
  margin-bottom: 13px;
}
.step {
  padding: 10px 0;
  gap: 10px;
}
.step span {
  width: 24px;
  height: 24px;
  font-size: 8px;
}
.step strong {
  font-size: 10.5px;
}
.planner-card-head {
  padding: 17px 24px 15px;
}
.planner-card-title h3 {
  font-size: 18px;
}
.participants-block {
  padding: 18px 24px 19px;
}
.configuration-grid {
  padding: 8px;
  gap: 8px;
}
.control-card {
  padding: 14px 16px 13px;
}
.planner-card-foot {
  padding: 14px 24px;
}
.plan-readout strong {
  font-size: 12.5px;
}
.plan-readout p span {
  font-size: 10.5px;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(36px, 4.8vw, 50px);
  }
  .planner-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .hero-copy {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(38px, 6.8vw, 54px);
  }
  .hero-facts {
    max-width: 100%;
  }
  .planner-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .planner-rail {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 22px;
  }
  .hero h1 {
    font-size: clamp(35px, 10.4vw, 46px);
  }
  .hero-lede {
    font-size: 14px;
  }
  .breadcrumb,
  .hero-actions {
    display: none;
  }
  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 17px;
  }
  .hero-facts > div:last-child {
    grid-column: 1 / -1;
  }
  .planner-section {
    padding-top: 20px;
  }
  .planner-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .planner-section .section-intro {
    display: none;
  }
  .planner-rail {
    grid-template-columns: 1fr;
  }
  .step-rail {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .step {
    display: none;
    border-bottom: 1px solid var(--line-strong);
  }
  .step.is-active {
    display: flex;
  }
  .step::after {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 34px;
  }
}
