/* ============================================
   Alting Landing Page — Single Page
   Original design tokens, generous spacing
   ============================================ */

/* --- Tokens --- */
:root {
  --alting-ink: #2E3D26;
  --alting-text: #3A4A32;
  --alting-text-secondary: #7A8A6E;
  --alting-white: #FAF6F0;
  --alting-cream: #F5EDE3;
  --alting-sage: #E5905A;
  --alting-sage-light: #FAF0E8;
  --alting-sage-dark: #CC7D4E;
  --alting-gold: #B8923F;
  --alting-gold-light: #F8F3E8;
  --alting-border: #DDD5C8;

  /* Sunset palette (Joshua Tree) */
  --sunset-rose: #D4908A;
  --sunset-lavender: #B8B0CC;
  --sunset-amber: #D49A50;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --section-pad: 120px;
  --section-pad-mobile: 72px;
  --content-width: 800px;
  --site-width: 1120px;
  --card-pad: 32px;
  --card-radius: 12px;
  --hover-speed: 150ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--alting-text);
  background-color: var(--alting-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { color: var(--alting-ink); line-height: 1.15; }
h1 { font-family: var(--font-display); font-size: 48px; font-weight: 400; letter-spacing: -0.01em; }
h2 { font-family: var(--font-body); font-size: 28px; font-weight: 600; }
h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--alting-sage); text-decoration: none; transition: color var(--hover-speed); }
a:hover { color: var(--alting-sage-dark); }
strong { font-weight: 600; }

::selection { background-color: var(--alting-sage-light); color: var(--alting-ink); }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background-color: var(--alting-cream);
}

.header__wordmark {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--alting-ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.header__logo {
  font-family: Georgia, serif;
  font-size: 28px;
  color: var(--alting-sage);
}

.header__cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--alting-sage);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--hover-speed);
}
.header__cta:hover { background: var(--alting-sage-dark); color: #fff; }

/* --- Layout --- */
.section { padding: var(--section-pad) 40px; }
.section--cream { background-color: var(--alting-cream); }
.section--white { background-color: var(--alting-white); }
.section--sage-light { background-color: var(--alting-sage-light); }

.container { max-width: var(--site-width); margin: 0 auto; }
.container--narrow { max-width: var(--content-width); margin: 0 auto; }

.section__label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--alting-text-secondary);
  margin-bottom: 16px;
}

.section__heading { margin-bottom: 28px; }

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 180px;
  padding-bottom: 140px;
  background:
    radial-gradient(ellipse 900px 600px at 80% 75%, rgba(229, 144, 90, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 10% 15%, rgba(184, 176, 204, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 50% 100%, rgba(212, 154, 80, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 400px 300px at 90% 20%, rgba(212, 144, 138, 0.07) 0%, transparent 50%),
    linear-gradient(175deg, #EDE5E2 0%, #F5EDE3 30%, #F5E6DA 65%, #F0DDD0 100%);
}

.hero::before {
  content: '&';
  position: absolute;
  right: 4%;
  bottom: -8%;
  font-family: Georgia, serif;
  font-size: 420px;
  color: rgba(229, 144, 90, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero h1 { font-size: 48px; margin-bottom: 28px; position: relative; }
.hero__sub {
  font-size: 20px;
  color: var(--alting-text);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 36px;
  position: relative;
}

.hero .capture__form { margin-bottom: 16px; }
.hero .capture__input { background: var(--alting-white); }
.hero .capture__privacy { text-align: left; margin: 0; }

/* --- Cards --- */
.card {
  background-color: var(--alting-cream);
  border: 1px solid var(--alting-border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
}
.card--white { background-color: var(--alting-white); }
.card--sage { background-color: var(--alting-sage-light); border-color: transparent; }

/* --- Pillar Stack --- */
.pillar-stack {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.pillar {
  padding: 24px 0 24px 28px;
  border-left: 3px solid var(--alting-sage);
}

.pillar + .pillar {
  border-top: 1px solid var(--alting-border);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--alting-ink);
  margin-bottom: 8px;
  line-height: 1.2;
}

.pillar__text {
  font-size: 16px;
  color: var(--alting-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.card__strip {
  display: block;
  width: calc(100% + var(--card-pad) * 2);
  height: 48px;
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 20px;
  border-radius: calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0 0;
  object-fit: cover;
}

.card__title { font-size: 20px; font-weight: 600; color: var(--alting-ink); margin-bottom: 12px; }
.card__text { color: var(--alting-text); margin-bottom: 0; }

/* --- Stat Cards --- */
.stat-card { text-align: center; padding: var(--card-pad); }
.stat-card__value { font-family: var(--font-display); font-size: 28px; color: var(--alting-sage); margin-bottom: 8px; line-height: 1.3; }
.stat-card__label { font-size: 15px; color: var(--alting-text); }

/* --- Badges --- */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.badge--active { background-color: var(--alting-sage-light); color: var(--alting-sage); }
.badge--prototype { background-color: var(--alting-gold-light); color: var(--alting-gold); }
.badge--forming { background-color: var(--alting-cream); color: var(--alting-text-secondary); }

/* --- Grid --- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* --- Component Stack --- */
.component-stack { display: flex; flex-direction: column; gap: 20px; }

.component-card { position: relative; }

.component-card .card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--alting-sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--alting-sage);
}

.component-principle {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--alting-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--alting-sage);
  margin-bottom: 0;
}

/* --- Bottom-Up Sequence --- */
.sequence { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.sequence__step { display: flex; align-items: flex-start; gap: 20px; padding: 16px 0; position: relative; }

.sequence__marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--alting-sage);
  margin-top: 6px;
  flex-shrink: 0;
  position: relative;
}

.sequence__step:not(:last-child) .sequence__marker::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: var(--alting-border);
}

.sequence__content { display: flex; flex-direction: column; gap: 4px; }
.sequence__content strong { font-size: 20px; color: var(--alting-ink); }
.sequence__content span { color: var(--alting-text); font-size: 15px; }
.sequence__note { font-size: 15px; font-style: italic; color: var(--alting-text-secondary); }

/* --- What Alting Measures --- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col h3 { margin-bottom: 16px; }
.compare__col ul { list-style: none; padding: 0; }
.compare__col li { padding: 8px 0; border-bottom: 1px solid var(--alting-border); font-size: 15px; }
.compare__col li:last-child { border-bottom: none; }

/* --- Pull Quote --- */
.pull-quote { padding: var(--section-pad) 40px; text-align: center; }
.pull-quote blockquote {
  max-width: var(--content-width);
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--alting-ink);
  line-height: 1.4;
}
.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--alting-text-secondary);
}

/* --- Lead Capture --- */
.capture { text-align: center; }
.capture__headline {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--alting-ink);
  margin-bottom: 16px;
}
.capture__sub { color: var(--alting-text-secondary); margin-bottom: 40px; font-size: 17px; }

.capture__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 20px;
}
.capture__input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--alting-cream);
  border: 1px solid var(--alting-border);
  border-radius: 8px;
  color: var(--alting-ink);
  outline: none;
  transition: border-color 0.2s;
}
.capture__input::placeholder { color: var(--alting-text-secondary); }
.capture__input:focus { border-color: var(--alting-sage); }

.capture__button {
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  background: var(--alting-sage);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.capture__button:hover { background: var(--alting-sage-dark); }

.capture__privacy { font-size: 14px; color: var(--alting-text-secondary); max-width: 480px; margin: 0 auto; }

/* --- Footer --- */
.footer {
  background-color: var(--alting-ink);
  color: #B0AE9A;
  padding: 64px 40px 40px;
}

.footer__grid {
  max-width: var(--site-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 48px;
}

.footer h3 {
  color: var(--alting-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer p { font-size: 15px; line-height: 1.6; }

.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: #B0AE9A; font-size: 15px; text-decoration: none; transition: color var(--hover-speed); }
.footer__links a:hover { color: var(--alting-white); }

.footer__social { list-style: none; padding: 0; }
.footer__social li { margin-bottom: 10px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B0AE9A;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--hover-speed);
}
.footer__social a:hover { color: var(--alting-white); }
.footer__social svg { flex-shrink: 0; }

.footer__bottom {
  max-width: var(--site-width);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #3A4E30;
  font-size: 14px;
  color: #7A8A6E;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }

  .header { padding: 0 24px; }

  .section { padding: var(--section-pad-mobile) 24px; }

  .hero { padding-top: 120px; padding-bottom: var(--section-pad-mobile); }
  .hero h1 { font-size: 32px; }
  .hero__sub { font-size: 18px; }
  .hero::before { font-size: 220px; right: -5%; bottom: -5%; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }

  .capture__form { flex-direction: column; }
  .capture__button { padding: 16px; }
  .capture__headline { font-size: 28px; }

  .pull-quote { padding: var(--section-pad-mobile) 24px; }
  .pull-quote blockquote { font-size: 22px; }

  .footer { padding: 48px 24px 32px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
