
:root {
  /*
   * Color roles — universal. Prefer these names everywhere in signed-in UI.
   * Hex can change; the role name stays stable.
   */
  --Background: #FAF8F5; /* Warm Alabaster — main page canvas */
  --Surface: #F0ECE3;    /* Sand Dollar — bars, filters, section dividers */
  --Trust: #164E63;      /* Deep Aegean — headers, nav, brand, trust */
  --Action: #E06D53;     /* Sunset Terracotta — primary CTAs, alerts */
  --Accent: #6B8E78;     /* Sage Olive — confirmations, eco, map pins */
  --Text: #1E293B;       /* Charcoal Slate — body + headings */

  /* Derived from roles (still refer by role family) */
  --Text-muted: color-mix(in srgb, var(--Text) 58%, var(--Background));
  --Trust-hover: color-mix(in srgb, var(--Trust) 82%, #000);
  --Action-hover: color-mix(in srgb, var(--Action) 82%, #000);
  --on-Trust: #ffffff;
  --on-Action: #ffffff;
  --on-Accent: #ffffff;

  /* Legacy tokens — public / pre-auth surfaces still lean on these */
  --ink: #132029;
  --muted: #5a6b76;
  --sand: #eef3f5;
  --sea: #1a6f82;
  --sea-deep: #125566;
  --accent: #e36a1a;
  --card: #fffcf9;
  --danger: #b33a3a;
  --radius: 10px;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --display: "Syne", "Figtree", system-ui, sans-serif;
  --countdown: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  /* Cards & thumbs hover (not text links): bold teal ring + soft glare */
  --hover-glare:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -14px 22px color-mix(in srgb, var(--Trust) 12%, transparent),
    0 0 0 2px var(--Trust),
    0 12px 24px color-mix(in srgb, var(--Trust) 18%, transparent);
  --hover-glare-round:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 2px var(--Trust),
    0 0 18px color-mix(in srgb, var(--Trust) 28%, transparent);
}

* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 8% -12%, #cfe8ef 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #f0dcc4 0%, transparent 48%),
    var(--sand);
}

a { color: inherit; }

.shell {
  --shell-max-width: 504px;
  max-width: var(--shell-max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.shell-wide { --shell-max-width: 624px; }

.shell-back {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.shell-back a {
  color: var(--sea);
  text-decoration: none;
  font-weight: 500;
}

.shell-back a:hover { text-decoration: underline; }

.brand {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand--compact {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.brand--compact .brand-mark {
  width: 40px;
  height: 40px;
}

.brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.tagline {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

.invite-panel .invite-lead {
  margin: 0 0 1rem;
  line-height: 1.45;
}
.invite-panel .invite-note {
  margin: 0 0 1rem;
  color: var(--muted, #5c5346);
  line-height: 1.45;
  font-size: 0.95rem;
}
.invite-panel .invite-terms {
  margin: 0 0 1.25rem;
  line-height: 1.45;
  font-size: 0.95rem;
}
.invite-panel .invite-error {
  margin: 0;
  color: var(--danger, #8b2e2e);
  line-height: 1.45;
}
.invite-panel .invite-msg {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
.invite-panel .btn {
  width: 100%;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(19, 32, 41, 0.08);
}

.panel h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0.35rem;
}

input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfd6db;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

input:focus {
  outline: 2px solid rgba(26, 111, 130, 0.35);
  border-color: var(--sea);
}

button,
.btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--sea);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

button { width: 100%; }

.btn:hover,
button:hover { background: var(--sea-deep); }

button:disabled { opacity: 0.6; cursor: wait; }

.err {
  margin-top: 0.75rem;
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* Signup wizard — cozy join scene */
.signup-body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #140f0c;
  color: #f4ebe3;
}

.signup-scene {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.signup-scene__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.signup-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.04);
  filter: saturate(0.9) brightness(0.55);
}

.signup-scene__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(140, 110, 82, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, rgba(16, 14, 12, 0.74) 0%, rgba(16, 14, 12, 0.56) 42%, rgba(10, 9, 8, 0.9) 100%);
  pointer-events: none;
}

.signup-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 0.5rem;
}

.signup-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff7ef;
  text-decoration: none;
}

.signup-brand:hover { color: #fff; }

.signup-brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.signup-brand__name {
  font-family: var(--display);
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.signup-top__signin {
  color: rgba(255, 244, 232, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.12rem;
}

.signup-top__signin:hover {
  color: #fff;
  text-decoration: underline;
}

.signup-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1.15rem 2rem;
}

@media (min-width: 720px) {
  .signup-main {
    align-items: center;
    padding: 1.5rem 1.5rem 2.5rem;
  }
}

.signup-panel {
  width: min(100%, 40rem);
  padding: 1.6rem 1.45rem 1.5rem;
  border-radius: 18px;
  background: rgba(24, 22, 20, 0.74);
  border: 1px solid rgba(210, 198, 182, 0.14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: signup-rise 0.55s ease both;
}

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

.signup-title {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff6ec;
}

.signup-lead {
  margin: 0 0 1.25rem;
  color: rgba(244, 227, 210, 0.84);
  font-size: 1.16rem;
  line-height: 1.5;
}

.signup-info {
  margin: 0 0 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(198, 188, 174, 0.22);
  border-radius: 14px;
  background: rgba(36, 32, 28, 0.82);
}

.signup-info__p {
  margin: 0 0 0.75rem;
  color: rgba(232, 222, 208, 0.88);
  font-size: 1.08rem;
  line-height: 1.5;
}

.signup-info__p:last-child {
  margin-bottom: 0;
}

.role-card-grid {
  display: grid;
  gap: 0.9rem;
}

.role-card {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border: 1px solid rgba(198, 188, 174, 0.2);
  border-radius: 14px;
  background: rgba(36, 32, 28, 0.82);
  color: #f3eee7;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.role-card:hover {
  background: rgba(46, 41, 36, 0.92);
  border-color: rgba(186, 160, 128, 0.55);
  transform: translateY(-1px);
}

.role-card.is-selected {
  border-color: #c4a882;
  background: rgba(52, 46, 40, 0.95);
  box-shadow: 0 0 0 1px rgba(186, 160, 128, 0.3), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.role-card:focus-visible {
  outline: 2px solid rgba(186, 160, 128, 0.65);
  outline-offset: 2px;
}

.role-card__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  min-height: 6.2rem;
  background: #2a1c14;
}

.role-card__media img {
  width: 100%;
  height: 100%;
  min-height: 6.2rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.role-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.45rem 0.1rem 0.45rem 0;
  min-width: 0;
}

.role-card__title {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.role-card__sub {
  display: block;
  margin-top: 0.35rem;
  color: rgba(232, 222, 208, 0.78);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.42;
}

.signup-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.signup-cta-row--solo .signup-cta {
  width: 100%;
}

.signup-cta-row__or {
  flex: 0 0 auto;
  color: rgba(232, 222, 208, 0.72);
  font-size: 0.95rem;
}

.signup-cta {
  flex: 1 1 0;
  width: auto;
  margin-top: 0;
  padding: 1rem 0.85rem;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1714;
  background: linear-gradient(180deg, #d4b48a 0%, #b89262 100%);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(90, 70, 45, 0.28);
}

@media (max-width: 420px) {
  .signup-cta-row:not(.signup-cta-row--solo) {
    flex-wrap: wrap;
  }
  .signup-cta-row:not(.signup-cta-row--solo) .signup-cta-row__or {
    width: 100%;
    text-align: center;
  }
  .signup-cta-row:not(.signup-cta-row--solo) .signup-cta,
  .signup-cta-row:not(.signup-cta-row--solo) .signup-google-cta {
    flex: 1 1 100%;
  }
}

.signup-cta:hover {
  background: linear-gradient(180deg, #ddc098 0%, #c09c6e 100%);
}

.signup-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.signup-google-alt,
.login-google-alt {
  margin-top: 1.1rem;
  text-align: center;
}

.signup-google-alt__or,
.login-google-alt__or {
  margin: 0 0 0.85rem;
  color: rgba(232, 222, 208, 0.72);
  font-size: 0.95rem;
}

.login-google-alt__or {
  color: var(--muted);
}

.login-google-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.75rem 1rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: #3c4043;
  background: #fff;
  cursor: pointer;
}

.login-google-cta:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #c6c9ce;
}

.login-google-cta:disabled {
  opacity: 0.55;
  cursor: wait;
}

.clom-google-mark {
  flex: 0 0 auto;
  display: block;
}

.signup-google-btn,
.login-google-btn {
  display: flex;
  justify-content: center;
  min-height: 40px;
}

.signup-google-btn:empty,
.login-google-btn:empty {
  display: none;
}

.signup-google-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1 1 0;
  width: auto;
  margin-top: 0;
  padding: 1rem 0.85rem;
  border: 1px solid rgba(232, 222, 208, 0.45);
  border-radius: 10px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f4ebe3;
  background: rgba(20, 18, 16, 0.35);
  cursor: pointer;
}

.signup-google-cta:hover:not(:disabled) {
  border-color: rgba(244, 235, 227, 0.7);
  background: rgba(20, 18, 16, 0.5);
}

.signup-google-cta--disabled,
.signup-google-cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.signup-google-hint {
  margin-top: 0.55rem;
  text-align: center;
}

.signup-back {
  width: auto;
  margin: 0 0 0.95rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 227, 210, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.signup-back:hover {
  background: transparent;
  color: #fff;
  text-decoration: underline;
}

.signup-panel--account label {
  color: rgba(232, 222, 208, 0.82);
  font-size: 1.08rem;
  margin-top: 0.95rem;
}

.signup-panel--account input {
  background: rgba(248, 244, 238, 0.94);
  border-color: rgba(198, 188, 174, 0.35);
  color: var(--ink);
  font-size: 1.12rem;
  padding: 0.82rem 0.9rem;
}

.signup-pass {
  position: relative;
  width: 100%;
}

.signup-pass input {
  width: 100%;
  padding-right: 2.85rem;
  box-sizing: border-box;
}

.signup-eye {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: auto;
  margin: 0;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(70, 58, 46, 0.72);
  cursor: pointer;
  box-shadow: none;
  line-height: 0;
}

.signup-eye:hover {
  background: rgba(90, 70, 45, 0.1);
  color: rgba(40, 32, 24, 0.92);
}

.signup-eye__icon {
  display: block;
}

/* “Where we are” — text-only on refine so it reads as context, not a choice */
.signup-role-chip {
  display: block;
  width: 100%;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(42, 40, 38, 0.72);
  border: 1px solid rgba(168, 162, 152, 0.22);
  border-left: 3px solid rgba(168, 162, 152, 0.55);
  color: #ebe6df;
  box-sizing: border-box;
}

.signup-role-chip__body {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

/* Account form — show the final decision image */
.signup-role-chip--final {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-left-width: 1px;
}

.signup-role-chip--final .signup-role-chip__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  min-height: 6.2rem;
  background: #2a2825;
}

.signup-role-chip--final .signup-role-chip__media img {
  width: 100%;
  height: 100%;
  min-height: 6.2rem;
  object-fit: cover;
  display: block;
}

.signup-role-chip--final .signup-role-chip__body {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
}

.signup-err {
  color: #ffb4a8;
  font-size: 1.08rem;
}

.signup-hint {
  margin: 0.45rem 0 0;
  color: rgba(232, 222, 208, 0.68);
  font-size: 0.98rem;
  line-height: 1.35;
}

.signup-user-status {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
}

.signup-user-status--checking { color: rgba(232, 222, 208, 0.7); }
.signup-user-status--available { color: #9dcc9a; }
.signup-user-status--taken,
.signup-user-status--error { color: #ffb4a8; }

.signup-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.15rem 0 0;
  color: rgba(232, 222, 208, 0.88);
  font-size: 1.02rem;
  line-height: 1.4;
  cursor: pointer;
}

.signup-terms input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: #b89262;
  cursor: pointer;
}

.signup-terms__link {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e2c39a;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  box-shadow: none;
}

.signup-terms__link:hover {
  background: transparent;
  color: #f0d7b4;
}

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 7, 6, 0.72);
}

/* Author display:flex otherwise beats the hidden attribute. */
.signup-modal[hidden] {
  display: none !important;
}

.signup-modal__panel {
  width: min(100%, 34rem);
  max-height: min(82vh, 40rem);
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 16px;
  background: rgba(28, 26, 24, 0.96);
  border: 1px solid rgba(198, 188, 174, 0.22);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.signup-modal__title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff6ec;
}

.signup-modal__body {
  overflow: auto;
  flex: 1;
  padding-right: 0.25rem;
  margin-bottom: 1rem;
}

.signup-modal__body p {
  margin: 0 0 0.85rem;
  color: rgba(232, 222, 208, 0.88);
  font-size: 1.02rem;
  line-height: 1.5;
}

.signup-modal__body p:last-child { margin-bottom: 0; }

.signup-modal .signup-cta { margin-top: 0; }

.linkish {
  margin-top: 1rem;
}

.btn-small {
  width: auto;
  margin: 0;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.btn-small--quiet {
  background: var(--Surface);
  color: var(--Trust);
  border: 1px solid color-mix(in srgb, var(--Surface) 55%, var(--Trust) 20%);
}

.btn-small--quiet:hover {
  background: color-mix(in srgb, var(--Surface) 50%, #fff);
  border-color: var(--Trust);
  color: var(--Trust-hover);
}

.btn-small--danger {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

.btn-small--danger:hover {
  background: #912018;
  border-color: #912018;
}

.btn-small--danger:disabled {
  opacity: 0.65;
}

.text-link {
  color: var(--sea);
  font-weight: 500;
  text-decoration: underline;
}

/* ——— Landing ——— */

body.landing {
  background: #0d171e;
  color: #fff;
}

.land-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.land-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.land-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s ease;
  animation: land-drift 22s ease-out forwards;
  pointer-events: none;
}

.land-banner.is-active {
  opacity: 1;
  z-index: 1;
}

@keyframes land-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.land-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 18, 24, 0.78) 0%, rgba(10, 18, 24, 0.42) 48%, rgba(10, 18, 24, 0.2) 100%),
    linear-gradient(to top, rgba(8, 14, 18, 0.72) 0%, transparent 42%);
  pointer-events: none;
}

.land-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 1.35rem 1.5rem;
}

.land-signin {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: land-rise 0.7s ease 0.15s forwards;
}

.land-signin:hover { color: #fff; text-decoration: underline; }

.land-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 40rem;
  padding: 2rem 1.5rem 3.25rem;
}

.land-brand {
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  opacity: 0;
  animation: land-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  display: flex;
  align-items: center;
  gap: 0.28em;
}

.land-brand-mark {
  width: 0.82em;
  height: 0.82em;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.land-phrase {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1.15rem;
}

.land-line {
  display: block;
  opacity: 0;
  animation: land-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.land-line-alt {
  color: rgba(255, 236, 214, 0.96);
  animation-delay: 1.05s;
}

.land-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  animation: land-rise 0.8s ease 1.45s forwards;
}

.land-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  opacity: 0;
  animation: land-rise 0.8s ease 1.75s forwards;
}

.land-cta .btn {
  margin-top: 0;
  background: var(--accent);
  min-width: 8.5rem;
}

.land-cta .btn:hover { background: #c95712; }

.land-more {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.land-more:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@keyframes land-rise {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .land-copy { padding-bottom: 2.5rem; }
  .land-top { padding: 1.1rem 1.15rem; }
  .land-banner { object-position: 58% 40%; }
}

@media (prefers-reduced-motion: reduce) {
  .land-banner,
  .land-brand,
  .land-line,
  .land-lead,
  .land-cta,
  .land-signin {
    animation: none;
    transform: none;
  }

  .land-brand,
  .land-line,
  .land-lead,
  .land-cta,
  .land-signin {
    opacity: 1;
  }

  .land-banner {
    transform: scale(1);
    transition: none;
  }

  .land-banner.is-active { opacity: 1; }
}

/* ——— My Account ——— */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--sea-deep);
}

.panel--account {
  padding-top: 1.1rem;
}

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

.panel--upgrade {
  max-width: 34rem;
  margin: 1.5rem auto 2.5rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 1rem;
  background:
    radial-gradient(700px 280px at 12% -20%,
      color-mix(in srgb, var(--Trust) 16%, transparent), transparent 60%),
    var(--Surface);
  border: 1px solid color-mix(in srgb, var(--Trust) 18%, transparent);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--Trust) 12%, transparent);
}


