:root {
  color-scheme: light;
  --ink: #15181d;
  --muted: #636b76;
  --soft: #f7f4ed;
  --paper: #ffffff;
  --line: #dfe4e1;
  --sage: #617668;
  --blue: #2e6288;
  --gold: #b28a45;
  --red: #a6433b;
  --green: #356a4b;
  --shadow: 0 20px 70px rgba(27, 33, 38, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(18px, 5vw);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(223, 228, 225, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.95rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(21, 24, 29, 0.72);
  font-size: 0.92rem;
}

.is-signed-in nav {
  display: none;
}

.account-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 24, 29, 0.12);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 96px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #dfe4e1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.94) 0%, rgba(247, 244, 237, 0.76) 36%, rgba(247, 244, 237, 0.12) 78%),
    linear-gradient(0deg, rgba(247, 244, 237, 0.78) 0%, rgba(247, 244, 237, 0) 36%);
}

.hero-content {
  position: relative;
  width: min(720px, 92vw);
  padding: 96px max(20px, 5vw) 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.phrase {
  color: var(--sage);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.phrase:not(.phrase-in) {
  opacity: 0;
  transform: translateY(8px);
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: #3c434b;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-dynamic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #3c434b;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  font-weight: 850;
  line-height: 1.08;
}

.hero-dynamic .phrase {
  color: var(--sage);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-chips span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(21, 24, 29, 0.1);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.58);
  color: #3c434b;
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.ghost-button {
  min-height: 38px;
  padding: 9px 12px;
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.button.glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.button.full {
  width: 100%;
}

.section {
  padding: 74px max(20px, 5vw);
  background: var(--soft);
}

.section:nth-of-type(even) {
  background: #fff;
}

.section.compact {
  padding-top: 54px;
}

.section-heading {
  width: min(1000px, 100%);
  margin: 0 auto 28px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  line-height: 1.6;
}

.two-column {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.two-column.reverse {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.selling-section {
  background: #fff;
}

.feature-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 180px;
  padding: 22px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-item strong {
  font-size: 1.18rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.app-section {
  background: #eef3f1;
}

.app-showcase {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.app-showcase h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.app-showcase p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.app-list span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.phone-mock {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 520px;
  padding: 56px 26px 26px;
  background: #11161a;
  border: 10px solid #22282d;
  border-radius: 38px;
  color: #fff;
  box-shadow: 0 26px 70px rgba(21, 24, 29, 0.22);
}

.phone-top {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  background: #050708;
  border-radius: 999px;
}

.phone-mock strong {
  font-size: 1.25rem;
}

.phone-score {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.94;
}

.phone-mock small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.phone-mock ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.phone-mock li {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.form-surface,
.stack-panel,
.result-panel,
.account-summary,
.score-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-surface {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

label {
  display: grid;
  gap: 7px;
}

label span,
.form-surface span {
  color: #3c434b;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 98, 136, 0.12);
}

textarea {
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fine-print,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.account-summary,
.score-card {
  padding: clamp(20px, 3vw, 30px);
}

.account-summary h3,
.score-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.account-summary p,
.score-card p {
  color: var(--muted);
  line-height: 1.55;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.metric-row span {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-row strong {
  color: var(--ink);
  font-size: 1.5rem;
}

.auth-actions {
  margin-top: 2px;
}

.auth-actions .button {
  flex: 1 1 180px;
}

.workspace-heading {
  display: flex;
  gap: 22px;
  align-items: end;
  justify-content: space-between;
}

.master-readiness {
  display: grid;
  width: min(320px, 100%);
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.master-readiness span,
.master-readiness small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.master-readiness strong {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 0.9;
}

.workspace-shell {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 16px;
  margin: 0 auto;
  align-items: start;
}

.workspace-tabs {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  align-self: start;
}

.workspace-tab {
  display: grid;
  width: 100%;
  gap: 4px;
  min-height: 68px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.workspace-tab span {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-tab small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.workspace-tab.active {
  border-color: rgba(46, 98, 136, 0.48);
  box-shadow: 0 10px 30px rgba(46, 98, 136, 0.1);
  transform: translateX(4px);
}

.workspace-tab.complete {
  background: #f5faf6;
  border-color: rgba(53, 106, 75, 0.34);
}

.workspace-panel {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.workspace-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.workspace-panel-head h3 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.workspace-panel-head p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.section-toggle {
  display: inline-flex;
  min-width: 214px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #f7f9f8;
  color: var(--ink);
  font-weight: 850;
}

.section-toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.workspace-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workspace-form-grid .wide-field {
  grid-column: 1 / -1;
}

.workspace-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.workspace-mini-list span {
  padding: 10px 12px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.workspace-inline-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.transfer-leg-list,
.home-checklist-builder,
.custom-item-list {
  display: grid;
  gap: 14px;
}

.transfer-leg,
.workspace-subsection {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.transfer-leg-head,
.workspace-subsection-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.transfer-leg-head h4,
.workspace-subsection-head h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.transfer-leg-head p,
.workspace-subsection-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.workspace-subsection-head strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--green);
  background: #fff;
  border: 1px solid rgba(53, 106, 75, 0.22);
  border-radius: var(--radius);
  font-size: 0.82rem;
}

.setup-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.setup-check-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.setup-check-row:has(input:checked) {
  background: #f5faf6;
  border-color: rgba(53, 106, 75, 0.34);
}

.setup-check-row input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.setup-check-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.custom-item-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.custom-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.document-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.document-upload-form .fine-print {
  grid-column: 1 / -1;
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.document-row span,
.document-row small {
  grid-column: 1;
}

.document-row .button {
  grid-row: 1 / span 3;
  grid-column: 2;
}

.discount-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.discount-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 132px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.discount-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.discount-card .button {
  align-self: end;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.traveller-card-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.traveller-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.traveller-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.traveller-card-head span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
}

.traveller-card-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

.traveller-detail-grid,
.traveller-name-grid {
  margin-top: 0;
}

.workspace-empty-note,
.traveller-readiness-result {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workspace-empty-note span,
.traveller-readiness-result small {
  color: var(--muted);
  line-height: 1.45;
}

.traveller-readiness-result.good {
  border-color: rgba(53, 106, 75, 0.3);
  background: #f5faf6;
}

.traveller-readiness-result.warn {
  border-color: rgba(178, 138, 69, 0.36);
  background: #fffaf0;
}

.traveller-readiness-result.bad {
  border-color: rgba(166, 67, 59, 0.32);
  background: #fff6f5;
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.trip-overview {
  position: sticky;
  top: 90px;
}

.score-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 12px;
}

.score-line strong {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
}

.score-line span {
  color: var(--muted);
  font-weight: 800;
}

.next-step {
  margin: 16px 0 0;
  font-weight: 800;
}

.result-panel {
  margin-bottom: 18px;
  padding: 24px;
}

.result-panel.good {
  border-color: rgba(53, 106, 75, 0.28);
}

.result-panel.warn {
  border-color: rgba(178, 138, 69, 0.36);
}

.result-panel.bad {
  border-color: rgba(166, 67, 59, 0.36);
}

.result-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.result-head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
}

.good .status-dot {
  background: var(--green);
}

.bad .status-dot {
  background: var(--red);
}

.result-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
  line-height: 1.55;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-list span {
  color: var(--muted);
  line-height: 1.45;
}

.stack-panel {
  padding: 20px;
  margin-bottom: 18px;
}

.stack-panel h3 {
  margin-bottom: 16px;
}

.saved-list {
  display: grid;
  gap: 10px;
}

.saved-item {
  display: grid;
  gap: 3px;
  padding: 13px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.saved-item span,
.saved-item small {
  color: var(--muted);
}

.score-track {
  width: min(520px, 100%);
  height: 9px;
  overflow: hidden;
  background: #dfe4e1;
  border-radius: 999px;
}

.score-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--blue), var(--gold));
  transition: width 240ms ease;
}

.readiness-grid,
.checklist-grid,
.partner-grid,
.task-grid {
  display: grid;
  gap: 12px;
}

.readiness-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.journey-wrap {
  width: min(1180px, 100%);
  margin: 44px auto 0;
}

.section-heading.compact-heading {
  margin-bottom: 18px;
}

.section-heading.compact-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.task-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.task-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.task-card.current {
  border-color: rgba(46, 98, 136, 0.42);
  box-shadow: 0 12px 38px rgba(46, 98, 136, 0.1);
}

.task-card.complete {
  border-color: rgba(53, 106, 75, 0.34);
  background: #f5faf6;
}

.task-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.task-check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--green);
}

.task-check span {
  display: grid;
  gap: 4px;
}

.task-check small {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.task-check strong {
  font-size: 1.12rem;
}

.task-check em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.42;
}

.task-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.task-fields label:has(textarea) {
  grid-column: 1 / -1;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.readiness-card,
.check-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.readiness-card.complete,
.check-row:has(input:checked) {
  border-color: rgba(53, 106, 75, 0.34);
  background: #f5faf6;
}

.readiness-card input,
.check-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.readiness-card span,
.check-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.readiness-card small,
.check-row small {
  color: var(--muted);
  line-height: 1.35;
}

.readiness-card em {
  color: var(--blue);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.checklist-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.partner-grid a {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.site-footer {
  display: grid;
  gap: 6px;
  padding: 28px max(20px, 5vw);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 86px);
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(247, 244, 237, 0.96) 0%, rgba(247, 244, 237, 0.8) 42%, rgba(247, 244, 237, 0.2) 100%),
      linear-gradient(90deg, rgba(247, 244, 237, 0.72), rgba(247, 244, 237, 0));
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .two-column,
  .two-column.reverse,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .workspace-heading,
  .workspace-panel-head {
    grid-template-columns: 1fr;
  }

  .workspace-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .workspace-tabs {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .workspace-tab {
    flex: 0 0 156px;
  }

  .workspace-tab.active {
    transform: none;
  }

  .master-readiness {
    width: 100%;
  }

  .trip-overview {
    position: static;
  }

  .readiness-grid,
  .checklist-grid,
  .partner-grid,
  .task-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone-mock {
    width: min(360px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: calc(100svh - 82px);
  }

  .hero-content {
    width: 100%;
    padding: 82px 18px 28px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .section {
    padding: 54px 16px;
  }

  .field-grid,
  .readiness-grid,
  .checklist-grid,
  .partner-grid,
  .task-grid,
  .task-fields,
  .workspace-form-grid,
  .workspace-mini-list,
  .setup-check-grid,
  .custom-item-form,
  .document-upload-form,
  .discount-card-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .readiness-card,
  .check-row {
    grid-template-columns: auto 1fr;
  }

  .readiness-card em {
    grid-column: 2;
  }

  .hero-actions,
  .action-row,
  .workspace-actions {
    display: grid;
  }

  .workspace-tab {
    flex-basis: min(158px, 72vw);
  }

  .section-toggle {
    min-width: 0;
  }

  .transfer-leg-head,
  .workspace-subsection-head {
    display: grid;
  }

  .custom-item-row {
    grid-template-columns: 1fr;
  }

  .custom-item-row .button,
  .document-row .button {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .hero-dynamic {
    display: grid;
    font-size: clamp(1.2rem, 7vw, 2rem);
  }

  .feature-grid,
  .app-list {
    grid-template-columns: 1fr;
  }

  .phone-mock {
    min-height: 460px;
    border-radius: 30px;
  }
}
