:root {
  --app-bg: #f2f2f7;
  --surface: #ffffff;
  --surface-soft: #f7f7fb;
  --dark-bg: #000000;
  --dark-surface: #1c1c1e;
  --dark-surface-2: #242426;
  --ink: #000000;
  --muted: #8e8e93;
  --line: #e5e5ea;
  --accent: #5aaedf;
  --accent-strong: #55a9db;
  --danger: #ff453a;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.95), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(90, 174, 223, 0.12), transparent 28rem),
    var(--app-bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(242, 242, 247, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.screen-top,
.license-head,
.license-body,
.license-foot,
.notice-card,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark,
.app-icon {
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-cta,
.primary-button,
.store-badge {
  border: 0;
  font-weight: 800;
}

.header-cta {
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 7vw, 96px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 6vw, 84px) 70px;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8.6vw, 112px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 620px;
  color: #3a3a3c;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button {
  padding: 16px 22px;
  background: var(--accent-strong);
  color: var(--white);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(90, 174, 223, 0.34);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0 22px 48px rgba(90, 174, 223, 0.42);
}

.store-badge {
  display: grid;
  gap: 2px;
  min-width: 154px;
  padding: 10px 18px;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.store-badge span {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-width: 132px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-stats dt {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 20px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.paper-grid {
  position: absolute;
  inset: 3% 0 5% 12%;
  border: 1px solid rgba(90, 174, 223, 0.16);
  background-image:
    linear-gradient(rgba(90, 174, 223, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 174, 223, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: rotate(-3deg);
}

.phone-shell {
  position: relative;
  width: min(360px, 86vw);
  height: 720px;
  padding: 14px;
  border-radius: 48px;
  background: #050505;
  box-shadow: var(--shadow);
}

.main-phone {
  position: absolute;
  right: min(15vw, 130px);
  top: 8px;
  transform: rotate(2deg);
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 110px;
  height: 28px;
  border-radius: 99px;
  background: #080706;
  transform: translateX(-50%);
  z-index: 2;
}

.screen {
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.88), transparent 58%),
    var(--app-bg);
}

.home-screen {
  padding: 72px 22px 26px;
}

.screen-top {
  justify-content: space-between;
  margin-bottom: 18px;
}

.screen-label {
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
}

.screen h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, var(--accent) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 86%, var(--accent) 0 12px, transparent 13px),
    rgba(142, 142, 147, 0.14);
}

.license-card,
.countdown-panel,
.timeline-card,
.privacy,
.problem-band {
  background: var(--surface);
  border: 1px solid var(--line);
}

.license-card {
  padding: 16px;
  border-radius: 26px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.license-head {
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.license-head span,
.license-body small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.license-head strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.stamp {
  width: 45px;
  height: 45px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent) !important;
  text-align: center;
  line-height: 1.12;
  transform: rotate(-6deg);
}

.license-body {
  gap: 14px;
  align-items: flex-start;
  padding-top: 14px;
}

.photo-slot {
  display: grid;
  place-items: center;
  width: 76px;
  height: 96px;
  flex: 0 0 auto;
  border: 1px solid #d1d1d6;
  background: repeating-linear-gradient(45deg, #f0f0f5 0 7px, #e5e5ea 7px 14px);
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
}

.license-body strong,
.license-body b,
.license-body code {
  display: block;
}

.license-body strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.license-body b {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
}

.license-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
}

.license-foot {
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.countdown-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 26px;
}

.countdown-panel span,
.countdown-panel em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.countdown-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.countdown-panel b {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 66px;
  line-height: 0.95;
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: 18px;
}

.progress-strip span {
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
}

.progress-strip span:nth-child(n + 7) {
  background: rgba(142, 142, 147, 0.16);
}

.notification-stack {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(360px, 80vw);
  padding: 32px 18px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 0%, rgba(90, 174, 223, 0.18), transparent 42%),
    var(--dark-bg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(-4deg);
}

.lock-time {
  margin-bottom: 24px;
  color: white;
  font-size: 72px;
  font-weight: 200;
  text-align: center;
}

.notice-card {
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(242, 242, 247, 0.88);
  backdrop-filter: blur(16px);
}

.notice-card.muted {
  background: var(--dark-surface);
  color: white;
}

.app-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
}

.notice-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 900;
}

.notice-title span {
  color: rgba(60, 60, 67, 0.5);
}

.muted .notice-title span {
  color: rgba(255, 255, 255, 0.55);
}

.notice-card p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.problem-band,
.privacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 5vw, 70px);
  margin: 0 clamp(18px, 6vw, 84px);
  padding: clamp(28px, 5vw, 58px);
}

.problem-band h2,
.privacy h2,
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.12;
}

.problem-band p:not(.eyebrow),
.privacy p:not(.eyebrow) {
  margin: 0;
  color: #3a3a3c;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
  font-weight: 700;
}

.features,
.timeline-section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 6vw, 84px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 290px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 58px 0 16px;
  font-size: 24px;
  line-height: 1.28;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.timeline-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(22px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.reminder-timeline {
  position: relative;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reminder-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  background: var(--line);
}

.reminder-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 90px 54px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 18px 18px 18px 58px;
  background: rgba(242, 242, 247, 0.72);
}

.reminder-timeline li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
}

.reminder-timeline strong {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 28px;
}

.reminder-timeline span,
.reminder-timeline p {
  color: var(--muted);
  font-weight: 800;
}

.reminder-timeline p {
  margin: 0;
}

.settings-phone {
  align-self: start;
  padding: 28px;
  border: 12px solid #050505;
  border-radius: 38px;
  background: var(--dark-bg);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.settings-header {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
}

.settings-row {
  display: grid;
  grid-template-columns: 60px 42px 1fr;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  padding: 13px 12px;
  border: 1px solid transparent;
  color: rgba(235, 235, 245, 0.45);
}

.settings-row.on {
  border-color: rgba(235, 235, 245, 0.08);
  background: var(--dark-surface);
  color: var(--white);
}

.settings-row b {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 26px;
}

.settings-row span,
.settings-row em {
  font-style: normal;
  font-weight: 800;
}

.settings-row em {
  font-size: 13px;
}

.time-box {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(235, 235, 245, 0.08);
  background: var(--dark-surface);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.privacy {
  margin-bottom: 70px;
}

.site-footer {
  justify-content: space-between;
  padding: 24px clamp(18px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

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

  .main-phone {
    left: 6%;
    right: auto;
  }

  .notification-stack {
    right: 3%;
  }

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

  .timeline-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .lead {
    font-size: 16px;
  }

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

  .phone-shell {
    width: min(330px, 92vw);
    height: 660px;
  }

  .main-phone {
    left: 0;
    top: 0;
  }

  .home-screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .notification-stack {
    right: 0;
    bottom: 20px;
    width: min(330px, 88vw);
  }

  .problem-band,
  .privacy {
    grid-template-columns: 1fr;
  }

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

  .feature-grid article {
    min-height: 220px;
  }

  .feature-grid h3 {
    margin-top: 36px;
  }

  .reminder-timeline li {
    grid-template-columns: 70px 44px;
    gap: 4px 8px;
  }

  .reminder-timeline p {
    grid-column: 1 / -1;
  }

  .settings-phone {
    padding: 22px;
  }

  .settings-row {
    grid-template-columns: 54px 38px 1fr;
  }
}

/* ── Footer links ── */

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ── Legal & Support pages ── */

.legal-hero {
  max-width: 850px;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 6vw, 84px) clamp(28px, 4vw, 48px);
}

.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
}

.legal-hero .lead {
  margin-bottom: 0;
  font-size: clamp(16px, 2vw, 20px);
}

.legal-content {
  max-width: 850px;
  padding: 0 clamp(18px, 6vw, 84px) clamp(70px, 10vw, 130px);
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:first-child {
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.3;
}

.section-number {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  flex: 0 0 auto;
}

.legal-section p {
  margin: 0;
  color: #3a3a3c;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.9;
  font-weight: 700;
}

.legal-meta {
  padding: 28px 0 0;
}

.legal-meta p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

/* ── Support page ── */

.support-info {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-info h2 {
  margin-bottom: 20px;
  font-size: clamp(18px, 2.5vw, 24px);
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: baseline;
  gap: 12px;
}

.info-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.contact-link {
  color: var(--accent-strong);
  font-weight: 800;
  transition: color 160ms ease;
}

.contact-link:hover {
  color: var(--accent);
}

.faq-section {
  padding: 36px 0 0;
}

.faq-section h2 {
  margin-bottom: 20px;
  font-size: clamp(18px, 2.5vw, 24px);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 800;
  line-height: 1.5;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 20px;
  color: var(--muted);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 900;
}

.faq-answer {
  padding: 0 0 24px 42px;
}

.faq-answer p {
  margin: 0 0 12px;
  color: #3a3a3c;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.85;
  font-weight: 700;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ol {
  margin: 8px 0 12px;
  padding-left: 20px;
  color: #3a3a3c;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.85;
  font-weight: 700;
}

.faq-answer a {
  color: var(--accent-strong);
  font-weight: 800;
}

.faq-answer a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .faq-answer {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone-shell,
  .notification-stack,
  .feature-grid article,
  .timeline-card {
    animation: rise 700ms ease both;
  }

  .notification-stack {
    animation-delay: 120ms;
  }

  .feature-grid article:nth-child(2),
  .timeline-card {
    animation-delay: 80ms;
  }

  .feature-grid article:nth-child(3) {
    animation-delay: 140ms;
  }

  .feature-grid article:nth-child(4) {
    animation-delay: 200ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      filter: blur(8px);
    }
    to {
      opacity: 1;
      filter: blur(0);
    }
  }
}
