:root {
  color-scheme: dark;
  --bg: #070b0e;
  --bg-2: #0d1519;
  --panel: #121a1f;
  --panel-2: #182228;
  --ink: #f8fafc;
  --text: #d3dbe2;
  --muted: #8d9aa5;
  --line: rgba(255, 255, 255, 0.095);
  --red: #e9463f;
  --red-2: #ff746b;
  --cyan: #22c6d7;
  --green: #2bc56a;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -8%, rgba(233, 70, 63, 0.1), transparent 30rem),
    radial-gradient(circle at 94% 8%, rgba(34, 198, 215, 0.055), transparent 26rem),
    linear-gradient(180deg, #0c1216 0%, var(--bg) 42%, #090d10 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.topbar,
.hero-grid,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 90vh;
  padding: 16px 0 58px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand,
.nav-links,
.hero-actions,
.hero-points,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 8px, rgba(255, 255, 255, 0.85) 8px 11px, transparent 11px 17px, rgba(255, 255, 255, 0.85) 17px 20px, transparent 20px),
    var(--red);
  box-shadow: 0 8px 18px rgba(239, 52, 49, 0.2);
}

.nav-links {
  gap: 4px;
}

.nav-links a,
.site-footer a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 7px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  padding: 54px 0 34px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #f0736b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

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

h1 {
  max-width: 590px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.65rem, 5.7vw, 4.65rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
  word-break: keep-all;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.22;
  font-weight: 690;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 690;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 26px;
  color: #b8c2cb;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 690;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #f0524b, #d73d36);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 8px 20px rgba(233, 70, 63, 0.16);
}

.button.primary:hover {
  background: linear-gradient(180deg, #f45a53, #df433c);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-points {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 6px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.048);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 640;
}

.hero-visual {
  min-height: 650px;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 6% 5% 2%;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 28px 28px, 28px 28px, auto;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.device {
  position: relative;
  overflow: hidden;
  background: #10161b;
  border: 8px solid #101010;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.device.phone {
  width: min(100%, 292px);
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
}

.device.tablet {
  width: min(100%, 420px);
  aspect-ratio: 2048 / 2732;
  border-width: 10px;
  border-radius: 14px;
}

.hero-phone {
  position: absolute;
  right: 13%;
  top: 0;
  z-index: 2;
  width: min(62vw, 330px);
}

.secondary-shot {
  left: 3%;
  right: auto;
  top: 24%;
  z-index: 1;
  width: min(50vw, 265px);
  opacity: 0.92;
}

.shot-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    #111827;
}

.shot-frame::before {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  font-weight: 900;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

.shot-frame img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: top center;
}

.shot-frame.is-missing {
  background: linear-gradient(145deg, #222936, #10141d);
}

.section {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: clamp(24px, 4.2vw, 48px);
  background: rgba(18, 26, 31, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
}

.dark-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  background: #10171c;
}

.flow-line,
.feature-grid,
.share-grid {
  display: grid;
  gap: 12px;
}

.flow-line {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-line article,
.feature-grid article,
.share-points article {
  padding: 17px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-line span,
.story-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #f0736b;
  font-size: 0.78rem;
  font-weight: 700;
}

.flow-line p,
.feature-grid p,
.story-copy p,
.section-heading p,
.ipad-copy p,
.share-section p,
.download p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

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

.feature-icon {
  min-width: 42px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 0 8px;
  color: #fff;
  background: rgba(239, 52, 49, 0.13);
  border: 1px solid rgba(239, 52, 49, 0.36);
  border-radius: 5px;
  font-size: 0.74rem;
  font-weight: 700;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  min-height: 450px;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.story-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: 530px;
  background:
    radial-gradient(circle at 80% 20%, rgba(239, 52, 49, 0.07), transparent 18rem),
    rgba(255, 255, 255, 0.046);
}

.story-card.accent {
  background:
    radial-gradient(circle at 15% 20%, rgba(239, 52, 49, 0.08), transparent 17rem),
    rgba(255, 255, 255, 0.046);
}

.story-card .device {
  justify-self: center;
}

.story-copy h3 {
  font-size: clamp(1.34rem, 2.15vw, 1.82rem);
}

.story-copy p {
  margin-bottom: 0;
}

.ipad-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.ipad-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
  gap: 14px;
  align-items: end;
}

.ipad-shot {
  margin: 0;
  overflow: hidden;
  background: #10161b;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.ipad-shot img {
  width: 100%;
  height: auto;
}

.ipad-shot.secondary {
  transform: translateY(34px);
  opacity: 0.88;
}

.share-grid {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
}

.share-grid .device {
  justify-self: center;
}

.share-points {
  display: grid;
  gap: 14px;
}

.download {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 52, 49, 0.08), transparent 18rem),
    rgba(18, 26, 31, 0.92);
}

.download .section-kicker {
  justify-content: center;
}

.download .button {
  margin-top: 8px;
}

.small-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 46px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 3px 0 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 4px;
}

.site-footer small {
  flex-basis: 100%;
}

@media (max-width: 1040px) {
  .hero-grid,
  .dark-band,
  .ipad-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 570px;
  }

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

  .story-list {
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-card.wide {
    grid-template-columns: 1fr;
  }

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

  .share-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-phone {
    width: min(63vw, 245px);
    right: 4%;
  }

  .secondary-shot {
    width: min(50vw, 205px);
    left: 2%;
    top: 30%;
  }

  h1 {
    font-size: clamp(2.15rem, 10.8vw, 3.1rem);
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
  }

  .button {
    width: auto;
  }

  .feature-grid,
  .flow-line {
    grid-template-columns: 1fr;
  }

  .section {
    border-radius: 10px;
  }

  .story-card {
    min-height: auto;
    padding: 18px;
  }

  .story-card .device.phone {
    width: min(100%, 250px);
  }

  .ipad-showcase {
    grid-template-columns: 1fr;
  }

  .ipad-shot.secondary {
    transform: none;
    opacity: 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
