:root {
  --ink: #0b0f14;
  --slate: #1f2937;
  --muted: #5b6677;
  --sand: #f4efe8;
  --mist: #f4f7fb;
  --paper: #ffffff;
  --sea: #0f766e;
  --sea-bright: #14b8a6;
  --sun: #f59e0b;
  --ember: #f97316;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body.public-page {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

body.public-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(15, 118, 110, 0.18), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.15), transparent 55%),
    linear-gradient(180deg, #f9f6f0 0%, #ffffff 55%, #f6f7fb 100%);
  z-index: -2;
}

body.public-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", "Sora", sans-serif;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(130deg, var(--sea), var(--sun));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--slate);
}

.nav-links a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: rgba(15, 118, 110, 0.12);
  color: var(--sea);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--sea), var(--sun));
  color: white;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.3);
}

.btn-ghost {
  background: rgba(15, 118, 110, 0.08);
  color: var(--sea);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.btn-ghost:hover {
  background: rgba(15, 118, 110, 0.16);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.hero {
  padding: 6.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sea);
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 1rem 0;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(15, 118, 110, 0.12), transparent 60%);
  pointer-events: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  background: rgba(15, 118, 110, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
}

.stat strong {
  font-size: 1.4rem;
  display: block;
  color: var(--ink);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(248, 244, 239, 0.8);
  border-radius: 48px;
  padding: 4rem 0;
  margin: 2rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--ink);
}

.section-subtitle {
  max-width: 480px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.18);
  color: #7a4a04;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.glass {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 320px;
}

.plan-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-card.selected {
  border: 2px solid var(--sea);
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.2);
}

.price-card.featured {
  border: 2px solid var(--sea);
  box-shadow: 0 24px 50px rgba(15, 118, 110, 0.2);
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.price-card li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--sea);
}

.form-shell {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  display: block;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--ink);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.notice.error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.24);
  color: #7f1d1d;
}

.footer {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer small {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  color: var(--slate);
}

.cta-band {
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.18), rgba(245, 158, 11, 0.18));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  color: var(--ink);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.6rem;
  color: var(--slate);
}

.legal-content ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1.2rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-meta {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.2);
  color: var(--slate);
}

.credential-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.cred-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
}

.cred-label {
  font-weight: 600;
  color: var(--slate);
}

.cred-value {
  font-family: \"Sora\", sans-serif;
  font-weight: 600;
  background: rgba(15, 118, 110, 0.08);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
}

.copy-btn {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(15, 118, 110, 0.16);
  color: var(--sea);
  font-weight: 600;
  cursor: pointer;
}

.countdown-timer {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  color: var(--ember);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.8s ease both;
}

@media (max-width: 960px) {
  .nav-panel {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
  }

  body.nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    width: 100%;
    flex-direction: column;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .site-nav {
    padding: 1rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card,
  .form-shell,
  .glass,
  .cta-band {
    padding: 1.8rem;
  }
}
