:root {
  --radius: 1.25rem;
  --background: oklch(96.6% .012 150);
  --foreground: oklch(24.5% .028 155);
  --primary: oklch(42% .062 155);
  --primary-foreground: oklch(96.6% .012 150);
  --muted-foreground: oklch(24.5% .028 155 / .58);
  --accent: oklch(55% .115 130);
  --accent-foreground: oklch(98% .01 150);
  --border: oklch(24.5% .028 155 / .12);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.font-display,
.brand__mark,
.brand__name,
.headline,
.showcase__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-mono,
.eyebrow,
.kicker,
.field-label,
.field-hint,
.showcase__label,
.footer__note,
.footer__link {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

/* Layout */
.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.wrap {
  position: relative;
  margin: 0 auto;
  display: flex;
  min-height: 100vh;
  max-width: 72rem;
  flex-direction: column;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .wrap { padding: 0 2.5rem; }
}

/* Background glows */
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(64px);
  z-index: 0;
}

.glow--one {
  left: -6rem;
  top: -6rem;
  width: 36rem;
  height: 36rem;
  background: color-mix(in oklch, var(--accent) 15%, transparent);
}

.glow--two {
  right: -8rem;
  top: 33%;
  width: 30rem;
  height: 30rem;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
}

.glow--three {
  bottom: 0;
  left: 25%;
  width: 28rem;
  height: 28rem;
  background: color-mix(in oklch, var(--accent) 10%, transparent);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  position: relative;
  z-index: 1;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 1.125rem;
  font-style: italic;
}

.brand__name {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-foreground);
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0;
}

@media (min-width: 1024px) {
  .main {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
  .intro { grid-column: span 7; }
  .showcase { grid-column: span 5; }
}

.kicker {
  margin-bottom: 1.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.headline {
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-weight: 600;
}

@media (min-width: 640px) {
  .headline { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .headline { font-size: 4.5rem; }
}

.lede {
  margin-top: 2rem;
  max-width: 46ch;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Form */
.notify-form {
  margin-top: 2.5rem;
  max-width: 28rem;
}

.field-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-foreground);
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .field-row { flex-direction: row; }
}

.field-input {
  width: 100%;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field-input::placeholder {
  color: var(--muted-foreground);
}

.field-input:focus {
  border-color: color-mix(in oklch, var(--accent) 60%, transparent);
  background: rgba(255, 255, 255, 0.7);
}

.field-submit {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  transition: background-color 0.3s ease;
}

.field-submit:hover {
  background: var(--accent);
}

.field-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field-hint {
  margin-top: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
}

.field-hint.is-success {
  color: var(--accent);
}

.field-hint.is-error {
  color: oklch(57.7% .245 27.325);
}

/* Showcase */
.showcase__card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.4);
  padding: 0.75rem;
  box-shadow: 0 24px 60px -24px hsl(150 22% 13% / 0.25);
  backdrop-filter: blur(20px);
}

.showcase__image {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.showcase__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.75rem 0.25rem;
}

.showcase__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.showcase__value {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

@media (min-width: 640px) {
  .site-footer { flex-direction: row; }
}

.footer__note {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--primary);
}

/* Animations */
@keyframes rise {
  0% { opacity: 0; transform: translateY(26px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.animate-rise {
  opacity: 0;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.32, 1) forwards;
}

.animate-fade {
  opacity: 0;
  animation: fade 0.9s ease forwards;
}

.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }
.delay-5 { animation-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .animate-rise,
  .animate-fade {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
