:root {
  color-scheme: light;
  --bg: #f7fbff;
  --ink: #1e2430;
  --muted: #657186;
  --line: #dbe6f4;
  --panel: #ffffff;
  --cyan: #18a7e8;
  --blue: #3769d8;
  --violet: #6f56dc;
  --green: #12a87c;
  --shadow: 0 24px 70px rgba(31, 52, 78, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(247, 251, 255, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand-link {
  gap: 10px;
  font-weight: 800;
}

.brand-link img {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 167, 232, 0.22);
}

.site-nav,
.hero-links,
.site-footer div {
  gap: 18px;
}

.site-nav a,
.hero-links a,
.site-footer a,
.not-found a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #28516f;
}

.site-nav a:hover,
.hero-links a:hover,
.site-footer a:hover,
.not-found a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 112px 32px 72px;
  background: #e8f7ff;
}

.hero-image {
  position: absolute;
  inset: -8% 0 auto auto;
  z-index: -3;
  width: min(56vw, 700px);
  min-width: 420px;
  opacity: 0.34;
  transform: rotate(4deg);
  filter: saturate(1.06);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.88) 46%, rgba(247, 251, 255, 0.42) 100%),
    linear-gradient(135deg, rgba(125, 220, 255, 0.42), rgba(255, 255, 255, 0.5) 48%, rgba(199, 182, 255, 0.34));
}

.hero-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.kicker,
.section-label {
  margin: 28px 0 8px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: 4.4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 28px;
  font-size: 2.2rem;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: #415063;
  font-size: 1.18rem;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(55, 105, 216, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.section {
  padding: 84px 32px;
}

.section-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.feature-band {
  background: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card p,
.detail-layout p,
.policy-document p {
  color: var(--muted);
}

.feature-mark {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.feature-mark.countdown {
  background: var(--cyan);
}

.feature-mark.recurring {
  background: var(--green);
}

.feature-mark.time-alert {
  background: var(--violet);
}

.screens-section {
  background: #f7fbff;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

figure {
  margin: 0;
}

figure img,
.detail-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.detail-band {
  background: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
}

.detail-layout p {
  font-size: 1.05rem;
}

.detail-image {
  justify-self: end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  background: #f4f9ff;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.policy-page {
  padding: 128px 32px 84px;
}

.policy-document {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.policy-document h1 {
  font-size: 2.8rem;
}

.policy-document h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.effective-date {
  margin-top: 36px;
  font-weight: 700;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
}

.not-found img {
  border-radius: 14px;
}

.not-found h1 {
  margin: 10px 0 0;
  font-size: 2rem;
}

.not-found p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    padding: 12px 18px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 78svh;
    padding: 64px 20px 48px;
  }

  .hero-image {
    width: 520px;
    min-width: 0;
    opacity: 0.2;
    transform: translateX(28%) rotate(4deg);
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.88) 100%),
      linear-gradient(135deg, rgba(125, 220, 255, 0.36), rgba(199, 182, 255, 0.22));
  }

  .hero-icon {
    width: 92px;
    height: 92px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .section {
    padding: 62px 20px;
  }

  .feature-grid,
  .screen-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .detail-layout {
    gap: 28px;
  }

  .detail-image {
    justify-self: center;
    width: min(100%, 360px);
  }

  .policy-page {
    padding: 88px 18px 56px;
  }

  .policy-document {
    padding: 24px;
  }

  .policy-document h1 {
    font-size: 2rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  .brand-link span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav a[href="#features"] {
    display: none;
  }

  .hero-links {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .hero-links a {
    justify-content: center;
  }
}
