@font-face {
  font-family: 'GC Natify';
  src: url('/static/fonts/GCNatify-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HongKong';
  src: url('/static/fonts/HongKong-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HongKong';
  src: url('/static/fonts/HongKong-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vito';
  src: url('/static/fonts/vito-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vito';
  src: url('/static/fonts/vito-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vito';
  src: url('/static/fonts/vito-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --primary: #23272b;
  --darkblue: #2f374a;
  --yellow: #f8d600;
  --lilac: #dad2e9;
  --mint: #d4e9de;
  --salmon: #f9c3a4;
  --gray2: #b3adba;
  --white: #fff;
  --gray: #c6c6c5;
  --font-brand: 'GC Natify', 'Inter', sans-serif;
  --font-headline: 'HongKong', 'Inter', sans-serif;
  --font-body: 'Vito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  width: 100%;
  overflow-x: hidden;
  font-size: 16px;
  scroll-behavior: smooth;
}

html.modal-open {
  overflow: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.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;
}

main {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4.5rem 1.5rem 2rem;
}

.hero,
.preview,
.waitlist,
.pricing {
  width: 100%;
  min-width: 0;
}

.hero,
.preview {
  max-width: 960px;
}

.hero {
  margin-bottom: 2.5rem;
  text-align: center;
}

.logo {
  margin-bottom: 1rem;
}

.logo img {
  width: auto;
  height: 5rem;
}

.tagline {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--gray);
  font-family: var(--font-headline);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.preview {
  margin-bottom: 5rem;
}

.preview-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.pricing {
  max-width: 1180px;
  margin: 0 auto 5rem;
}

.pricing-head {
  max-width: 670px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.pricing-eyebrow,
.dialog-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--yellow);
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pricing-head h1 {
  color: var(--white);
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.pricing-sub {
  margin-top: 1rem;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.55;
}

.pricing-promise {
  max-width: 900px;
  min-width: 0;
  margin: 0 auto 2rem;
  padding: 1rem 1.1rem 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 255, 255, 0.035);
}

.pricing-promise-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.pricing-promise-copy {
  margin-top: 0.2rem;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.45;
}

.detail-trigger {
  display: inline;
  margin-left: 0.3rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  text-align: left;
  text-underline-offset: 3px;
}

.detail-trigger:hover {
  color: var(--white);
}

.detail-trigger--standalone {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(248, 214, 0, 0.55);
  border-radius: 5px;
  white-space: nowrap;
}

.pricing-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.plan {
  position: relative;
  min-width: 0;
  padding: 1.65rem 1.45rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: #2a303a;
  text-align: left;
}

.plan--standard {
  border-color: rgba(248, 214, 0, 0.78);
  background: var(--darkblue);
}

.plan--basic {
  border-top-color: rgba(212, 233, 222, 0.55);
}

.plan--ultimate {
  border-top-color: rgba(218, 210, 233, 0.5);
}

.plan-badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.plan-eyebrow {
  min-height: 1.15rem;
  color: var(--gray2);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.4;
}

.plan--basic .plan-eyebrow { color: var(--mint); }
.plan--standard .plan-eyebrow { color: var(--yellow); }
.plan--ultimate .plan-eyebrow { color: var(--lilac); }

.plan-name {
  margin-top: 0.35rem;
  color: var(--white);
  font-family: var(--font-brand);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plan-price-row {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.plan-price {
  min-width: 0;
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-amount {
  color: var(--white);
  font-family: var(--font-headline);
  font-size: clamp(2.05rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
}

.plan-amount--text {
  font-size: 1.95rem;
}

.plan-period {
  color: var(--gray);
  font-size: 0.88rem;
  white-space: nowrap;
}

.plan-seat-price {
  flex: 0 1 auto;
  padding-bottom: 0.08rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
}

.plan-seat-price span {
  color: var(--gray);
  font-weight: 400;
}

.plan-desc {
  min-height: 3rem;
  margin-top: 0.8rem;
  color: var(--gray);
  font-size: 0.91rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  hyphens: auto;
}

.plan-features {
  flex: 1;
  margin: 1.3rem 0 1.5rem;
  padding: 1.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.plan-features li {
  position: relative;
  min-width: 0;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: break-word;
  hyphens: none;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 700;
}

.plan--basic .plan-features li::before { color: var(--mint); }
.plan--ultimate .plan-features li::before { color: var(--lilac); }

.plan-features strong {
  color: var(--white);
  font-weight: 700;
}

.plan-cta {
  width: 100%;
  padding: 0.78rem 1rem;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.plan-cta:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.plan-cta--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--primary);
}

.plan-cta--primary:hover {
  border-color: #ffe633;
  background: #ffe633;
}

.pricing-trust {
  margin-top: 2rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.pricing-note {
  max-width: 650px;
  margin: 0.55rem auto 0;
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.waitlist {
  max-width: 520px;
  text-align: center;
}

.waitlist h2 {
  font-family: var(--font-headline);
  font-size: 1.65rem;
  font-weight: 500;
}

.waitlist > p {
  margin: 0.35rem 0 1rem;
  color: var(--gray);
  font-size: 0.92rem;
}

.input-group {
  overflow: hidden;
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  transition: border-color 0.2s;
}

.input-group:focus-within {
  border-color: var(--yellow);
}

.input-group input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 0;
  outline: 0;
  background: var(--darkblue);
  color: var(--white);
  font-size: 1rem;
}

.input-group input::placeholder {
  color: var(--gray2);
}

.input-group button {
  padding: 0.85rem 1.3rem;
  border: 0;
  background: var(--yellow);
  color: var(--primary);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.input-group button:hover { background: #ffe633; }
.input-group button:disabled { cursor: not-allowed; opacity: 0.55; }

.form-message {
  min-height: 1.25rem;
  margin-top: 0.7rem;
  color: var(--mint);
  font-size: 0.85rem;
  text-align: center;
}

.form-message.error { color: var(--salmon); }

footer {
  padding: 2rem 1.5rem;
  color: var(--gray);
  font-size: 0.8rem;
  text-align: center;
}

footer a {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover { color: var(--white); }

.info-dialog {
  width: min(720px, calc(100% - 2rem));
  max-height: min(760px, calc(100vh - 2rem));
  margin: auto;
  padding: 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: #292f39;
  color: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.info-dialog::backdrop {
  background: rgba(12, 14, 17, 0.78);
  backdrop-filter: blur(3px);
}

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

.dialog-eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
}

.dialog-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
}

.dialog-close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.dialog-close:hover { background: rgba(255, 255, 255, 0.08); }

.info-dialog > p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.55;
}

.dialog-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.65rem 1.5rem;
  list-style: none;
}

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

.dialog-list li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.dialog-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.dialog-subtitle {
  margin-top: 1.2rem;
  color: var(--white) !important;
  font-weight: 700;
}

.software-list {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.software-list li {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.dialog-note {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem !important;
}

@media (max-width: 980px) {
  .pricing-grid {
    max-width: 720px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan--ultimate {
    grid-column: 1 / -1;
  }

  .plan--ultimate .plan-desc {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  main {
    padding: 3rem 1rem 1.5rem;
  }

  .logo img {
    height: 3.6rem;
  }

  .tagline {
    max-width: 20rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .preview {
    margin-bottom: 4rem;
  }

  .pricing-promise {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .pricing-grid {
    max-width: 460px;
    grid-template-columns: minmax(0, 1fr);
  }

  .plan--ultimate {
    grid-column: auto;
  }

  .plan-desc {
    min-height: 0;
  }

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

@media (max-width: 420px) {
  .plan {
    padding: 1.45rem 1.2rem;
  }

  .plan-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .plan-seat-price {
    text-align: left;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group button {
    padding: 0.85rem;
  }

  .info-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
