/* Aerethis studio landing
   Editorial, product-led, and deliberately quieter than a startup template. */

.aerethis-home main {
  overflow: clip;
}

.ah-shell {
  width: min(100%, calc(var(--max) + 48px));
  margin-inline: auto;
  padding-inline: 24px;
}

.ah-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--air);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ah-kicker::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: '';
}

.ah-hero {
  position: relative;
  min-height: min(860px, 100svh);
  padding: calc(var(--header) + clamp(72px, 9vh, 104px)) 0 clamp(76px, 9vw, 108px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(58% 94% at 92% 8%, rgba(var(--air-rgb), .15), transparent 68%),
    radial-gradient(38% 58% at 0% 96%, rgba(var(--air-rgb), .07), transparent 72%),
    var(--bg-0);
}

.ah-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(460px, .82fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
}

.ah-hero-copy h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(50px, 6.2vw, 82px);
  font-weight: 630;
  letter-spacing: -.065em;
  line-height: .98;
}

.ah-hero-copy h1 em {
  color: var(--paper);
  font-style: normal;
}

.ah-lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--text-2);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.66;
}

.ah-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ah-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  color: var(--text-3);
  font-size: 12px;
}

.ah-proof span {
  position: relative;
}

.ah-proof span:not(:last-child)::after {
  position: absolute;
  top: .65em;
  right: -14px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-4);
  content: '';
}

.ah-system {
  position: relative;
  border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--bg-1) 74%, transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.ah-system::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text-1) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text-1) 3.5%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, var(--bg-0), transparent 72%);
  pointer-events: none;
  content: '';
}

.ah-system-head,
.ah-system-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ah-system-head {
  border-bottom: 1px solid var(--border);
}

.ah-system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary-bright);
}

.ah-system-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-bright);
  box-shadow: 0 0 10px rgba(var(--air-rgb), .5);
  content: '';
}

.ah-system-core {
  position: relative;
  margin: 28px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(var(--air-rgb), .09), transparent 65%),
    var(--bg-1);
}

.ah-system-core small,
.ah-service small {
  display: block;
  margin-bottom: 7px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ah-system-core strong {
  display: block;
  font-size: 28px;
  letter-spacing: -.04em;
}

.ah-system-core p {
  max-width: 390px;
  margin: 10px 0 22px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.ah-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ah-capabilities span {
  padding: 10px 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px;
}

.ah-system-services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 28px 28px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ah-service {
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ah-service strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.ah-service span {
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
}

.ah-system-foot {
  border-top: 1px solid var(--border);
  text-transform: none;
  letter-spacing: 0;
}

.ah-statement {
  padding: clamp(88px, 11vw, 142px) 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}

.ah-statement p {
  max-width: 970px;
  margin: 0;
  font-size: clamp(34px, 4.9vw, 64px);
  font-weight: 590;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.ah-statement p span {
  color: var(--text-3);
}

.ah-products,
.ah-principles,
.ah-community,
.ah-final {
  padding: clamp(84px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--border);
}

.ah-heading {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  margin-bottom: clamp(48px, 7vw, 82px);
}

.ah-heading h2,
.ah-community-copy h2,
.ah-final h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 610;
  letter-spacing: -.052em;
  line-height: 1.04;
}

.ah-heading-copy > p,
.ah-community-copy > p,
.ah-final > .ah-shell > p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.72;
}

.ah-product-list {
  border-top: 1px solid var(--border-strong);
}

.ah-product {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 170px;
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding: 34px 0;
  border-bottom: 1px solid var(--border-strong);
  color: inherit;
}

.ah-product:hover {
  color: inherit;
}

.ah-product::after {
  justify-self: end;
  color: var(--text-3);
  font-size: 13px;
  content: '\2192';
  transition: color var(--t-fast), transform var(--t-fast);
}

.ah-product:hover::after {
  color: var(--text-1);
  transform: translateX(3px);
}

.ah-product-name small {
  display: block;
  margin-bottom: 8px;
  color: var(--text-4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ah-product-name strong {
  color: var(--text-1);
  font-size: 23px;
  letter-spacing: -.025em;
}

.ah-product-copy strong {
  display: block;
  margin-bottom: 9px;
  color: var(--text-1);
  font-size: 17px;
}

.ah-product-copy span {
  display: block;
  max-width: 680px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.68;
}

.ah-principles {
  background: var(--bg-1);
}

.ah-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.ah-principle-grid--features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-principle {
  min-height: 270px;
  padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.ah-principle-number {
  display: block;
  margin-bottom: 54px;
  color: var(--air);
  font: 600 11px var(--font-mono);
}

.ah-principle h3 {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -.025em;
}

.ah-principle p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.68;
}

.ah-principle .ah-principle-proof {
  margin-top: 16px;
  color: var(--text-3);
}

.ah-community-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(430px, 1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.ah-community-actions,
.ah-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ah-community-index {
  border-top: 1px solid var(--border-strong);
}

.ah-community-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-strong);
}

.ah-community-row span {
  color: var(--secondary-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ah-community-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.ah-community-row p {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.6;
}

.ah-final {
  border-bottom: 0;
  background:
    radial-gradient(48% 120% at 92% 0%, rgba(var(--air-rgb), .12), transparent 70%),
    var(--bg-0);
}

.ah-final h2 {
  max-width: 900px;
}

.ah-support {
  padding: 54px 0;
  border-top: 1px solid var(--border-strong);
  background:
    linear-gradient(90deg, rgba(var(--air-rgb), .045), transparent 42%),
    var(--bg-1);
}

.ah-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.ah-support-copy {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.ah-support-label {
  margin: 7px 0 0;
  color: var(--air);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ah-support h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.038em;
}

.ah-support-copy p:last-child {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.65;
}

.ah-support-action {
  min-width: 164px;
  justify-content: center;
  border-radius: 7px;
}

@media (max-width: 960px) {
  .ah-hero {
    min-height: 0;
  }

  .ah-hero-grid,
  .ah-community-layout {
    grid-template-columns: 1fr;
  }

  .ah-hero-grid {
    gap: 58px;
  }

  .ah-system {
    max-width: 680px;
  }

  .ah-product {
    grid-template-columns: 170px minmax(0, 1fr) 90px;
    gap: 28px;
  }

  .ah-support-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ah-support-action {
    width: fit-content;
  }
}

@media (max-width: 700px) {
  .ah-hero {
    padding-top: calc(var(--header) + 56px);
    padding-bottom: 72px;
  }

  .ah-hero-copy h1 {
    font-size: clamp(44px, 12vw, 54px);
  }

  .ah-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .ah-actions .btn,
  .ah-final-actions .btn,
  .ah-support-action {
    width: 100%;
  }

  .ah-proof {
    display: grid;
    gap: 8px;
  }

  .ah-proof span::after {
    display: none;
  }

  .ah-system-core,
  .ah-system-services {
    margin: 18px;
  }

  .ah-system-core {
    padding: 22px;
  }

  .ah-system-services,
  .ah-capabilities,
  .ah-principle-grid {
    grid-template-columns: 1fr;
  }

  .ah-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ah-heading h2,
  .ah-community-copy h2,
  .ah-final h2 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .ah-product {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .ah-product::after {
    justify-self: start;
  }

  .ah-principle {
    min-height: 0;
  }

  .ah-principle-number {
    margin-bottom: 30px;
  }

  .ah-community-layout {
    grid-template-columns: 1fr;
  }

  .ah-community-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ah-support {
    padding: 48px 0 54px;
  }

  .ah-support-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ah-support-label {
    margin-top: 0;
  }
}

/* Landing depth: shared Gold Light, Aether Sky reference 296620fec39d3654. */
.landing-hero { isolation: isolate; position: relative; overflow: hidden; background: linear-gradient(155deg, var(--bg-0), var(--bg-1) 58%, var(--bg-2)); }
.ah-hero.landing-hero { min-height: min(850px, 100svh); padding: calc(var(--header) + 76px) 0 88px; }
.landing-hero .ah-hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.landing-hero h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -.055em; }
.landing-hero h1 .enh-word { color: inherit; }
.landing-hero .ah-lead { font-size: 18px; line-height: 1.65; }
.landing-device { position: relative; margin: 0; min-width: 0; border: 1px solid rgba(var(--air-rgb), .24); border-radius: var(--r-lg); background: var(--bg-1); box-shadow: var(--shadow-elevated); transform-style: preserve-3d; }
.landing-device::before { content: ''; position: absolute; z-index: -1; inset: 22px -15px -18px 18px; border: 1px solid var(--border); border-radius: inherit; background: var(--bg-2); transform: rotate(2deg); }
.landing-device-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--text-2); font: 11px var(--font-mono); border-bottom: 1px solid var(--border); }
.landing-device-dots { display: flex; gap: 5px; }
.landing-device-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); opacity: .55; }
.landing-device > a { display: block; position: relative; z-index: 1; background: var(--bg-0); }
.landing-device img { width: 100%; height: auto; }
.landing-device figcaption { display: grid; gap: 5px; padding: 17px 20px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 12px; line-height: 1.6; }
.landing-device figcaption strong { color: var(--text-1); font-weight: 500; }
.landing-device-note { display: flex; align-items: center; gap: 10px; padding: 0 20px 18px; color: var(--text-2); font-size: 12px; }
.landing-note-line { width: 22px; height: 1px; flex-shrink: 0; background: var(--air); }
.landing-demo { padding-top: 84px; padding-bottom: 96px; }
.landing-demo-heading { max-width: 720px; margin-bottom: 36px; }
.landing-demo-heading h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.12; letter-spacing: -.045em; margin: 14px 0 18px; }
.landing-demo-heading > p:last-child { color: var(--text-2); font-size: 17px; line-height: 1.65; }
.landing-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.landing-demo-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(145deg, var(--bg-2), var(--bg-1)); box-shadow: var(--shadow-card); }
.landing-demo-copy { position: relative; z-index: 1; padding: 28px 30px; }
.landing-step { display: block; color: var(--air); font: 12px var(--font-mono); margin-bottom: 24px; }
.landing-demo-card h3 { margin: 0 0 14px; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.landing-demo-copy > p { color: var(--text-2); line-height: 1.65; margin: 0; }
.landing-demo-card > img { position: relative; z-index: 1; width: calc(100% - 48px); height: auto; margin: 0 24px; border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.landing-proof { position: relative; z-index: 1; color: var(--text-2); font: 12px/1.65 var(--font-mono); padding: 20px 30px 24px; margin: 0; }
.landing-demo-wide { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; padding: 30px 0; }
.landing-demo-wide .landing-proof { padding: 24px 0 0; }
.landing-demo-wide > img { width: calc(100% - 30px); margin: 0 30px 0 0; }
.aerethis-home .anim-up.a-play { animation-duration: 280ms; animation-name: landing-rise; }
.aerethis-home .d1 { --d: 50ms; animation-delay: 50ms; }
.aerethis-home .d2 { --d: 100ms; animation-delay: 100ms; }
.aerethis-home .d3 { --d: 150ms; animation-delay: 150ms; }
@keyframes landing-rise { from { transform: translateY(16px); } to { transform: none; } }
html[data-tier="full"] .landing-hero [data-effect~="magnet"]:hover { transform: none; }
html[data-tier="lite"] .aerethis-home .anim { animation: none !important; transform: none !important; }
@media (max-width: 1024px) {
  .landing-hero .ah-hero-grid { gap: 32px; }
  .landing-device-bar { font-size: 10px; padding: 12px; }
}
@media (max-width: 760px) {
  .ah-hero.landing-hero { min-height: 0; padding: calc(var(--header) + 48px) 0 58px; }
  .landing-hero .ah-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .landing-hero h1 { font-size: clamp(42px, 9vw, 60px); }
  .landing-hero .ah-lead { font-size: 17px; }
  .landing-device { margin-right: 12px; }
  .landing-device::before { inset: 15px -10px -12px 12px; }
  .landing-demo { padding-top: 58px; padding-bottom: 64px; }
  .landing-demo-grid { grid-template-columns: 1fr; gap: 20px; }
  .landing-demo-wide { grid-column: auto; display: block; padding: 0 0 24px; }
  .landing-demo-copy { padding: 24px; }
  .landing-demo-card > img, .landing-demo-wide > img { width: calc(100% - 32px); margin: 0 16px; }
  .landing-proof { padding: 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .aerethis-home .anim { animation: none !important; transform: none !important; }
}
