@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: hsl(225 56% 45%);
  --primary-hover: hsl(225 56% 38%);
  --primary-deep: hsl(225 56% 28%);
  --accent: hsl(38 62% 55%);
  --accent-hover: hsl(38 62% 48%);
  --bg: #0f1628;
  --text: #fff;
  --muted: rgb(255 255 255 / 0.86);
  --header: 72px;
  --serif: "Playfair Display", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
html.is-keyboard {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
html.is-keyboard .chapter {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}
html.is-keyboard #contact .chapter-copy {
  overflow: auto;
  justify-content: flex-start;
  padding-top: 72px;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed; inset: 0; z-index: 50;
  pointer-events: none;
  background: none;
  border: 0;
}
.brand {
  pointer-events: auto;
  position: absolute;
  top: 22px;
  left: 26px;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 10px 22px rgb(0 0 0 / 0.45));
}
.brand-logo { display: block; height: 68px; width: auto; }
.nav {
  pointer-events: auto;
  position: absolute;
  top: 24px;
  right: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgb(0 0 0 / 0.55);
}
.nav-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.45));
}
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: .92rem 1.55rem; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.btn-gold {
  color: #fff;
  background: linear-gradient(110deg, var(--accent), var(--accent-hover));
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.45); }

.chapter {
  position: relative;
  height: 100vh;
  height: 100svh;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.chapter-pin {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.chapter-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  opacity: 1;
  will-change: transform;
  animation: kenburns 10s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.18); }
}
.chapter-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgb(12 20 40 / 0.32) 0%, rgb(12 20 40 / 0.66) 72%),
    linear-gradient(180deg, rgb(12 20 40 / 0.22) 0%, rgb(12 20 40 / 0.58) 100%);
}
.chapter-copy {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 32px 56px;
}
.chapter-copy .inner {
  width: min(680px, calc(100% - 16px));
  margin: 0 auto;
  text-align: center;
}
.kicker {
  letter-spacing: .34em; text-transform: uppercase; font-size: .68rem;
  color: var(--accent); font-weight: 500; margin: 0 0 18px;
}
.chapter-copy h1, .chapter-copy h2, .chapter-copy h3 {
  margin: 0 0 16px; line-height: 1.18; font-weight: 500;
  font-family: var(--serif);
  letter-spacing: -.01em;
}
.chapter-copy h1 { font-size: clamp(2rem, 4.6vw, 3.55rem); font-weight: 500; }
.chapter-copy h2 { font-size: clamp(1.85rem, 4.2vw, 3.15rem); font-weight: 500; }
.chapter-copy h3 { font-size: clamp(1.35rem, 2.8vw, 1.95rem); font-weight: 500; }
.chapter-copy .lead {
  margin: 0 auto; max-width: 36rem;
  font-size: 1.05rem; color: var(--muted); font-weight: 400;
  letter-spacing: .02em; line-height: 1.75;
}
.hero-actions, .chapter-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px;
}
.chapter-count {
  font-size: .8rem; letter-spacing: .2em; font-weight: 700;
  color: var(--accent); margin-bottom: 12px;
}

.chapter-copy .anim {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition:
    opacity .75s cubic-bezier(.16,.8,.24,1),
    transform .75s cubic-bezier(.16,.8,.24,1),
    filter .75s cubic-bezier(.16,.8,.24,1);
}
.chapter.is-on .anim {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.chapter.is-on .anim:nth-child(1) { transition-delay: .05s; }
.chapter.is-on .anim:nth-child(2) { transition-delay: .18s; }
.chapter.is-on .anim:nth-child(3) { transition-delay: .3s; }
.chapter.is-on .anim:nth-child(4) { transition-delay: .42s; }
.chapter.is-on .anim:nth-child(5) { transition-delay: .52s; }
.chapter:not(.is-on) .anim {
  transition-duration: .4s;
  transition-delay: 0s;
}

.glass {
  width: min(640px, 100%);
  margin: 16px auto 0;
  text-align: left;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.18);
}

.inner-wide { width: min(880px, calc(100% - 16px)); }
.glass.pricing {
  width: 100%;
  overflow-x: auto;
  padding: 8px 6px 4px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: #fff;
}
.pricing-table th {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 14px 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
  white-space: nowrap;
}
.pricing-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  vertical-align: top;
  font-size: .9rem;
  line-height: 1.4;
}
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table .price {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  white-space: nowrap;
  width: 22%;
}
.pricing-table .price a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: .02em;
}
.pricing-table .price a:hover { color: #fff; }
.pricing-table td.price.price-cta,
.pricing-table td.price.price-cta a {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.3;
}
.pricing-table tr.enterprise td {
  padding-top: 12px;
}
.pricing-table .price .was {
  margin-right: .4em;
  font-size: .72em;
  font-weight: 400;
  color: rgb(255 255 255 / 0.5);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--accent);
}
.pricing-table .price small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.7);
}
.pricing-table .plan-note {
  display: block;
  margin-top: 3px;
  font-size: .78rem;
  color: rgb(255 255 255 / 0.72);
  letter-spacing: .02em;
}
.pricing-lock {
  margin: 6px 8px 2px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
#pricing .chapter-copy { padding-bottom: 72px; }
#pricing .scroll-hint { bottom: 10px; }

.faq {
  max-height: min(48vh, 390px);
  overflow: auto;
}
.faq details {
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
  padding: 10px 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 500; color: #fff; font-family: var(--serif); letter-spacing: .01em; }
.faq p { margin: 8px 0 4px; color: rgb(255 255 255 / 0.86); font-size: .95rem; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  align-items: start;
}
.contact-form .span-2 { grid-column: 1 / -1; }
.contact-form h3 { margin: 0 0 4px; text-align: left; font-size: 1.2rem; }
.contact-form textarea { min-height: 76px; resize: vertical; }
.contact-form label.field-label {
  font-size: .82rem; font-weight: 650; letter-spacing: .04em;
  text-transform: uppercase; color: rgb(255 255 255 / 0.78);
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 1px solid rgb(255 255 255 / 0.28); border-radius: 10px;
  padding: .65rem .9rem; font: inherit; color: #fff;
  background: rgb(15 22 40 / 0.28);
}
.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.contact-form select option { color: #111; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgb(255 255 255 / 0.62); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 2px hsl(38 62% 55% / 0.25);
}

.slide-legal {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgb(255 255 255 / 0.72);
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.45);
  pointer-events: none;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.45));
  animation: chevron-bounce 1.55s ease-in-out infinite;
}
.scroll-hint svg {
  display: block;
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scroll-hint:hover { color: #fff; }
@keyframes chevron-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .55; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

.notice { min-height: 100vh; display: grid; place-items: center; padding: 100px 20px 40px; }
.notice-card {
  background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.2);
  backdrop-filter: blur(16px); border-radius: 18px; padding: 32px; max-width: 520px; text-align: center;
}

@media (max-width: 900px) {
  .brand { top: 16px; left: 16px; }
  .brand-logo { height: 52px; }
  .nav { top: 16px; right: 16px; gap: 8px; }
  .nav a { font-size: .62rem; letter-spacing: .18em; gap: 6px; }
  .nav-icon { width: 12px; height: 12px; }
  .pricing-table th, .pricing-table td { padding: 10px 8px; }
  .pricing-table .price { font-size: 1.25rem; }
  .pricing-table td { font-size: .82rem; }
  .chapter { height: 100vh; height: 100svh; }
  .chapter-copy { padding: 84px 28px 52px; }
  .chapter-copy h1 { font-size: 1.85rem; }
  .chapter-copy h2 { font-size: 1.7rem; }
  .faq { max-height: 42vh; }
  .contact-form textarea { min-height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: y proximity; }
  .chapter-photo { animation: none; transform: none; opacity: 1; }
  .chapter-copy .anim {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .scroll-hint { animation: none; opacity: .8; }
}
