:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --bg-deep: #08090a;
  --surface: #15171a;
  --line: #26292e;
  --text: #f4f4f2;
  --muted: #9a9ca1;
  --faint: #696d74;
  --accent: #c8895a;
  --accent-strong: #e3a56f;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.appstore-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
}

.header-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.header-nav a:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-strong);
  font-weight: 700;
}

.section-grid,
.section-narrow,
.workflow,
.platforms,
.final-cta {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.hero {
  min-height: min(760px, calc(100svh - 150px));
  padding: 36px 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-line {
  margin-bottom: 22px;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.13;
  font-weight: 750;
  letter-spacing: 0;
}

.hero-text,
.problem p,
.privacy p,
.section-note {
  color: var(--muted);
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
}

.appstore-cta {
  min-height: 58px;
  padding: 8px 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #111316;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  transition: border-color 160ms ease, background 160ms ease;
}

.appstore-cta small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.appstore-cta:hover,
.appstore-cta:focus-visible {
  border-color: var(--accent-strong);
  background: #171a1e;
}

.meta-line {
  color: var(--faint);
  font-size: 13px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
}

.recording-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(0 0 0 / 58%);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.recording-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4f44;
  animation: pulse 2s ease-in-out infinite;
}

.section-narrow {
  max-width: 940px;
  padding: 34px 0 110px;
}

.contrast-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contrast-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 14px;
}

.contrast-list strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.workflow,
.platforms,
.use-cases {
  padding: 90px 0 120px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.workflow-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.workflow-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.workflow-grid p,
.platform-layout p {
  color: var(--muted);
}

.wide-shot {
  margin: 0;
}

.wide-shot picture,
.platform-layout picture {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.wide-shot figcaption {
  max-width: 780px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 13px;
}

.privacy {
  width: 100%;
  max-width: none;
  padding: 124px max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.privacy-points {
  display: grid;
  gap: 20px;
  align-self: stretch;
  padding-top: 4px;
}

.privacy-points p {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--accent);
  color: var(--text);
  font-size: 19px;
  font-weight: 750;
}

.privacy-points small {
  color: var(--faint);
}

.support {
  padding: 118px 0 78px;
  border-top: 1px solid var(--line);
}

.support p {
  color: var(--muted);
  font-size: 18px;
}

.support-links {
  display: grid;
  gap: 14px;
  align-self: center;
}

.support-links a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
}

.support-links a:hover,
.support-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.platform-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.platform-layout article h3 {
  margin-top: 22px;
}

.platform-layout article:not(.platform-mac) picture {
  max-height: 520px;
}

.platform-layout article:not(.platform-mac) img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
}

.section-note {
  max-width: 760px;
  margin-top: 28px;
  color: var(--faint);
  font-size: 13px;
}

.use-cases {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.use-case-card-grid,
.intent-grid,
.detail-grid,
.related-grid {
  display: grid;
  gap: 22px;
}

.use-case-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.use-case-card-grid a,
.intent-grid article,
.detail-grid article,
.related-grid a {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101214;
}

.use-case-card-grid a:hover,
.use-case-card-grid a:focus-visible,
.related-grid a:hover,
.related-grid a:focus-visible {
  border-color: var(--accent);
}

.use-case-card-grid span,
.related-grid span {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-case-card-grid strong,
.related-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.use-case-card-grid small,
.related-grid small {
  color: var(--muted);
  font-size: 14px;
}

.use-case-main .site-header {
  margin-bottom: 0;
}

.use-case-hero {
  min-height: auto;
  padding: 76px 0 92px;
}

.use-case-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1.02;
}

.use-case-hero .hero-text {
  max-width: 700px;
}

.use-case-hero .hero-media {
  align-self: stretch;
}

.use-case-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.use-case-section h2 {
  max-width: 880px;
}

.use-case-section > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.intent-grid,
.detail-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.intent-grid article,
.detail-grid article {
  border-top-color: var(--accent);
}

.intent-grid span,
.detail-grid span {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.intent-grid p,
.detail-grid p {
  color: var(--muted);
}

.consent-note {
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.related-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 42px;
}

.final-cta {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 96px 0;
  text-align: center;
}

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

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

footer a:hover {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 240ms ease, transform 240ms ease;
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .section-grid,
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .workflow-grid,
  .contrast-list,
  .use-case-card-grid,
  .intent-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section-grid,
  .section-narrow,
    .workflow,
    .platforms,
    .use-cases,
    .use-case-section,
    .final-cta,
    .site-header,
    footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-line {
    margin-bottom: 16px;
    font-size: 29px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-media {
    max-height: 190px;
  }

  .hero-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: top;
  }

  .hero-text,
  .problem p,
  .privacy p {
    font-size: 16px;
  }

  .workflow-grid,
  .contrast-list,
  .use-case-card-grid,
  .intent-grid,
  .detail-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .section-narrow,
    .workflow,
    .platforms,
    .use-cases,
    .use-case-section,
    .support,
    .privacy {
    padding-top: 34px;
    padding-bottom: 84px;
  }

  .platform-layout article:not(.platform-mac) img {
    height: auto;
  }

  .appstore-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .recording-pill span {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
