:root {
  --sky-blue: #20a8ff;
  --white-sand: #f7f4eb;
  --golden-orange: #f39a3d;
  --seafoam-green: #76d8b8;
  --bg: #f7f4eb;
  --bg-strong: #eef8ff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --ink: #171d2a;
  --muted: #506072;
  --line: rgba(23, 29, 42, 0.1);
  --accent: #f39a3d;
  --accent-dark: #1386da;
  --nav-ink: #3c4655;
  --nav-shell: rgba(255, 255, 255, 0.74);
  --shadow: 0 24px 60px rgba(31, 55, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(32, 168, 255, 0.24), transparent 30%),
    radial-gradient(circle at 15% 18%, rgba(243, 154, 61, 0.18), transparent 26%),
    radial-gradient(circle at 82% 32%, rgba(118, 216, 184, 0.22), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-strong) 24%, var(--bg) 72%, #fffdf8 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.page-shell-essay {
  width: min(980px, calc(100% - 32px));
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  padding: 16px 24px;
  border-radius: 24px;
  background: var(--nav-shell);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 40px rgba(18, 31, 47, 0.08);
  backdrop-filter: blur(16px);
}

.top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.top-nav a {
  text-decoration: none;
  color: var(--nav-ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-bottom-color: rgba(23, 29, 42, 0.24);
}

.apple-home {
  display: grid;
  gap: 72px;
  padding: 28px 0 10px;
}

.eyebrow,
.essay-deck {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
}

.apple-hero,
.statement-band,
.product-band,
.story-band,
.about-band,
.closing-band,
.essay-article,
.site-footer {
  position: relative;
}

.apple-hero {
  padding: 24px 0 22px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-logo {
  width: clamp(220px, 34vw, 320px);
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.apple-hero::before,
.product-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(32, 168, 255, 0.16), transparent 34%),
    radial-gradient(circle at left center, rgba(243, 154, 61, 0.1), transparent 28%),
    radial-gradient(circle at 72% 28%, rgba(118, 216, 184, 0.12), transparent 22%);
  z-index: -1;
}

.apple-hero h1,
.statement-copy h2,
.product-intro h2,
.story-band-copy h2,
.about-copy h2,
.closing-band h2,
.essay-article h1 {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.apple-hero h1 {
  max-width: 9ch;
  font-size: clamp(3.8rem, 9vw, 6.6rem);
}

.hero-subhead {
  margin: 18px 0 0;
  max-width: 18ch;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #273346;
}

.hero-body,
.statement-copy p,
.product-intro p,
.story-band-copy p,
.about-copy p,
.closing-band p,
.about-listing li,
.statement-side li,
.product-meta li,
.site-footer p {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--muted);
  line-height: 1.7;
}

.hero-body {
  margin: 18px 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
}

.hero-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  justify-content: center;
}

.product-actions {
  display: grid;
  gap: 12px;
}

.product-band-heading {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.product-band-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.product-jump {
  display: grid;
  gap: 8px;
  width: min(100%, 20rem);
  margin-top: 10px;
}

.product-jump span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nav-ink);
}

.product-jump select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(23, 29, 42, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  box-shadow: 0 10px 24px rgba(31, 55, 84, 0.08);
}

.product-carousel {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 28rem;
  max-width: 42rem;
  align-items: start;
}

.product-slide {
  display: grid;
  grid-area: 1 / 1;
  gap: 32px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.product-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-intro,
.product-meta {
  width: 100%;
}

.product-meta {
  max-width: 32rem;
  justify-items: center;
}

.product-meta ul {
  width: min(100%, 30rem);
  margin: 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.product-meta li {
  max-width: 30rem;
}

.product-intro .eyebrow,
.product-intro h2,
.product-intro p,
.product-actions {
  text-align: center;
}

.product-actions {
  display: grid;
  gap: 18px;
  justify-items: center;
  margin-top: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 29, 42, 0.18);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent-dark);
  transform: scale(1.08);
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

.cta-primary {
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--golden-orange), #ffb35b);
  color: #fffdfa;
  box-shadow: 0 16px 28px rgba(243, 154, 61, 0.24);
}

.cta-secondary {
  min-height: 32px;
  padding: 0 8px 4px;
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 29, 42, 0.24);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 10px 0 0;
}

.proof-item {
  padding-right: 18px;
  border-right: 1px solid rgba(23, 29, 42, 0.1);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span,
.story-link {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.proof-item p {
  margin: 8px 0 0;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--muted);
  line-height: 1.6;
}

.statement-band,
.product-band,
.story-band,
.about-band {
  display: grid;
  gap: 32px;
}

.statement-copy h2,
.product-intro h2,
.story-band-copy h2,
.about-copy h2,
.closing-band h2 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.statement-band,
.about-band,
.product-band,
.story-band,
.closing-band {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.product-intro {
  justify-self: center;
  max-width: 32rem;
}

.product-meta {
  justify-self: center;
  justify-items: center;
}

.product-actions {
  justify-items: center;
}

.statement-copy,
.about-copy,
.product-intro,
.story-band-copy,
.closing-band {
  max-width: 48rem;
}

.statement-copy p,
.about-copy p,
.closing-band p {
  max-width: 42rem;
  font-size: 1.08rem;
}

.statement-side,
.about-listing {
  padding-top: 0;
  max-width: 42rem;
}

.statement-side ul,
.about-listing ul,
.product-meta ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 14px;
  text-align: left;
}

.product-band,
.story-band {
  align-items: end;
  padding: 22px 0 6px;
}

.product-intro p {
  max-width: 40rem;
  font-size: 1.1rem;
}

.product-meta {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.story-band {
  padding-top: 4px;
  border-top: 1px solid rgba(23, 29, 42, 0.1);
}

.story-band-copy p {
  max-width: 36rem;
}

.story-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 29, 42, 0.22);
  align-self: center;
}

.closing-band {
  padding-top: 8px;
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  text-align: center;
}

.closing-band .eyebrow {
  width: 100%;
  text-align: center;
}

.closing-band h2 {
  max-width: 11ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.closing-band p {
  max-width: 42rem;
  font-size: 1.02rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.essay-layout {
  display: grid;
  gap: 20px;
}

.essay-topbar {
  display: flex;
  justify-content: flex-start;
}

.essay-back-link {
  margin-top: 0;
}

.essay-article {
  padding: 44px 40px 52px;
  background:
    radial-gradient(circle at top right, rgba(32, 168, 255, 0.14), transparent 32%),
    radial-gradient(circle at left top, rgba(243, 154, 61, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 235, 0.94));
}

.essay-brand {
  display: grid;
  justify-items: center;
  margin-bottom: 18px;
}

.essay-brand-logo {
  width: clamp(220px, 28vw, 320px);
  height: auto;
  display: block;
}

.essay-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
}

.essay-hero-image {
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(32, 168, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(240, 247, 255, 0.95), rgba(255, 255, 255, 0.88));
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(31, 55, 84, 0.12);
}

.essay-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
}

.essay-hero-copy {
  display: grid;
  gap: 10px;
}

.essay-article h1 {
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  text-align: left;
}

.essay-deck {
  margin: 0;
  text-align: left;
}

.essay-article h2 {
  margin: 46px 0 16px;
  font-size: clamp(1.95rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.essay-article p {
  margin: 0 0 18px;
  font-size: 1.1rem;
}

.essay-article > :not(.essay-hero) {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.essay-article .lead {
  font-size: 1.18rem;
  color: var(--ink);
  text-align: center;
}

.essay-article .break {
  height: 1px;
  margin: 34px 0 10px;
  background: linear-gradient(90deg, transparent, rgba(31, 28, 24, 0.16), transparent);
}

.essay-callout {
  margin: 30px 0 8px;
  padding: 24px 24px 8px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.essay-article h2,
.essay-article p,
.essay-final-line,
.essay-bottom-link {
  text-align: center;
}

.essay-final-line {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 28, 24, 0.12);
  font-size: 1.18rem;
}

.essay-bottom-link {
  margin-top: 26px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-copy,
.hero-card,
.story-card,
.product-card,
.principle,
.site-footer {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
}

.eyebrow,
.section-kicker,
.hero-card-label {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-dark);
}

.hero-copy h1,
.section-heading h2,
.story-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text,
.story-card p,
.product-card p,
.principle p,
.site-footer p {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: var(--muted);
}

.hero-text {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 249, 242, 0.96), rgba(239, 226, 213, 0.86));
}

.signal-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.signal-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-grid,
.about-section,
.product-section,
.principles-section {
  margin-top: 24px;
}

.front-story {
  width: min(900px, 100%);
  margin: 32px auto 0;
}

.front-story-card {
  background: #f7f1e6;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 50px 48px;
}

.front-story-card h1 {
  margin: 0 0 18px;
  color: #000;
  font-size: clamp(2.8rem, 7vw, 4rem);
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.front-story-card h2 {
  margin: 40px 0 18px;
  color: #000;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.front-story-card p {
  margin: 0 0 18px;
  color: #000;
  font-size: 18px;
  line-height: 1.8;
}

.front-story-deck {
  text-align: center;
  margin-bottom: 36px;
}

.front-story-emphasis {
  font-weight: 700;
}

.front-story-close {
  font-size: 20px;
}

.front-story-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}

.story-card,
.about-card,
.product-card,
.principle {
  padding: 28px;
}

.story-card-wide {
  background: var(--panel-strong);
}

.story-card h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 12px;
}

.story-card h3,
.about-card h2,
.product-card h3,
.principle h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.about-card h2 {
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.about-card p {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.8;
  color: var(--muted);
  font-size: 18px;
  max-width: 900px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
}

.product-grid,
.principle-grid {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card a,
.product-card span {
  display: inline-flex;
  margin-top: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
}

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

.site-footer {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.76);
  display: grid;
  justify-items: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.fallback-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 960px) {
  .hero,
  .section-grid,
  .product-grid,
  .principle-grid,
  .proof-band,
  .statement-band,
  .about-band,
  .product-band,
  .story-band {
    grid-template-columns: 1fr;
  }

  .site-header {
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 4px;
    padding: 12px 14px;
  }

  .top-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    justify-content: initial;
    font-size: 13px;
  }

  .essay-hero {
    grid-template-columns: 1fr;
  }

  .page-shell-essay .top-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .statement-side,
  .about-listing {
    padding-top: 0;
  }

  .proof-item {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 29, 42, 0.1);
    padding-bottom: 18px;
  }

  .proof-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .front-story-card {
    padding: 34px 22px;
  }

  .front-story-card p,
  .front-story-close {
    font-size: 17px;
  }

  .apple-hero,
  .statement-band,
  .product-band,
  .story-band,
  .about-band,
  .closing-band,
  .essay-article {
    padding: 28px 22px;
  }

  .apple-home {
    gap: 48px;
    padding-top: 12px;
  }

  .product-carousel {
    min-height: 31rem;
  }

  .hero-logo {
    width: min(198px, 48vw);
    margin-bottom: 2px;
  }

  .essay-brand {
    margin-bottom: 10px;
  }

  .essay-brand-logo {
    width: min(210px, 54vw);
  }

  .apple-hero h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-subhead {
    margin-top: 10px;
    font-size: 1.15rem;
  }

  .hero-body {
    margin-top: 12px;
    font-size: 1rem;
  }
}
