:root {
  --ink: #17324d;
  --navy: #294764;
  --muted: #496074;
  --yellow: #f3c94e;
  --yellow-soft: #fae8a5;
  --blue: #246fc8;
  --blue-soft: #e5f0fc;
  --page: #f4f7fb;
  --surface: #ffffff;
  --line: #cedbe8;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-top: 20px;
}
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  font-weight: 850;
  text-decoration: none;
}
.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(74, 56, 0, .13);
}
.header-links { display: flex; gap: 22px; }
.header-links a {
  color: #334c64;
  font-size: .96rem;
  font-weight: 750;
  text-decoration: none;
}
.header-links a:hover,
.header-links a:focus-visible { color: var(--blue); }

.hero {
  overflow: hidden;
  padding: 100px 0 42px;
  background: linear-gradient(135deg, #fbfdff 0%, #f4f8fc 52%, #eaf3fb 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: 70px;
  min-height: 550px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .06em;
}
h1 {
  margin: 0;
  font-size: clamp(4.4rem, 8.4vw, 7.1rem);
  line-height: 1.03;
  letter-spacing: -.07em;
  white-space: nowrap;
  text-wrap: balance;
}
h1::after {
  content: "";
  display: block;
  width: min(480px, 94%);
  height: 15px;
  margin-top: -12px;
  background: #b9d8f5;
}
.hero-lead {
  max-width: 760px;
  margin: 32px 0 0;
  color: #354e65;
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
  font-weight: 600;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 52px;
  line-height: 0;
  text-decoration: none;
}
.store-badge img {
  width: auto;
  height: 52px !important;
}
.video-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid #d7dfe8;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}
.video-button span { color: #ed5058; font-size: .78em; }

.hero-device {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}
.sun {
  position: absolute;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: var(--yellow-soft);
}
.phone {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 8px solid #191d24;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(28, 43, 65, .2);
}
.hero-phone {
  width: 246px;
  max-height: 500px;
  transform: rotate(1.5deg);
}
.phone img {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
}

.simple-guide {
  padding: 46px 0;
  background: var(--blue-soft);
  color: var(--ink);
}
.simple-guide .shell {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 52px;
}
.simple-guide .eyebrow { color: var(--blue); }
.guide-heading h2,
.screens-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -.045em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 15px;
  border: 1px solid #c7d8e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 25px rgba(47, 77, 108, .07);
}
.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .94rem;
  font-weight: 900;
}
.steps strong { font-size: 1.12rem; line-height: 1.4; }

.screens {
  padding: 50px 0 56px;
  background: #f9fbfd;
}
.screens-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .66fr);
  align-items: end;
  gap: 55px;
  margin-bottom: 30px;
}
.screens-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 550;
}
.screen-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(190px, .58fr) minmax(190px, .58fr);
  gap: 16px;
}
.screen-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f7f9fc;
}
.screen-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 410px;
  padding: 16px;
  background: #eef2f6;
}
.screen-card-ipad .screen-media { padding: 20px; }
.screen-card img {
  width: auto;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(35, 50, 69, .15);
}
.screen-card-ipad img { aspect-ratio: 2048 / 1535; }
.screen-card-phone img { aspect-ratio: 946 / 2048; }
.screen-card figcaption {
  min-height: 72px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
}

footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--page);
}
.footer-inner p { margin: 0; color: #52687c; font-size: .96rem; }
.footer-inner .brand img { box-shadow: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .66fr; gap: 36px; }
  .hero-lead br { display: none; }
  .simple-guide .shell { grid-template-columns: 1fr; gap: 26px; }
  .screens-heading { grid-template-columns: 1fr; gap: 12px; }
  .screen-gallery {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 0 2px 13px;
    scroll-snap-type: x mandatory;
  }
  .screen-card { flex: 0 0 min(76vw, 540px); scroll-snap-align: start; }
  .screen-card-phone { flex-basis: min(58vw, 320px); }
  .screen-media { height: 390px; }
}

@media (max-width: 680px) {
  body { font-size: 18px; }
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { padding-top: 14px; }
  .brand { gap: 9px; font-size: .95rem; }
  .brand img { width: 40px; height: 40px; }
  .header-links { gap: 13px; }
  .header-links a { font-size: .86rem; }
  .header-links a:first-child { display: none; }
  .hero { padding: 92px 0 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; min-height: 0; }
  .eyebrow { font-size: .88rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  h1::after { height: 11px; margin-top: -8px; }
  .hero-lead { margin-top: 24px; font-size: 1.14rem; line-height: 1.82; }
  .hero-actions { margin-top: 23px; }
  .store-badge, .store-badge img { height: 48px !important; }
  .video-button { height: 48px; padding: 0 15px; font-size: .96rem; }
  .hero-device { min-height: 350px; }
  .sun { width: 270px; height: 270px; }
  .hero-phone { width: 166px; max-height: 335px; border-width: 6px; border-radius: 31px; }
  .simple-guide { padding: 42px 0; }
  .guide-heading h2,
  .screens-heading h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 74px; }
  .steps strong br { display: none; }
  .screens { padding: 45px 0 50px; }
  .screens-heading { margin-bottom: 23px; }
  .screens-heading > p { font-size: 1.04rem; }
  .screen-card { flex-basis: 84vw; }
  .screen-card-phone { flex-basis: 66vw; }
  .screen-media { height: 330px; }
  .screen-card figcaption { min-height: 68px; font-size: 1.02rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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