:root {
  --bg: #f5f5f7;
  --bg-soft: #fbfbfd;
  --surface: #ffffff;
  --surface-dark: #0f1012;
  --surface-dark-soft: #1a1b1f;
  --text: #1d1d1f;
  --text-soft: #5d6168;
  --text-dark: #f5f5f7;
  --line: rgba(29, 29, 31, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --primary: #0066cc;
  --primary-hover: #0071e3;
  --radius-card: 34px;
  --radius-frame: 42px;
  --shadow-soft: 0 24px 60px rgba(12, 18, 30, 0.08);
  --shadow-device: 0 34px 72px rgba(10, 14, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "SF Pro SC", "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  padding-top: 48px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.localnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  box-shadow: 0 8px 26px rgba(13, 18, 28, 0.06);
}

.localnav-inner {
  max-width: 1120px;
  min-height: 48px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.brand-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.brand-text {
  font-size: 14px;
  color: #202329;
}

.localnav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.localnav-links a {
  font-size: 12px;
  color: #5f6570;
  transition: color 0.2s ease;
}

.localnav-links a:hover {
  color: var(--text);
}

.localnav-toggle {
  display: none;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.localnav-toggle-icon {
  position: relative;
  width: 10px;
  height: 10px;
  display: block;
  margin: 0 auto;
}

.localnav-toggle-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 2px solid #1d1d1f;
  border-bottom: 2px solid #1d1d1f;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s ease;
}

.localnav.is-open .localnav-toggle-icon::before {
  transform: rotate(-135deg) translate(1px, 1px);
}

.app-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.section {
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 10px 15px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  /* text-transform: uppercase; */
  color: #6c7280;
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.66);
}

.hero {
  padding-top: 54px;
  display: grid;
  gap: 42px;
}

.hero-copy {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.hero-icon-top {
  margin: 0 auto 22px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-lockup-icon {
  width: 74px;
  height: 74px;
  border-radius: 16px;
}

.store-badge {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge img {
  width: 156px;
  height: auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8.4vw, 104px);
  line-height: 1.20;
  letter-spacing: -0.07em;
  font-weight: 700;
}

.hero-desc {
  max-width: 840px;
  margin: 24px auto 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: #606773;
}

.hero-actions,
.utility-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions-brand {
  align-items: center;
  gap: 0;
}

.pre-release{
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7a7f89;
}
.hero-meta {
  margin: 18px 0 0;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #7a7f89;
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: rgba(29, 29, 31, 0.06);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(29, 29, 31, 0.1);
}

.hero-stage {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 12px 0 56px;
  overflow: hidden;
}

.hero-shot {
  margin: 0;
  width: min(28vw, 330px);
}

.hero-shot img {
  width: 100%;
  border-radius: 28px;
}

.device-shell {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.device-shell-hero {
  width: min(100%, 250px);
  margin: 0 auto;
}

.device-shell-hero-center {
  width: min(100%, 292px);
}

.hero-shot-left,
.hero-shot-right {
  position: relative;
  top: 12px;
  opacity: 0.92;
}

.hero-shot-left {
  transform: rotate(-8deg) translateX(32px);
}

.hero-shot-center {
  width: min(33vw, 390px);
  position: relative;
  z-index: 2;
}

.hero-shot-right {
  transform: rotate(8deg) translateX(-32px);
}

.marquee {
  margin-top: 8px;
  padding: 0 12px 4px;
  position: relative;
  z-index: 3;
}

.marquee p {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.34;
  letter-spacing: -0.04em;
  color: #252932;
}

.story {
  padding: 42px 0 0;
}

.story-copy h2,
.philosophy h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.story-copy p:last-child,
.philosophy p:last-child,
.section-head p:last-child {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.68;
  color: var(--text-soft);
}

.story-copy-centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.feature-banner {
  margin-top: 12px;
}

.feature-banner-image {
  background: var(--surface);
  border-radius: var(--radius-frame);
  padding: 40px 28px 28px;
  box-shadow: var(--shadow-soft);
}

.feature-banner-copy {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.feature-banner-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.feature-banner-copy p:last-child {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.68;
  color: var(--text-soft);
}

.story-dark {
  margin-top: 84px;
  background: var(--surface-dark);
  color: var(--text-dark);
  border-radius: 28px;
  padding: 56px 46px;
}

.story-grid,
.story-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.story-visual-dual {
  display: block;
}

.device-card,
.gallery-surface,
.surface-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature-banner-image img,
.surface-frame img,
.gallery-surface img,
.device-card img {
  border-radius: 28px;
}

.device-card {
  box-shadow: var(--shadow-device);
}

.device-card-light {
  background: #ebedf5;
}

.device-card-dark {
  background: #141519;
}

.identity-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
}

.identity-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 244px));
  align-items: end;
  justify-content: center;
  justify-items: center;
  gap: 28px;
}

.identity-screen {
  width: 100%;
  max-width: 244px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.identity-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.story-copy .feature-list {
  margin: 24px 0 0;
}

.feature-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.feature-list-compact li {
  color: var(--text-soft);
}

.story-split {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-top: 84px;
}

.surface-frame {
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-soft);
}

.surface-frame-warm {
  background: #fff6f3;
}

.story-gallery {
  margin-top: 72px;
}

.gallery-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  background: transparent;
}

.gallery-card-large {
  grid-column: 1 / -1;
}

.gallery-surface {
  padding: 28px 26px 28px;
  min-height: 420px;
}

.gallery-surface-light {
  background: #edf5ff;
}

.gallery-surface-dark {
  background: #111216;
}

.gallery-copy {
  padding: 14px 6px 0;
}

.gallery-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.gallery-copy p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-soft);
}

.device-shell-feature {
  width: min(100%, 540px);
  margin: 0 auto;
}

.device-shell-frame {
  width: min(100%, 440px);
  margin: 0 auto;
}

.device-shell-gallery-large {
  width: min(100%, 430px);
  margin: 0 auto;
}

.device-shell-gallery-small {
  width: min(100%, 350px);
  margin: 0 auto;
}

.philosophy {
  margin-top: 92px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.utility-strip {
  margin-top: 76px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-radius: 28px;
  background: var(--bg-soft);
  border: 1px solid rgba(29, 29, 31, 0.06);
}

.utility-strip h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.utility-strip p:last-child {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}

.faq {
  margin-top: 88px;
}

.section-head {
  max-width: 780px;
}

.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid rgba(29, 29, 31, 0.06);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text);
}

.faq-q span {
  flex: 0 0 auto;
  font-size: 24px;
  color: #7c8088;
}

.faq-a {
  display: none;
  padding: 0 24px 22px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.log-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 24px 96px;
}

.log-hero {
  /* max-width: 920px; */
}

.log-hero h1 {
  margin: 0 0 0 15px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  /* letter-spacing: -0.06em; */
}
.log-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0 15px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-soft);
}

.log-hero-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.log-stat-card {
  padding: 24px 24px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.log-stat-label {
  display: inline-block;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b8089;
}

.log-stat-card strong {
  display: block;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.log-stat-card p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.log-layout {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.log-side {
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.log-side h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.log-side-copy {
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.log-side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.log-side a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.45;
  color: #3f4651;
  background: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.log-side a:hover {
  color: var(--text);
  transform: translateX(2px);
  border-color: rgba(0, 102, 204, 0.2);
  background: rgba(0, 102, 204, 0.04);
}

.log-content {
  display: grid;
  gap: 18px;
}

.log-table-wrap,
.release-card {
  padding: 28px 28px 30px;
  background: var(--surface);
  border: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.log-table-wrap h2,
.release-card h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.log-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
}

.log-table th,
.log-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  text-align: left;
  vertical-align: top;
}

.log-table th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8089;
}

.log-table td {
  font-size: 16px;
  line-height: 1.6;
  color: #303640;
}

.log-table tbody tr:last-child td {
  border-bottom: 0;
}

.log-table a {
  color: var(--primary);
}

.release-card {
  overflow: hidden;
}

.release-meta {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7b8089;
}

.release-summary {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
}

.release-groups {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.release-group {
  padding: 20px 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fafbff, #f4f6fb);
  border: 1px solid rgba(29, 29, 31, 0.05);
}

.release-group h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.release-group ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.release-group li {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.app-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 54px;
  color: #6a707b;
}

.footer-left p,
.apple-legal p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0;
}

.footer-links a {
  font-size: 12px;
}

.apple-legal {
  display: grid;
  gap: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-stage {
    min-height: 540px;
  }

  .log-hero-stats,
  .release-groups,
  .story-grid,
  .story-split,
  .gallery-grid,
  .utility-strip {
    grid-template-columns: 1fr;
  }

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

  .utility-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 735px) {
  .localnav-inner {
    padding: 0 14px;
  }

  .localnav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .localnav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 18px 14px;
    background: rgba(245, 245, 247, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .localnav.is-open .localnav-links {
    display: flex;
  }

  .localnav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
  }

  .app-home {
    padding: 0 16px 72px;
  }

  .log-main {
    padding: 32px 16px 72px;
  }

  .log-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .log-table-wrap,
  .release-card,
  .log-side {
    padding: 22px 20px 24px;
    border-radius: 28px;
  }

  .log-table {
    display: block;
    overflow-x: auto;
  }

  .log-side-links {
    gap: 10px;
  }

  .hero {
    padding-top: 28px;
    gap: 28px;
  }

  .hero-desc {
    font-size: 18px;
  }

  .hero-stage {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 26px;
    gap: 10px;
  }

  .hero-shot {
    width: 28%;
  }

  .hero-shot-left,
  .hero-shot-right {
    top: 6px;
  }

  .hero-shot-left {
    transform: rotate(-6deg) translateX(10px);
  }

  .hero-shot-right {
    transform: rotate(6deg) translateX(-10px);
  }

  .hero-shot-center {
    width: 32%;
  }

  .hero-lockup {
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-icon-top {
    margin-bottom: 18px;
  }

  .hero-lockup-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .store-badge img {
    width: 138px;
  }

  .story-dark {
    padding: 34px 22px;
    border-radius: 28px;
  }

  .feature-banner-image,
  .gallery-surface,
  .surface-frame {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-banner-image {
    padding-top: 28px;
  }

  .feature-banner-copy {
    margin-bottom: 24px;
  }

  .gallery-surface {
    min-height: auto;
  }

  .device-shell-hero {
    width: min(100%, 164px);
  }

  .device-shell-hero-center {
    width: min(100%, 188px);
  }

  .device-shell-feature,
  .device-shell-frame,
  .device-shell-gallery-large {
    width: min(100%, 300px);
  }

  .device-shell-gallery-small {
    width: min(100%, 240px);
  }

  .identity-stage {
    margin: 0;
    padding: 8px 0 0;
  }

  .identity-stage-grid {
    grid-template-columns: repeat(2, minmax(132px, 160px));
    gap: 14px;
  }

  .identity-screen {
    max-width: none;
  }

  .identity-image {
    width: 100%;
  }

  .faq-q {
    font-size: 17px;
    padding: 18px 18px;
  }

  .faq-a {
    padding: 0 18px 18px;
  }

  .app-footer {
    padding: 0 16px 40px;
  }
}
