@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --mint: #3fd39a;
  --teal: #3ebfae;
  --green: #7bc47f;
  --green-deep: #2f7d4f;
  --green-soft: #e6f4e7;
  --red: #ff4b55;
  --orange: #ff9533;
  --star: #ffb400;

  --bg: #f6faf7;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f4f1;
  --text: #1d2a24;
  --text-2: #56655d;
  --text-3: #8a978f;
  --border: #e1e8e3;
  --shadow: 0 1px 2px rgba(20, 50, 35, 0.06), 0 8px 24px rgba(20, 50, 35, 0.08);
  --shadow-lg: 0 2px 4px rgba(20, 50, 35, 0.06), 0 24px 48px rgba(20, 50, 35, 0.14);

  --font-head: 'Zen Maru Gothic', 'Noto Sans JP', system-ui, sans-serif;
  --font-body: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --radius: 20px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green-soft: #1f3a2a;
    --bg: #111814;
    --bg-alt: #161f1a;
    --surface: #1c2621;
    --surface-2: #243029;
    --text: #eef4f0;
    --text-2: #aebbb3;
    --text-3: #7e8c84;
    --border: #2c3a32;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 48px rgba(0, 0, 0, 0.45);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.lang-switch a {
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--text-2);
}

.lang-switch a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--green-deep);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

@media (max-width: 480px) {
  .header-actions .btn-primary {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  max-width: 820px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--mint) 28%, transparent), transparent 65%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  .eyebrow {
    color: #9fe0b4;
  }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero h1 .mark {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--mint) 45%, transparent) 62%);
}

.hero .lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-2);
  max-width: 34em;
  margin-bottom: 28px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badges a {
  display: block;
  transition: transform 0.15s;
}

.store-badges a:hover {
  transform: translateY(-2px);
}

.store-badges .badge-apple {
  height: 48px;
  width: auto;
}

/* Google の公式バッジは画像内に余白があるため、見た目の高さを App Store バッジに揃える */
.store-badges .badge-google {
  height: 71px;
  width: auto;
  margin: -11.5px -9px;
}

.ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-2);
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating strong {
  font-size: 1rem;
  color: var(--text);
}

.stars {
  color: var(--star);
  letter-spacing: 1px;
  font-size: 0.9375rem;
}

.ratings-note {
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ---------- phone mock ---------- */

.phone {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  background: var(--bg);
  border: 10px solid #1a1f1c;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
  padding: 22px 16px 20px;
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .phone {
    border-color: #000;
  }
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  border-radius: 999px;
  background: #1a1f1c;
}

.phone-head {
  padding: 22px 6px 12px;
}

.phone-date {
  font-size: 0.75rem;
  color: var(--text-3);
}

.phone-greet {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
}

.phone-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green-deep);
  font-weight: 500;
  padding: 0 6px 10px;
}

@media (prefers-color-scheme: dark) {
  .phone-hint {
    color: #9fe0b4;
  }
}

.phone-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.task-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
  margin-bottom: 12px;
}

.task-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.avatars {
  display: flex;
  gap: 6px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.avatar svg {
  width: 20px;
  height: 20px;
}

.av-green {
  background: #d4f3e6;
  color: #2cbf85;
}

.av-orange {
  background: #ffe6d1;
  color: #f28b3a;
}

.av-pink {
  background: #ffdadd;
  color: #f04e5b;
}

.av-blue {
  background: #d3f0fb;
  color: #2eb6e8;
}

.cycle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 999px;
}

.cycle svg {
  width: 13px;
  height: 13px;
}

.task-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.task-title {
  font-size: 1.0625rem;
  font-weight: 500;
}

.elapsed {
  font-weight: 700;
  font-size: 0.8125rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.gauge {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  margin: 6px 0 6px;
  overflow: hidden;
}

.gauge span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s;
}

.is-red .elapsed {
  color: var(--red);
}

.is-red .gauge span {
  background: var(--red);
}

.is-orange .elapsed {
  color: var(--orange);
}

.is-orange .gauge span {
  background: var(--orange);
}

.is-green .elapsed {
  color: var(--green);
}

.is-green .gauge span {
  background: var(--green);
}

.task-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-3);
}

.done-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-3);
  display: none;
  place-items: center;
  cursor: pointer;
}

.task-card[data-demo] {
  cursor: pointer;
  transition: transform 0.15s;
}

.task-card[data-demo]:hover {
  transform: translateY(-2px);
}

.task-card[data-demo]:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
}

/* praise dialog */

.praise {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 5;
}

.praise.show {
  opacity: 1;
}

.praise-box {
  background: var(--surface);
  border-radius: 24px;
  padding: 22px 24px 20px;
  text-align: center;
  width: 78%;
  transform: scale(0.85);
  transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.praise.show .praise-box {
  transform: scale(1);
}

.praise-box img {
  width: 150px;
  height: auto;
  margin: 0 auto 4px;
}

.praise-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1.5;
}

/* ---------- sections ---------- */

section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .kicker {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.625rem, 3.6vw, 2.5rem);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-2);
}

/* ---------- comparison ---------- */

.compare {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.tabs {
  display: inline-flex;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}

.tabs button {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-2);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px 16px;
  align-items: center;
}

.timeline-label {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.5;
}

.timeline-label small {
  display: block;
  font-weight: 400;
  color: var(--text-3);
  font-size: 0.75rem;
}

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

.day {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 0.625rem;
  color: var(--text-3);
}

.day.done {
  background: var(--green);
  color: #fff;
}

.day.done::after {
  content: "✓";
  font-size: 0.8125rem;
  font-weight: 700;
}

.day.due {
  background: color-mix(in srgb, var(--mint) 22%, transparent);
  box-shadow: inset 0 0 0 2px var(--teal);
  color: var(--teal);
}

.day.due::after {
  content: "🔔";
  font-size: 0.75rem;
}

.day.bad {
  background: color-mix(in srgb, var(--red) 12%, transparent);
  box-shadow: inset 0 0 0 2px var(--red);
}

.day.bad::after {
  content: "🔔";
  font-size: 0.75rem;
}

.day.done::after,
.day.due::after,
.day.bad::after {
  line-height: 1;
}

.day span {
  display: none;
}

.days-axis {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 3px;
  font-size: 0.625rem;
  color: var(--text-3);
  text-align: center;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.75rem;
  color: var(--text-2);
  margin-top: 18px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.legend .l-done {
  background: var(--green);
}

.legend .l-due {
  box-shadow: inset 0 0 0 2px var(--teal);
}

.legend .l-bad {
  box-shadow: inset 0 0 0 2px var(--red);
}

.compare-caption {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--surface-2);
  border-radius: 14px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.compare-caption strong {
  color: var(--text);
}

.pull-quote {
  max-width: 720px;
  margin: 40px auto 0;
  padding-left: 20px;
  border-left: 4px solid var(--mint);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.pull-quote p {
  margin-bottom: 6px;
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--text-3);
}

@media (max-width: 640px) {
  .compare {
    padding: 20px 16px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline-label {
    margin-top: 10px;
  }

  .timeline .axis-spacer {
    display: none;
  }

  .days,
  .days-axis {
    gap: 2px;
  }

  .day {
    border-radius: 4px;
  }

  .day.done::after,
  .day.due::after,
  .day.bad::after {
    font-size: 0.5625rem;
  }
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
}

@media (prefers-color-scheme: dark) {
  .feature-icon {
    color: #9fe0b4;
  }
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.75;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- split sections (share / praise) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse .split-media {
  order: -1;
}

.split h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
  line-height: 1.4;
  margin-bottom: 16px;
}

.split p {
  color: var(--text-2);
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  margin-top: 18px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237bc47f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.report {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  max-width: 440px;
  margin: 0 auto;
}

.report-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.report-head h3 {
  font-size: 1.0625rem;
}

.report-head span {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.report-row {
  display: grid;
  grid-template-columns: 32px 1fr 3.5em;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.report-name {
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-name small {
  font-size: 0.6875rem;
  color: var(--text-3);
  background: var(--surface-2);
  padding: 0 6px;
  border-radius: 4px;
}

.report-bar {
  grid-column: 2;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin-top: 4px;
}

.report-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.report-count {
  font-weight: 700;
  font-size: 0.9375rem;
  grid-row: 1 / span 2;
  grid-column: 3;
  text-align: right;
}

.report-row .avatar {
  grid-row: 1 / span 2;
}

.report-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0 14px;
}

.report-tasks {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.report-tasks b {
  color: var(--text);
  font-weight: 500;
}

.praise-visual {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.praise-visual img {
  width: 64%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(40, 120, 60, 0.18));
}

.praise-bubble {
  position: absolute;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}

.praise-bubble:nth-of-type(1) { top: 4%; left: 0; }
.praise-bubble:nth-of-type(2) { top: 12%; right: 0; animation-delay: -1.2s; }
.praise-bubble:nth-of-type(3) { bottom: 12%; left: 0; animation-delay: -2.4s; }
.praise-bubble:nth-of-type(4) { bottom: 2%; right: 4%; animation-delay: -3.6s; }

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .praise-bubble,
  .phone-hint::before {
    animation: none;
  }
}

.quote-card {
  margin-top: 22px;
  background: var(--surface);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  font-size: 0.9375rem;
  color: var(--text-2);
}

.quote-card p {
  margin-bottom: 8px;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.section-head .quote-card {
  max-width: 560px;
  margin: 8px auto 24px;
  text-align: left;
}

.split h2 + .quote-card {
  margin: 0 0 20px;
}

.hero .quote-card {
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

/* ---------- watch ---------- */

.watch-wrap {
  display: flex;
  justify-content: center;
}

.watch {
  width: 220px;
  background: #000;
  border-radius: 48px;
  padding: 26px 16px 20px;
  box-shadow: 0 0 0 10px #2a2f2c, var(--shadow-lg);
  color: #fff;
  font-family: -apple-system, 'SF Pro Text', var(--font-body);
}

.watch-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.watch-title span {
  color: #6fcf7a;
  font-size: 0.9375rem;
}

.watch-cat {
  font-size: 0.6875rem;
  color: #8e8e93;
  margin: 8px 0 4px 4px;
}

.watch-item {
  display: flex;
  gap: 8px;
  background: #1c1c1e;
  border-radius: 14px;
  padding: 9px 10px;
  margin-bottom: 5px;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.watch-item i {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #8e8e93;
  margin-top: 1px;
}

.watch-item small {
  display: block;
  color: #ff453a;
  font-size: 0.6875rem;
}

/* ---------- reviews ---------- */

.review-summary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.review-score {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-score .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
}

.review-score .meta {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.5;
}

.reviews {
  columns: 3 300px;
  column-gap: 20px;
}

.review {
  break-inside: avoid;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.review p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.85;
}

.review-source {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-3);
}

.review-translated {
  font-size: 0.6875rem;
  color: var(--text-3);
  background: var(--surface-2);
  padding: 1px 8px;
  border-radius: 999px;
}

.reviews-more {
  text-align: center;
  margin-top: 12px;
  font-size: 0.875rem;
}

.reviews-more a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  margin: 0 10px;
  white-space: nowrap;
}

.reviews-more a:hover {
  text-decoration: underline;
}

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}

.plan {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 2px solid transparent;
}

.plan.pro {
  border-color: var(--mint);
}

.plan h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.plan .plan-sub {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 18px;
}

.plan dl {
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: 0.9375rem;
}

.plan dt,
.plan dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.plan dt {
  color: var(--text-2);
  white-space: nowrap;
  padding-right: 16px;
}

.plan dd {
  font-weight: 700;
  text-align: right;
}

.plan dt:last-of-type,
.plan dd:last-of-type {
  border-bottom: none;
}

.plan-note {
  max-width: 840px;
  margin: 20px auto 0;
  font-size: 0.8125rem;
  color: var(--text-3);
  text-align: center;
}

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

/* ---------- faq ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* ---------- final cta ---------- */

.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  background: #2b4a3b url("images/living-room.jpg") center / cover no-repeat;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 50, 36, 0.55), rgba(18, 50, 36, 0.78));
}

.cta .wrap {
  position: relative;
}

.cta img.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cta h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.4;
  margin-bottom: 14px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta .store-badges {
  justify-content: center;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 40px 0 48px;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-2);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive hero ---------- */

@media (max-width: 860px) {
  .hero {
    padding: 32px 0 64px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .store-badges .badge-apple {
    height: 44px;
  }

  .store-badges .badge-google {
    height: 65px;
    margin: -10.5px -8px;
  }
}

/* ---------- document pages (delete account) ---------- */

.doc {
  padding: 56px 0 96px;
}

.doc .wrap {
  max-width: 760px;
}

.doc-head {
  margin-bottom: 40px;
}

.doc-head h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.875rem, 4.4vw, 2.625rem);
  line-height: 1.35;
  margin-bottom: 12px;
}

.doc-head p {
  color: var(--text-2);
}

.doc h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 48px 0 16px;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 20px 18px 68px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps b {
  display: block;
  font-weight: 700;
}

.steps span {
  font-size: 0.875rem;
  color: var(--text-2);
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.data-card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.data-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.data-card ul {
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.data-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.data-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}

.data-card.deleted h3 {
  color: var(--red);
}

.data-card.kept h3 {
  color: var(--teal);
}

.notice {
  border-radius: 16px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--orange) 12%, var(--surface));
  border-left: 4px solid var(--orange);
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-top: 12px;
}

.notice strong {
  color: var(--text);
}

.notice a,
.doc-text a {
  color: var(--teal);
  font-weight: 700;
}

.doc-text {
  color: var(--text-2);
}

.doc-text p {
  margin-bottom: 12px;
}


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