:root {
  color-scheme: light;
  --bg: #f2ede3;
  --bg-soft: #f9f6ef;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --ink: #152033;
  --muted: #5e6878;
  --line: rgba(21, 32, 51, 0.12);
  --line-strong: rgba(21, 32, 51, 0.2);
  --accent: #0d766c;
  --accent-strong: #0a5c54;
  --accent-ink: #f9fffd;
  --warm: #c26938;
  --shadow: 0 24px 60px rgba(19, 31, 47, 0.12);
  --shadow-soft: 0 16px 38px rgba(19, 31, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 105, 56, 0.18), transparent 22rem),
    radial-gradient(circle at top right, rgba(13, 118, 108, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbf7ef 0%, #f3ecdf 42%, #efe8dc 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(
      90deg,
      rgba(21, 32, 51, 0.015) 0,
      rgba(21, 32, 51, 0.015) 1px,
      transparent 1px,
      transparent 96px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(21, 32, 51, 0.015) 0,
      rgba(21, 32, 51, 0.015) 1px,
      transparent 1px,
      transparent 96px
    );
  opacity: 0.7;
  z-index: -1;
}

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

h1,
h2,
h3,
.brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

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

main {
  width: min(1760px, calc(100% - 1rem));
  margin: 0 auto;
}

.site-head {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.8rem max(0.95rem, calc((100vw - 1760px) / 2 + 0.5rem));
  border-bottom: 1px solid rgba(21, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(21, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f1728;
  text-shadow: none;
  letter-spacing: -0.045em;
  padding: 0.4rem 1rem 0.46rem 0.85rem;
  border: 1px solid rgba(21, 32, 51, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 236, 223, 0.96));
  box-shadow: 0 10px 24px rgba(21, 32, 51, 0.08);
}

.brand::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  box-shadow: 0 0 0 4px rgba(13, 118, 108, 0.12);
}

.head-actions,
.cta-row,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.25rem 0.2rem 0.7rem;
  border: 1px solid rgba(21, 32, 51, 0.1);
  border-radius: 999px;
  background: rgba(21, 32, 51, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-picker select {
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

main {
  padding: 2.5rem 0 3rem;
}

.portal-entry-shell {
  width: min(960px, 100%);
  margin: 0 auto;
}

.portal-entry-card {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem;
}

.portal-entry-copy {
  display: grid;
  gap: 0.5rem;
}

.portal-entry-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.portal-entry-copy .lede {
  max-width: 52rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.portal-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portal-entry-points {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-entry-point {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.9));
}

.portal-entry-point p {
  color: var(--muted);
  line-height: 1.6;
}

.section,
.marketing-stack,
.split-section,
.portal-columns,
.showcase-grid,
.pillar-grid,
.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-shell {
  position: relative;
  width: 100vw;
  min-height: 840px;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 18, 30, 0.92) 0%, rgba(8, 18, 30, 0.84) 24%, rgba(8, 18, 30, 0.56) 44%, rgba(8, 18, 30, 0.2) 64%, rgba(8, 18, 30, 0) 100%),
    url("/media/calendar-two-months.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12rem;
  background: linear-gradient(180deg, rgba(239, 232, 220, 0) 0%, #efe8dc 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1760px, calc(100% - 1rem));
  min-height: 840px;
  margin: 0 auto;
  padding: 7.8rem 0 6.2rem;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.hero-copy {
  max-width: 42rem;
  padding: 0.8rem 0.6rem 0.8rem 0.2rem;
  color: #ffffff;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

.hero-copy .eyebrow {
  color: #f3c8aa;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.7rem, 4vw, 5rem);
  line-height: 0.95;
  max-width: 11ch;
}

.hero-copy h1 {
  font-size: clamp(4.1rem, 7vw, 6.8rem);
  line-height: 0.88;
  max-width: none;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  margin-top: 0.7rem;
  max-width: none;
  width: fit-content;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.02rem, 1.2vw, 1.34rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

h2 {
  font-size: clamp(1.8rem, 2vw, 3rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.2rem, 1.1vw, 1.7rem);
  line-height: 1.08;
}

.lede,
.meta,
.status-msg,
.pillar-card p,
.showcase-copy p,
.choice-item span,
.review-card span {
  color: var(--muted);
}

.lede {
  margin-top: 0.95rem;
  max-width: 60ch;
  line-height: 1.65;
  font-size: 1.03rem;
  color: var(--muted);
}

.hero-copy .lede {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.hero-badges {
  margin-top: 1.1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(13, 118, 108, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21, 32, 51, 0.16);
}

.cta-row {
  margin-top: 1.25rem;
}

.hero-stats {
  margin-top: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stat {
  min-height: 100%;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.96));
  border: 1px solid rgba(21, 32, 51, 0.1);
  box-shadow: 0 14px 30px rgba(21, 32, 51, 0.08);
  backdrop-filter: none;
}

.hero-stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.38rem;
  color: var(--ink);
}

.pillar-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.38rem;
  color: var(--ink);
}

.hero-stat span,
.pillar-card p {
  font-size: 0.93rem;
  line-height: 1.55;
}

.hero-stat span {
  color: var(--muted);
}

.hero-stage {
  display: none;
}

.hero-summary-band {
  position: relative;
  z-index: 5;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -5rem;
  margin-bottom: 1.35rem;
  padding: 1.2rem 0 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(21, 32, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 238, 0.98));
  box-shadow: 0 20px 44px rgba(21, 32, 51, 0.08);
}

.hero-summary-inner {
  width: min(1760px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.2rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-summary-grid {
  margin-top: 0;
  align-items: stretch;
  justify-content: center;
}

.hero-shot {
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.2);
}

.hero-shot img,
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-shot-main {
  inset: 1.2rem 0.3rem 4.4rem 1.6rem;
  z-index: 1;
}

.hero-shot-top {
  top: 0;
  right: 1.6rem;
  width: 43%;
  height: 31%;
  z-index: 2;
}

.hero-shot-bottom {
  left: 0;
  bottom: 0;
  width: 48%;
  height: 34%;
  z-index: 2;
}

.hero-ribbon {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  z-index: 3;
  max-width: 20rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(13, 118, 108, 0.18);
  border-radius: 18px;
  background: rgba(13, 118, 108, 0.92);
  color: var(--accent-ink);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(13, 118, 108, 0.28);
}

.section {
  margin-top: 1.45rem;
}

.marketing-stack {
  margin-top: 1.45rem;
  gap: 1.35rem;
}

.section-intro {
  gap: 1.1rem;
}

.section-copy {
  max-width: 66rem;
}

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

.pricing-section {
  gap: 0.95rem;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
  display: grid;
  gap: 0.95rem;
  align-content: start;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.9));
}

.pricing-card.recommended {
  border-color: rgba(13, 118, 108, 0.28);
  box-shadow: 0 20px 42px rgba(13, 118, 108, 0.12);
}

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 118, 108, 0.12);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink);
}

.pricing-meta {
  display: grid;
  gap: 0.55rem;
}

.pricing-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.pricing-meta-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-meta-value {
  color: var(--ink);
  font-size: 0.92rem;
}

.pricing-feature-title {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pricing-feature {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 118, 108, 0.14);
  background: rgba(13, 118, 108, 0.08);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.pillar-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.84));
}

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

.showcase-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  overflow: hidden;
}

.showcase-card-wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
}

.showcase-card-roles .showcase-media {
  min-height: 360px;
  height: 100%;
}

.showcase-card-media .showcase-media {
  min-height: 320px;
}

.showcase-copy {
  display: grid;
  gap: 0.7rem;
}

.showcase-card-roles .showcase-copy {
  align-content: start;
  height: 100%;
  grid-template-rows: auto auto auto 1fr;
}

.showcase-copy p {
  line-height: 1.6;
  font-size: 0.98rem;
}

.admin-mini-panel {
  margin-top: 0.5rem;
  min-height: 100%;
  height: 100%;
  flex: 1 1 auto;
  align-self: stretch;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.05);
  display: flex;
}

.admin-mini-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  align-content: stretch;
}

.admin-mini-item {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  align-content: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(21, 32, 51, 0.04);
}

.admin-mini-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.admin-mini-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.showcase-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-strong);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.showcase-card:not(.showcase-card-wide) .showcase-media {
  min-height: 260px;
}

.feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  background:
    linear-gradient(140deg, rgba(13, 118, 108, 0.14), rgba(255, 255, 255, 0.92) 42%),
    linear-gradient(320deg, rgba(194, 105, 56, 0.14), transparent 48%);
}

.cta-banner .cta-row {
  margin-top: 0;
  justify-content: flex-end;
}

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

.panel-card {
  min-height: 100%;
}

.portal-state-root {
  width: 100%;
  padding: 0 0 2rem;
}

.portal-dashboard {
  grid-column: 1 / -1;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.launch-dashboard {
  display: grid;
  gap: 1rem;
}

.portal-summary-msg,
.payment-status-msg,
.launch-status-msg {
  min-height: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 238, 0.9));
  color: var(--ink);
  font-weight: 600;
}

.portal-summary-msg:empty,
.payment-status-msg:empty,
.launch-status-msg:empty {
  display: none;
}

.launch-copy {
  display: grid;
  gap: 0.35rem;
}

.launch-progress {
  margin-top: 0.15rem;
}

.portal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.portal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.portal-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  align-items: start;
}

.portal-columns-single {
  grid-template-columns: minmax(0, 1fr);
}

.portal-columns section {
  min-width: 0;
}

.portal-columns h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.stack {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.32rem;
  font-weight: 700;
}

label span {
  font-size: 0.92rem;
}

.policy-check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.consent-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  font-weight: 650;
  line-height: 1.42;
}

.consent-check input {
  width: 1.05rem;
  min-height: 1.05rem;
  margin-top: 0.12rem;
  padding: 0;
  accent-color: var(--accent);
}

.consent-check span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

button,
.link-btn {
  min-height: 2.8rem;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

button {
  cursor: pointer;
}

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

.accent-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 12px 28px rgba(13, 118, 108, 0.22);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
  color: var(--ink);
}

.status-msg {
  min-height: 1.3rem;
  margin: 0;
}

.choice-list {
  display: grid;
  gap: 0.65rem;
}

.choice-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(21, 32, 51, 0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.choice-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(21, 32, 51, 0.08);
}

.choice-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 0.18rem;
}

.choice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.choice-item strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.choice-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.choice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 0 auto;
  min-width: min(100%, 18rem);
}

.choice-actions .ghost-btn,
.choice-actions .accent-btn,
.choice-actions .link-btn {
  min-height: 2.35rem;
}

.choice-item-active {
  border-color: rgba(13, 118, 108, 0.22);
  background: linear-gradient(180deg, rgba(240, 251, 248, 0.92), rgba(255, 255, 255, 0.9));
}

.choice-item-payment {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(180deg, rgba(255, 249, 235, 0.94), rgba(255, 255, 255, 0.9));
}

.choice-item-invited {
  border-color: rgba(59, 130, 246, 0.26);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.choice-item-inquiry,
.choice-item-quote {
  border-color: rgba(59, 130, 246, 0.22);
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.94), rgba(255, 255, 255, 0.9));
}

.choice-item-pending {
  border-color: rgba(194, 105, 56, 0.2);
  background: linear-gradient(180deg, rgba(255, 245, 239, 0.94), rgba(255, 255, 255, 0.9));
}

.choice-item-archived,
.choice-item-suspended,
.choice-item-other {
  background: linear-gradient(180deg, rgba(248, 249, 251, 0.94), rgba(255, 255, 255, 0.9));
}

.choice-item-owner {
  box-shadow: 0 14px 28px rgba(13, 118, 108, 0.06);
}

.choice-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.choice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.14rem 0.58rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 0;
}

.choice-badge-active {
  color: #0a5c54;
  background: rgba(13, 118, 108, 0.12);
  border-color: rgba(13, 118, 108, 0.28);
}

.choice-badge-pending {
  color: #8a4a1f;
  background: rgba(194, 105, 56, 0.14);
  border-color: rgba(194, 105, 56, 0.3);
}

.choice-badge-payment {
  color: #8a4a1f;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.32);
}

.choice-badge-invited {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.32);
}

.choice-badge-inquiry,
.choice-badge-quote {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.3);
}

.choice-badge-archived,
.choice-badge-suspended,
.choice-badge-other {
  color: #4d5a6f;
  background: rgba(94, 104, 120, 0.12);
  border-color: rgba(94, 104, 120, 0.24);
}

.choice-badge-owner {
  color: #1d2a3b;
  background: rgba(21, 32, 51, 0.08);
  border-color: rgba(21, 32, 51, 0.14);
}

.choice-item.empty-state {
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.choice-item.empty-state span {
  margin-top: 0;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.progress-bar {
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(13, 118, 108, 0.16);
}

.progress-bar > span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #115e59);
  animation: realmProgressSlide 1.4s ease-in-out infinite;
}

@keyframes realmProgressSlide {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(95%); }
  100% { transform: translateX(-120%); }
}

.hidden {
  display: none !important;
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1000;
}

.modal-card {
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.26);
}

.modal-wide-card {
  width: min(920px, 100%);
}

.portal-action-confirm {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-dashboard {
  gap: 1rem;
}

.payment-summary-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.payment-card {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.payment-card .eyebrow {
  margin-bottom: 0.1rem;
}

.payment-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(21, 32, 51, 0.08);
}

.payment-line span {
  margin: 0;
  color: var(--muted);
}

.payment-line strong {
  text-align: right;
  font-size: 0.98rem;
}

.payment-line-final {
  border-top: 1px solid rgba(21, 32, 51, 0.14);
  border-bottom: 0;
  margin-top: 0.1rem;
  padding-top: 0.75rem;
}

.payment-line-final strong {
  font-size: 1.08rem;
  color: var(--ink);
}

.payment-result-note {
  margin-top: 0.1rem;
}

.payment-actions {
  justify-content: flex-start;
}

.launch-dashboard .meta,
.payment-dashboard .meta {
  line-height: 1.5;
}

.auth-modal-card {
  width: min(540px, 100%);
}

.portal-form-shell {
  margin-top: 0.2rem;
}

.portal-form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-picker {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.plan-picker-head {
  display: grid;
  gap: 0.25rem;
}

.plan-choice-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.plan-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.plan-choice-copy {
  display: grid;
  gap: 0.32rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.plan-choice-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.plan-choice-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.plan-choice:hover .plan-choice-copy {
  transform: translateY(-1px);
  border-color: rgba(13, 118, 108, 0.22);
}

.plan-choice input:checked + .plan-choice-copy {
  border-color: rgba(13, 118, 108, 0.34);
  background: linear-gradient(180deg, rgba(238, 251, 249, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 26px rgba(13, 118, 108, 0.1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.auth-switch-btn {
  margin-top: 0.75rem;
  width: 100%;
}

.site-head .head-actions .ghost-btn,
.site-head .head-actions .accent-btn {
  min-height: 2.55rem;
  border-color: rgba(21, 32, 51, 0.12);
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.08);
}

.site-head .head-actions {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-head .head-actions .ghost-btn {
  background: rgba(21, 32, 51, 0.05);
  color: var(--ink);
  text-shadow: none;
}

.site-head .head-actions .accent-btn {
  background: linear-gradient(135deg, rgba(13, 118, 108, 0.96), rgba(10, 92, 84, 0.94));
}

body.portal-active .site-head {
  position: static;
  left: auto;
  right: auto;
  padding: 1rem 0 0.7rem;
  top: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  width: min(1760px, calc(100% - 1rem));
  margin: 0 auto;
}

body.portal-active .brand {
  color: var(--ink);
}

body.portal-active .site-head .head-actions .ghost-btn,
body.portal-active .site-head .head-actions .accent-btn {
  border-color: var(--line-strong);
  box-shadow: none;
}

body.portal-active .site-head .head-actions {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

body.portal-active .site-head .head-actions .ghost-btn {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

body.portal-active #heroSection,
body.portal-active .hero-summary-band,
body.portal-active #reviewSection,
body.portal-active #publicHeadActions {
  display: none !important;
}

body.portal-active #portalStateRoot {
  display: block !important;
}

@media (max-width: 1180px) {
  .hero-grid,
  .showcase-card-wide {
    grid-template-columns: 1fr;
  }

  .hero-shell,
  .hero {
    min-height: 760px;
  }

  .hero-stats,
  .pillar-grid,
  .pricing-grid,
  .showcase-grid,
  .admin-mini-grid,
  .plan-choice-grid,
  .split-section,
  .portal-columns,
  .portal-entry-points,
  .portal-form-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card-roles .showcase-copy {
    grid-template-rows: auto auto auto auto;
  }

  .admin-mini-panel {
    min-height: auto;
    height: auto;
  }

  .admin-mini-grid {
    height: auto;
    grid-auto-rows: auto;
  }

  .showcase-card-wide {
    grid-column: auto;
  }

  .hero-summary-band {
    margin-top: -3.4rem;
    padding: 1rem 0 1.3rem;
  }

  .hero-summary-inner {
    width: min(1400px, calc(100% - 1rem));
  }
}

@media (max-width: 820px) {
  .site-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.7rem 0.85rem;
  }

  .brand {
    font-size: 1.55rem;
    padding: 0.34rem 0.8rem 0.38rem 0.72rem;
  }

  .site-head .head-actions {
    width: 100%;
    gap: 0.55rem;
  }

  .site-head .head-actions .ghost-btn,
  .site-head .head-actions .accent-btn {
    min-height: 2.7rem;
  }

  .choice-item {
    flex-direction: column;
  }

  .choice-actions {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .lang-picker {
    padding-left: 0.55rem;
  }

  .hero-shell,
  .hero {
    min-height: 700px;
  }

  .hero {
    padding-top: 11.5rem;
  }

  .hero-summary-band {
    margin-top: -2.2rem;
    padding: 0.85rem 0 1rem;
  }

  .hero-summary-inner {
    width: calc(100% - 1rem);
    padding: 0.1rem 0;
    border-radius: 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.3rem, 10vw, 3.6rem);
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .cta-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-banner .cta-row {
    justify-content: flex-start;
  }

  body.portal-active .site-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
