:root {
  --terracotta: #cf7047;
  --terracotta-light: #df8a64;
  --forest: #0d3228;
  --forest-soft: #16483b;
  --cream: #f4ecda;
  --paper: #fffaf2;
  --sand: #e7d9bd;
  --muted: #a8b4ac;
  --line: rgba(255, 255, 255, 0.14);
  --display: "Italiana", Georgia, serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--forest);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(13, 50, 40, .99) 0%, rgba(15, 59, 47, .95) 48%, rgba(22, 80, 62, .88) 100%),
    radial-gradient(circle at 80% 30%, #a85438 0%, transparent 44%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.hero::after {
  content: "S";
  position: absolute;
  right: -4vw;
  bottom: -25vh;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 238, 231, .08);
  font: 75vh/1 var(--display);
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}
.ambient-one {
  width: 420px; height: 420px; right: 8%; top: 12%;
  border: 1px solid rgba(231, 217, 189, .15);
}
.ambient-two {
  width: 620px; height: 620px; right: -18%; top: 32%;
  border: 1px solid rgba(231, 217, 189, .1);
}

.nav {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.brand-logo {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.nav-link {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 7px;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--terracotta-light); }

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 82px;
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}

.eyebrow, .card-kicker, .section-index {
  color: var(--terracotta-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow span { width: 42px; height: 1px; background: var(--terracotta-light); }

h1 {
  max-width: 720px;
  margin: 24px 0 26px;
  font: clamp(62px, 7.4vw, 114px)/.89 var(--display);
  letter-spacing: -.04em;
  font-weight: 400;
}
h1 em, .manifesto h2 em {
  color: var(--sand);
  font-style: italic;
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 580px;
  margin: 0;
  color: #cbd6cf;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.hero-actions > span { color: #a8b8af; font-size: 10px; line-height: 1.4; }
.outline-btn {
  min-height: 47px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(231, 217, 189, .65);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .25s, color .25s, transform .25s;
}
.outline-btn svg, .details-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.outline-btn:hover { background: var(--sand); color: var(--forest); transform: translateY(-2px); }

.trust-row {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 9px; color: #cad5ce; font-size: 11px; }
.trust-item svg {
  width: 16px; height: 16px; fill: none; stroke: var(--terracotta-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.signup-card {
  position: relative;
  max-width: 480px;
  justify-self: end;
  padding: 48px 48px 38px;
  background: var(--paper);
  color: var(--forest);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
}
.signup-card::before, .signup-card::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--terracotta);
}
.signup-card::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.signup-card::after { right: 12px; bottom: 12px; border-right: 1px solid; border-bottom: 1px solid; }
.card-number { position: absolute; top: 33px; right: 42px; color: #ddd1c5; font: 34px var(--display); }
.card-kicker { margin: 0 0 13px; }
.signup-card h2 { margin: 0; font: 40px/1.12 var(--display); font-weight: 400; letter-spacing: -.02em; }
.card-copy { margin: 15px 0 27px; color: #6f6264; font-size: 13px; line-height: 1.65; }

.invite-button {
  width: 100%;
  height: 52px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  background: var(--terracotta);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.invite-button:hover { background: #b95e3b; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(207, 112, 71, .24); }
.invite-button:active { transform: translateY(0); }
.invite-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.invite-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid #ded3cb; }
.invite-list li { display: grid; grid-template-columns: 29px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid #ded3cb; }
.invite-list li > span { color: var(--terracotta); font: 14px var(--display); }
.invite-list strong { display: block; margin-bottom: 4px; color: #332429; font: 16px var(--display); font-weight: 400; }
.invite-list small { display: block; color: #7e7072; font-size: 10px; line-height: 1.5; }
.card-note { margin: 13px auto 0; max-width: 290px; color: #96898a; font-size: 9px; line-height: 1.5; text-align: center; }

.scroll-cue { position: absolute; z-index: 2; bottom: 25px; left: 50%; display: flex; align-items: center; gap: 12px; transform: translateX(-50%) rotate(90deg); transform-origin: center; color: #9b858b; font-size: 8px; letter-spacing: .22em; }
.scroll-cue i { display: block; width: 34px; height: 1px; background: #9b858b; }

.manifesto {
  padding: 125px max(32px, calc((100% - 1240px) / 2));
  background: var(--cream);
  color: var(--forest);
}
.section-index { margin: 0 0 45px; color: var(--terracotta); }
.manifesto-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.manifesto h2 { margin: 0; font: clamp(46px, 5vw, 75px)/1.02 var(--display); font-weight: 400; }
.manifesto-copy > p { max-width: 650px; margin: 5px 0 48px; color: #53685f; font-size: 17px; line-height: 1.75; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.principles article { padding-top: 20px; border-top: 1px solid #cdbdb4; }
.principles span { color: var(--terracotta); font: 18px var(--display); }
.principles h3 { margin: 18px 0 10px; font: 21px var(--display); font-weight: 400; }
.principles p { margin: 0; color: #65776f; font-size: 12px; line-height: 1.65; }

.details-cta {
  padding: 105px max(32px, calc((100% - 1240px) / 2));
  background: var(--forest-soft);
  color: var(--cream);
  border-top: 1px solid rgba(231, 217, 189, .18);
}
.details-cta .section-index { margin-bottom: 36px; color: var(--terracotta-light); }
.details-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; }
.details-inner h2 { max-width: 780px; margin: 0 0 18px; font: clamp(38px, 4.2vw, 64px)/1.08 var(--display); font-weight: 400; }
.details-inner p { max-width: 720px; margin: 0; color: #bfcbc4; font-size: 14px; line-height: 1.75; }
.details-button {
  min-width: 265px;
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--terracotta);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .25s, box-shadow .25s;
}
.details-button:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,.25); }

footer {
  min-height: 120px;
  padding: 30px max(32px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  color: #9daea5;
  font-size: 9px;
  letter-spacing: .06em;
}
footer .brand { height: 92px; }
footer .brand-logo { width: 92px; height: 92px; }
.footer-center { text-align: center; }
.footer-center > p { margin: 0 0 9px; }
.footer-links { display: flex; justify-content: center; gap: 16px; }
.footer-links a { color: #bdcac3; text-decoration: underline; text-underline-offset: 3px; }
.footer-note { text-align: right; }

.legal-page { min-height: 100vh; background: var(--cream); color: var(--forest); }
.legal-page .legal-nav { height: 86px; padding: 0 max(24px, calc((100% - 960px) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: var(--cream); }
.legal-page .legal-back { color: var(--terracotta-light); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.legal-content { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 110px; }
.legal-content .section-index { color: var(--terracotta); }
.legal-content h1 { margin: 20px 0 18px; font-size: clamp(48px, 7vw, 78px); line-height: 1; }
.legal-updated { margin-bottom: 55px; color: #837377; font-size: 12px; }
.legal-content h2 { margin: 38px 0 12px; font: 26px var(--display); font-weight: 400; }
.legal-content p, .legal-content li { color: #53665e; font-size: 14px; line-height: 1.8; }
.legal-content ul { padding-left: 19px; }
.legal-alert { margin: 45px 0 0; padding: 20px 22px; border-left: 2px solid var(--terracotta); background: #eae2d2; }

.reveal { opacity: 0; transform: translateY(20px); animation: reveal .8s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .4s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .nav, .hero-grid { width: min(100% - 40px, 620px); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 60px; gap: 55px; }
  .signup-card { justify-self: stretch; max-width: none; }
  .scroll-cue { display: none; }
  .hero::after { right: -25vw; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 50px; }
  .principles { grid-template-columns: 1fr; gap: 24px; }
  .details-inner { grid-template-columns: 1fr; align-items: start; gap: 38px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-note { text-align: center; }
}

@media (max-width: 520px) {
  .nav { height: 76px; }
  .nav .brand-logo { width: 70px; height: 70px; }
  .nav-link { display: none; }
  .hero-grid { padding: 52px 0 60px; }
  h1 { font-size: clamp(53px, 17vw, 78px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { flex-wrap: wrap; gap: 17px 22px; }
  .signup-card { padding: 43px 26px 31px; }
  .signup-card h2 { font-size: 34px; }
  .card-number { right: 25px; }
  .manifesto { padding-top: 85px; padding-bottom: 85px; }
}

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