
:root {
  --ink: #0E0B08;
  --ink-soft: #1B140C;
  --wood: #5A3B1A;
  --wood-soft: #2A1B0C;
  --amber: #BF7A20;
  --cream: #F6F0E4;
  --cta: #D4922A;
  --cta-hover: #e2a53d;

  --text-dim: #C9BFAE;
  --border: rgba(246, 240, 228, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --container-w: 1100px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 20px 50px -20px rgba(14, 11, 8, 0.5);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-cta {
  background: var(--cta);
  color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(212, 146, 42, 0.55);
}
.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(212, 146, 42, 0.65);
}
.btn-cta:active { transform: translateY(0); }
.btn-large { padding: 17px 38px; font-size: 1.02rem; }
.btn-small { padding: 10px 22px; font-size: 0.85rem; }
.btn-full { width: 100%; margin-top: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 11, 8, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.hero {
  position: relative;
  padding: 72px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% 8%, rgba(191,122,32,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(90,59,26,0.25), transparent 60%),
    var(--ink);
}

.hero-inner {
  display: flex;
  justify-content: center;
  min-height: 56vh;
  padding: 40px 0;
}

.hero-copy { max-width: 680px; text-align: left; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 26px;
}

.hero-title .highlight {
  color: var(--amber);
  font-style: italic;
}

.hero-sub {
  display: block;
  font-size: 1.08rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.hero-lead {
  display: block;
  font-size: 1.08rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 34px;
}

.section { padding: 90px 0; }

.form-section {
  background:
    radial-gradient(ellipse 800px 500px at 15% 0%, rgba(191,122,32,0.14), transparent 60%),
    var(--wood-soft);
}
.form-container {
  display: flex;
  justify-content: center;
}

.signup-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #241A10;
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(90, 59, 26, 0.16);
  background: #FFFDF9;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #241A10;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(191, 122, 32, 0.15);
  outline: none;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  margin: 0;
}

.btn-full { position: relative; }
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2.5px solid rgba(14, 11, 8, 0.35);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading { cursor: progress; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-message {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  border-radius: 10px;
  text-align: center;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), max-height 0.35s var(--ease), padding 0.35s var(--ease);
}
.form-message.is-visible {
  opacity: 1;
  max-height: 140px;
  padding: 14px 16px;
}
.form-message.success {
  background: rgba(76, 148, 96, 0.12);
  border: 1px solid rgba(76, 148, 96, 0.4);
  color: #2e6b41;
}
.form-message.error {
  background: rgba(176, 74, 74, 0.1);
  border: 1px solid rgba(176, 74, 74, 0.4);
  color: #a13c3c;
}

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 26px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-inner { min-height: auto; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .signup-card { padding: 30px 22px; }
  .container { padding: 0 20px; }
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-Var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
