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

:root {
  --bg: oklch(0.985 0 0);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.97 0 0);
  --surface-3: oklch(0.93 0 0);
  --line: oklch(0.88 0 0);
  --line-soft: oklch(0.94 0 0);
  --ink: oklch(0.15 0 0);
  --ink-2: oklch(0.40 0 0);
  --ink-3: oklch(0.58 0 0);
  --accent: oklch(0.20 0 0);
  --accent-soft: oklch(0.94 0 0);
  --accent-ink: oklch(0.15 0 0);
  --sage: oklch(0.52 0.06 145);
  --sage-soft: oklch(0.93 0.025 145);
  --amber: oklch(0.72 0.12 80);
  --amber-soft: oklch(0.95 0.035 85);
  --rose: oklch(0.62 0.12 20);
  --rose-soft: oklch(0.95 0.025 20);

  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Geist', 'Sohne', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-1: 0 1px 0 oklch(0.88 0.012 70 / 0.5);
  --shadow-2: 0 1px 2px oklch(0.2 0.01 60 / 0.04), 0 4px 16px oklch(0.2 0.01 60 / 0.04);
  --shadow-lift: 0 18px 50px oklch(0.2 0.015 60 / 0.10);
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  background:
    linear-gradient(180deg, oklch(0.99 0.005 80), var(--bg) 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.platform-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 56px;
  padding: 0 clamp(14px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 18px;
  background: oklch(0.99 0.005 80 / 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.42;
}

.brand-lockup {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 32px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 13px;
  transition: background 0.12s, color 0.12s;
}

.nav-links a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.platform-login {
  margin-left: 4px;
  min-height: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s, transform 0.05s, box-shadow 0.12s;
}

.btn:hover {
  background: var(--surface-2);
  border-color: var(--ink-3);
}

.btn:active { transform: translateY(0.5px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(0.99 0 0);
}

.btn-primary:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-3);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: transparent;
}

.btn-lg {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 13.5px;
}

.btn-full { width: 100%; }

.container {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

section { padding-block: clamp(58px, 8vw, 94px); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 56px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: oklch(0.98 0.006 75);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, oklch(0.18 0.014 60 / 0.94), oklch(0.18 0.014 60 / 0.70) 48%, oklch(0.18 0.014 60 / 0.22)),
    linear-gradient(180deg, oklch(0.16 0.012 60 / 0.14), oklch(0.16 0.012 60 / 0.44)),
    url("../weddings/ines-vincent/photos/J-L-ELI-1-n48cDJ1.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 9rem;
  background: linear-gradient(180deg, oklch(0.975 0.008 75 / 0), var(--bg));
}

.hero-inner {
  max-width: 690px;
  padding-block: clamp(70px, 10vw, 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 14px;
  padding: 0 9px;
  border: 1px solid oklch(0.95 0.02 80 / 0.28);
  border-radius: 999px;
  background: oklch(0.98 0.005 80 / 0.10);
  color: oklch(0.90 0.08 85);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

h1 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 96px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
  color: oklch(0.99 0.004 80);
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 58ch;
  margin-top: 18px;
  color: oklch(0.93 0.012 75 / 0.88);
  font-size: clamp(15px, 2vw, 17px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero .btn-outline {
  background: oklch(0.99 0.005 80 / 0.10);
  border-color: oklch(0.96 0.01 80 / 0.32);
  color: oklch(0.98 0.006 75);
  backdrop-filter: blur(12px);
}

.hero .btn-outline:hover {
  background: oklch(0.99 0.005 80 / 0.18);
  border-color: oklch(0.98 0.006 75 / 0.46);
}

.hero-proof {
  margin-top: 14px;
  color: oklch(0.90 0.012 75 / 0.72);
  font-size: 12.5px;
}

.section-contrast {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-header.is-centered {
  margin-inline: auto;
  text-align: center;
}

.section-header h2,
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
}

.section-header p,
.contact-info p {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 14px;
}

.section-header.is-centered p { margin-inline: auto; }

.features-grid,
.plans-grid,
.process-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }

.feature-card,
.plan-card,
.process-step {
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}

.feature-card:hover,
.plan-card.featured {
  background: oklch(0.985 0.006 75);
}

.feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--accent);
}

.feature-card h3,
.process-step h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.feature-card p,
.process-step p,
.plan-tagline,
.contact-info p,
.promise-item {
  color: var(--ink-2);
  font-size: 13px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-card.featured::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}

.plan-badge {
  align-self: flex-start;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
}

.plan-tagline { margin-top: -8px; }

.plan-features {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 2px;
  margin-bottom: auto;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 13px;
}

.check,
.check-muted {
  flex: 0 0 auto;
  margin-top: 2px;
}

.check { color: var(--sage); }
.check-muted { color: var(--ink-3); }
.muted-feature { color: var(--ink-3); }

.process-step {
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin-bottom: 18px;
  padding-inline: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.contact-promise {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.promise-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--sage);
}

.contact-form,
.platform-auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.contact-form { padding: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-label {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-label .req { color: var(--accent); }

.form-control {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
  transition: border-color 0.12s, background 0.12s;
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--surface);
}

select.form-control { cursor: pointer; }
textarea.form-control { min-height: 92px; padding-block: 8px; resize: vertical; }
.form-submit { margin-top: 2px; }

.flash,
.alert {
  padding: 10px 14px;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  text-align: center;
}

.flash-success,
.alert-success {
  background: var(--sage-soft);
  color: var(--sage);
  border-color: transparent;
}

.flash-danger,
.alert-danger {
  background: var(--rose-soft);
  color: var(--rose);
  border-color: transparent;
}

.platform-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12.5px;
  text-align: center;
}

.platform-footer a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.platform-auth-body {
  min-height: 100svh;
  display: grid;
  background:
    linear-gradient(135deg, oklch(0.99 0.005 80), var(--bg) 48%, oklch(0.96 0.014 75));
}

.platform-auth-shell {
  width: min(100%, 1120px);
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(18px, 4vw, 42px);
}

.platform-auth-shell > section { padding-block: 0; }

.platform-auth-intro {
  max-width: 580px;
}

.platform-auth-title {
  margin-top: 22px;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 84px);
  line-height: 0.94;
  font-weight: 400;
  color: var(--ink);
}

.platform-auth-copy {
  max-width: 52ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.platform-auth-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.platform-auth-point {
  min-width: 0;
  padding: 14px;
  background: var(--surface);
}

.platform-auth-point strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.platform-auth-point span {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}

.platform-auth-card {
  width: 100%;
}

.platform-auth-card-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.platform-auth-card-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
}

.platform-auth-card-sub {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 13px;
}

.platform-auth-card-body {
  padding: 20px 24px 24px;
}

.platform-auth-card .alert {
  margin-bottom: 14px;
  border-radius: var(--radius);
  text-align: left;
}

.platform-auth-card .form-group { margin-bottom: 14px; }
.platform-auth-card .btn { min-height: 38px; }

.platform-auth-back {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 12.5px;
}

.platform-auth-back:hover { color: var(--ink); }

.wedding-auth-body {
  background:
    radial-gradient(circle at top left, var(--surface) 0, transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--surface-2));
}

.wedding-auth-shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 420px);
}

.wedding-auth-intro .nav-brand {
  align-items: center;
}

.wedding-auth-intro .brand-name {
  max-width: min(68vw, 420px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wedding-auth-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--surface);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
}

.wedding-auth-eyebrow {
  margin-top: 34px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-3);
}

.wedding-auth-title {
  max-width: 10ch;
}

.wedding-auth-details {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.wedding-auth-note {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13px;
}

.wedding-auth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.wedding-auth-foot .platform-auth-back {
  margin-top: 0;
}

.wedding-auth-powered {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .features-grid,
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid,
  .platform-auth-shell,
  .wedding-auth-shell { grid-template-columns: 1fr; }
  .platform-auth-shell { align-content: center; }
  .platform-auth-card { max-width: 480px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .platform-nav { gap: 10px; }
  .nav-links { display: none; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 9px; }
  .hero { min-height: calc(92svh - 56px); }
  .hero::before {
    background:
      linear-gradient(180deg, oklch(0.18 0.014 60 / 0.86), oklch(0.18 0.014 60 / 0.56)),
      url("../weddings/ines-vincent/photos/J-L-ELI-1-n48cDJ1.jpg");
    background-position: center top;
    background-size: cover;
  }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .features-grid,
  .plans-grid,
  .process-steps,
  .form-row,
  .platform-auth-points { grid-template-columns: 1fr; }
  .feature-card,
  .plan-card,
  .process-step,
  .contact-form { padding: 16px; }
  .section-header.is-centered { text-align: left; }
  .section-header.is-centered p { margin-inline: 0; }
  .platform-auth-shell { padding: 18px; }
  .platform-auth-title { max-width: 12ch; }
  .platform-auth-card-head,
  .platform-auth-card-body { padding-inline: 18px; }
  .wedding-auth-eyebrow { margin-top: 26px; }
  .wedding-auth-title { max-width: 11ch; }
  .wedding-auth-foot { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
