:root {
  --ink: #172033;
  --muted: #5a667a;
  --line: #dce3ee;
  --blue: #1a73e8;
  --blue-dark: #124f7e;
  --green: #20a45b;
  --yellow: #fbbc04;
  --coral: #f9735b;
  --paper: #fbfcff;
  --soft-blue: #eef6ff;
  --soft-green: #edf9f2;
  --shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(220, 227, 238, 0.8);
  background: rgba(251, 252, 255, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 900;
}

.site-nav a {
  padding: 8px 7px;
  border-radius: 8px;
  color: #40516b;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:focus-visible,
.site-nav a:hover {
  background: #edf4ff;
  color: var(--blue-dark);
  outline: none;
}

.site-nav .app-trial-link {
  min-width: 112px;
  padding-inline: 14px;
  background: var(--blue);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.18);
}

.site-nav .app-trial-link:focus-visible,
.site-nav .app-trial-link:hover {
  background: var(--blue-dark);
  color: #ffffff;
}

.hero {
  min-height: 76svh;
  display: grid;
  align-items: end;
  padding: 86px 20px 44px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.34) 0%, rgba(16, 24, 40, 0.68) 72%, rgba(16, 24, 40, 0.78) 100%),
    url("assets/screenshots/daily-kanji.png") center top / cover no-repeat;
}

.hero-copy {
  width: min(100%, 860px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1,
.section-inner h2,
.contact-section h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(1.9rem, 8vw, 4.7rem);
}

.brand-lock {
  white-space: nowrap;
}

.hero-lead {
  max-width: 610px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.primary-link {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(26, 115, 232, 0.28);
}

.secondary-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.quick-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px 16px 16px;
  background: #ffffff;
}

.trial-price-note {
  display: grid;
  gap: 4px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  text-align: center;
}

.trial-price-note strong {
  color: var(--blue-dark);
  font-size: clamp(1.26rem, 5vw, 1.8rem);
  font-weight: 900;
  line-height: 1.25;
}

.trial-price-note span {
  color: #344159;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.5;
}

.quick-proof div {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
}

.quick-proof strong {
  color: var(--blue-dark);
  font-size: 1.42rem;
  line-height: 1.1;
}

.quick-proof span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.section-band {
  padding: 44px 18px;
  background: var(--paper);
}

.section-band:nth-of-type(2n) {
  background: #ffffff;
}

.parent-message {
  background: var(--soft-green);
}

.screen-band {
  background: var(--soft-blue);
}

.benefit-band {
  background: #fff8df;
}

.recommend-band {
  background: #ffffff;
}

.daily-flow-band {
  background: #eef9f2;
}

.story-band {
  background: #ffffff;
}

.trust-band {
  background: #ffffff;
}

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

.section-inner h2,
.contact-section h2 {
  max-width: 780px;
  color: var(--blue-dark);
  font-size: clamp(1.75rem, 7vw, 3rem);
}

.section-inner > p:not(.eyebrow),
.contact-section > p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #344159;
  font-size: 1rem;
  font-weight: 750;
}

.step-list,
.feature-grid,
.screenshot-grid,
.screen-group-grid,
.recommend-list,
.daily-flow-list,
.trust-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step-card,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.step-card {
  padding: 18px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.step-card h3,
.feature-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.35;
}

.step-card p,
.feature-grid p,
figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.screenshot-grid figure,
.screen-group-shots figure,
.single-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screenshot-grid img,
.screen-group-shots img,
.single-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #eef3fb;
}

.screenshot-grid figcaption,
.screen-group-shots figcaption,
.single-shot figcaption {
  padding: 12px 14px 16px;
}

.recommend-list,
.daily-flow-list {
  padding: 0;
  list-style: none;
}

.recommend-list li,
.daily-flow-list li,
.trust-grid div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #344159;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.recommend-list li {
  border-left: 6px solid var(--green);
}

.daily-flow-list {
  counter-reset: daily-step;
}

.daily-flow-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  counter-increment: daily-step;
}

.daily-flow-list li::before {
  content: counter(daily-step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.trial-copy {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(26, 115, 232, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #344159;
  font-weight: 900;
}

.screen-group {
  padding: 18px;
  border: 1px solid rgba(26, 115, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.screen-group h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.45rem;
  line-height: 1.25;
}

.screen-group > p {
  margin: 6px 0 0;
  color: #344159;
  font-weight: 900;
}

.screen-group-shots {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.trust-grid div {
  border-top: 6px solid var(--blue);
  color: var(--blue-dark);
  text-align: center;
}

.trust-grid div:nth-child(2) {
  border-top-color: var(--green);
}

.trust-grid div:nth-child(3) {
  border-top-color: var(--coral);
}

.trust-grid div:nth-child(4) {
  border-top-color: var(--yellow);
}

.trust-grid div:nth-child(5) {
  border-top-color: var(--green);
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-grid article {
  padding: 18px;
}

.feature-grid article:nth-child(1) {
  border-top: 6px solid var(--blue);
}

.feature-grid article:nth-child(2) {
  border-top: 6px solid var(--green);
}

.feature-grid article:nth-child(3) {
  border-top: 6px solid var(--coral);
}

.feature-grid article:nth-child(4) {
  border-top: 6px solid var(--yellow);
}

.story-layout {
  display: grid;
  gap: 20px;
}

.purchase-hero {
  padding: 78px 18px 40px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(18, 79, 126, 0.88), rgba(18, 79, 126, 0.78)),
    url("assets/screenshots/home.png") center top / cover no-repeat;
}

.faq-hero {
  padding: 78px 18px 40px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(18, 79, 126, 0.88), rgba(18, 79, 126, 0.76)),
    url("assets/screenshots/daily-record-detail.png") center top / cover no-repeat;
}

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

.purchase-hero h1,
.faq-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.16;
}

.purchase-hero p:not(.eyebrow),
.faq-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.04rem;
  font-weight: 800;
}

.purchase-band {
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  gap: 16px;
  margin-top: 24px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 100%;
  padding: 20px 20px 88px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  border-top-color: var(--blue);
  background: #f7fbff;
}

.pricing-label {
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #edf4ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.pricing-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.25;
}

.pricing-price {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1;
}

.pricing-price span {
  font-size: clamp(2.6rem, 10vw, 4rem);
}

.pricing-term {
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.pricing-card p:not(.pricing-label):not(.pricing-price):not(.pricing-term) {
  flex: 1 1 auto;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.pricing-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  min-height: 56px;
  width: auto;
  margin-top: 0;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.purchase-note-band {
  background: #fff8df;
}

.purchase-confirm-band {
  background: #ffffff;
}

.confirm-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.confirm-card-head {
  display: grid;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.confirm-plan-label {
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #edf4ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.confirm-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.25;
}

.confirm-price {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
}

.confirm-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.confirm-list div {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  color: var(--blue-dark);
  font-weight: 900;
}

.confirm-list dd {
  margin: 0;
  color: #344159;
  font-weight: 750;
}

.payment-prep-note {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(251, 188, 4, 0.5);
  border-radius: 8px;
  background: #fff8df;
}

.payment-prep-note strong {
  color: var(--blue-dark);
  font-size: 1.12rem;
  font-weight: 900;
}

.payment-prep-note p {
  margin: 8px 0 0;
  color: #344159;
  font-weight: 800;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.confirm-disabled-button {
  border: 0;
  cursor: not-allowed;
  font: inherit;
  opacity: 0.68;
}

.faq-band {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1.45;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.22);
  outline-offset: -3px;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-weight: 750;
}

.faq-contact-box {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(26, 115, 232, 0.22);
  border-radius: 8px;
  background: var(--soft-blue);
}

.faq-contact-box h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.4rem;
}

.faq-contact-box p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #344159;
  font-weight: 750;
}

.purchase-notes {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.purchase-notes li {
  padding: 14px 16px;
  border: 1px solid rgba(251, 188, 4, 0.44);
  border-radius: 8px;
  background: #ffffff;
  color: #344159;
  font-weight: 850;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.purchase-secondary {
  color: var(--blue);
  border-color: rgba(26, 115, 232, 0.26);
  background: #ffffff;
}

.contact-section {
  padding: 50px 18px;
  color: #ffffff;
  background: var(--blue-dark);
}

.contact-section .eyebrow {
  color: #ffe28a;
}

.contact-section h2,
.contact-section p {
  color: #ffffff;
}

.contact-section .secondary-link {
  color: #ffffff;
}

.contact-copy {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-top: 18px;
}

.contact-copy p {
  margin: 0;
  color: #ffffff;
  font-weight: 750;
}

.contact-copy .contact-faq-lead {
  padding: 12px 14px;
  border: 1px solid rgba(255, 226, 138, 0.42);
  border-radius: 8px;
  background: rgba(255, 226, 138, 0.14);
  font-weight: 900;
}

.contact-copy .contact-faq-lead a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-copy code {
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-top: 24px;
}

.contact-field {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.contact-field span {
  color: #ffffff;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.contact-field input,
.contact-field select {
  min-height: 46px;
  padding: 9px 12px;
}

.contact-field textarea {
  min-height: 170px;
  padding: 12px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #ffe28a;
  outline: 3px solid rgba(255, 226, 138, 0.34);
}

.contact-required {
  color: #ffe28a;
  font-size: 0.82rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.contact-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.contact-status[data-state="success"] {
  color: #c7f9d4;
}

.contact-status[data-state="error"] {
  color: #ffe0e0;
}

.legal-shortcuts,
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.legal-shortcuts {
  margin-top: 24px;
}

.legal-shortcuts a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  gap: 12px;
  padding: 24px 18px 34px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.site-footer span:first-child {
  display: block;
  color: var(--blue-dark);
  font-weight: 900;
}

.footer-legal-links {
  justify-content: center;
}

.footer-legal-links a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .trial-price-note {
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 24px 12px;
  }

  .quick-proof {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 24px 18px;
  }

  .step-list,
  .screenshot-grid,
  .screen-group-shots,
  .recommend-list,
  .daily-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .confirm-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .confirm-list div {
    grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
    gap: 18px;
  }
}

@media (min-width: 860px) {
  .site-header {
    padding: 12px 28px;
  }

  .brand {
    font-size: 1rem;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 78svh;
    padding: 108px 40px 64px;
    background-position: center center;
  }

  .quick-proof {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-band {
    padding: 68px 32px;
  }

  .purchase-hero,
  .faq-hero {
    padding: 104px 32px 64px;
  }

  .story-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
    align-items: center;
  }

  .contact-section {
    padding: 72px 32px;
  }
}
