:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #17352f;
  background: #092824;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 50px);
  background: radial-gradient(ellipse at 90% 5%, #28645a, transparent 55%),
              radial-gradient(ellipse at 0 90%, #234841, transparent 48%), #092824;
}
.gate {
  width: min(100%, 1000px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #ffffff45;
  box-shadow: 0 30px 90px #0006;
  animation: reveal 380ms ease-out both;
}
.intro, .checkout { padding: clamp(22px, 4vw, 52px); }
.intro {
  color: #f3fff8;
  background: radial-gradient(circle at 92% 12%, #287465, transparent 66%), #103a35;
}
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 750; }
.brand span {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: #f3ca72; color: #1f3b33;
}
.tag {
  display: inline-block; margin: 2.3rem 0 .6rem;
  padding: .2rem .65rem; border: 1px solid #f3ca7266;
  border-radius: 2rem; color: #ffdb94; font-weight: 700; font-size: .85rem;
}
h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.19; }
h1 span { display: block; margin-block-start: .25em; color: #ffdb94; }
.intro > p:not(.tag), .intro li { color: #e2f1ea; }
.intro ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.intro li::before { content: "✓"; margin-inline-end: .65em; color: #aee8c6; }
.checkout { background: #fffdf7; min-width: 0; }
.eyebrow { color: #35665b; margin: 0; font-weight: 750; }
h2 { margin: .15rem 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.plan-list, .auth-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.plan { display: grid; gap: .15rem; padding: .65rem .85rem; border: 1px solid #b7d1c5; background: #edf7ef; border-radius: 14px; }
.plan strong { font-size: 1.12rem; }
.plan span, .hint { color: #455e56; font-size: .88rem; }
.plan.pending { background: #f5f1e9; border-color: #dcd2c1; }
.auth, .payment { display: grid; gap: .65rem; margin-top: .8rem; }
label { display: grid; gap: .25rem; font-size: .92rem; font-weight: 650; }
input, button { font: inherit; width: 100%; min-height: 44px; border-radius: 10px; padding: .55rem .7rem; }
input { border: 1px solid #9bbab0; background: #fff; color: #17352f; }
button { border: 1px solid transparent; background: #125247; color: white; font-weight: 750; cursor: pointer; }
button.secondary { border-color: #8fb2a5; background: #fffdf7; color: #125247; }
button.text-button { width: auto; background: transparent; color: #125247; text-decoration: underline; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #a46406; outline-offset: 3px; }
.notice { background: #fdf0d3; padding: .65rem .8rem; border-radius: 10px; }
details { margin-top: 1rem; color: #125247; }
summary { cursor: pointer; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 730px) {
  .gate { grid-template-columns: minmax(0, 1fr); border-radius: 19px; }
  .tag { margin-top: 1.2rem; }
  .intro ul { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .85rem; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .gate { animation: none; } }
.continue { display: inline-block; padding: .65rem 1rem; border-radius: 10px; background: #125247; color: white; font-weight: 750; }

.membership-page { width: min(100%, 1200px); }
.gate { margin-inline: auto; }
.search-preview { margin-block: clamp(40px, 7vw, 76px) 16px; }
.preview-heading { text-align: center; color: #f3fff8; margin-block-end: 26px; }
.preview-heading p { margin: 0; color: #bcd8cd; }
.preview-heading .preview-label { color: #ffdb94; font-weight: 750; font-size: .85rem; }
.preview-heading h2 { margin-block: .3rem; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 390px));
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}
.preview-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  padding: clamp(15px, 2.2vw, 30px);
  padding-block-start: 42px;
  border: 6px solid #193b34;
  border-radius: 38px;
  background: linear-gradient(155deg, #fbfff9, #e7f2ea);
  box-shadow: 0 16px 30px #0005, 0 0 0 1px #ffffff4d;
}
.preview-phone::before {
  content: "";
  position: absolute;
  top: 12px;
  inset-inline-start: 50%;
  translate: 50% 0;
  width: 29%;
  height: 16px;
  border-radius: 999px;
  background: #102d27;
}
.preview-brand { color: #35665b; font-size: .83rem; font-weight: 750; }
.preview-step {
  display: inline-block;
  margin-top: clamp(14px, 3vw, 34px);
  border-radius: 999px;
  padding: .15rem .6rem;
  color: #553900;
  background: #ffe5a9;
  font-weight: 750;
}
.preview-phone h3 { margin: .5rem 0 0; font-size: clamp(1.2rem, 2.4vw, 1.75rem); }
.preview-phone p { margin-block: .3rem 1rem; color: #455e56; font-size: .9rem; }
.preview-query {
  padding: .65rem .8rem;
  border: 1px solid #8fb2a5;
  border-radius: 12px;
  background: white;
  font-weight: 750;
}
.preview-phone .preview-results-label { margin-block: 1rem .5rem; font-weight: 750; }
.preview-results { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.preview-results li {
  display: grid;
  justify-items: start;
  gap: .2rem;
  padding: .65rem .8rem;
  border: 1px solid #b7d1c5;
  border-radius: 12px;
  background: #ffffffdb;
  overflow-wrap: anywhere;
}
.preview-results bdi { color: #455e56; font-size: .83rem; }
.preview-results small { color: #145347; background: #e2f3e8; padding: 0 .5rem; border-radius: 999px; }
@media (max-width: 730px) {
  .preview-grid { grid-template-columns: minmax(0, 390px); gap: 20px; }
}

.preview-more:disabled {
  margin-block-start: .75rem;
  border-color: #9bbab0;
  background: #edf7ef;
  color: #125247;
  opacity: 1;
  cursor: default;
}
