/*
 * /assets/styles.css
 * 全ページ共通のスタイル定義
 * CSS変数でテーマを管理し、モバイルファーストで設計
 * 関連ファイル: index.html, apps/ashita-motsumono/index.html
 */

/* ===== CSS Variables ===== */
:root {
  --color-bg: #fffaf0;
  --color-surface: #ffffff;
  --color-text: #2f2a24;
  --color-muted: #6f675f;
  --color-primary: #f6a531;
  --color-primary-dark: #8a4f00;
  --color-primary-light: #fef0d6;
  --color-border: #eadfce;
  --color-success: #3a7a3a;
  --color-danger: #d96c5a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 16px 40px rgba(60, 45, 20, 0.08);
  --shadow-card: 0 4px 16px rgba(60, 45, 20, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(60, 45, 20, 0.12);
  --max-width: 1100px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 165, 49, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(246, 165, 49, 0); }
}

.anim-fade-in {
  animation: fadeInUp 0.7s ease-out both;
}

.anim-fade-in--d1 { animation-delay: 0.1s; }
.anim-fade-in--d2 { animation-delay: 0.2s; }
.anim-fade-in--d3 { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== Anchor scroll offset ===== */
[id] {
  scroll-margin-top: 96px;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
  position: relative;
}

.section__title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Button ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 50ms;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 4px 14px rgba(246, 165, 49, 0.35);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 165, 49, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(234, 223, 206, 0.6);
}

@supports not (backdrop-filter: blur(1px)) {
  .header {
    background: rgba(255, 250, 240, 0.97);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.header__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.header__logo:hover {
  color: var(--color-primary-dark);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__nav a {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.header__nav a:hover {
  color: var(--color-text);
}

.header__cta {
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 40px;
  background: linear-gradient(165deg, var(--color-bg) 0%, #fef6e6 40%, #fdecd4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 165, 49, 0.12) 0%, transparent 70%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 165, 49, 0.08) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.7s ease-out both;
}

@supports (font-optical-sizing: auto) {
  .hero__title {
    font-optical-sizing: auto;
  }
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card__link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card--block:hover .card__link {
  gap: 8px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 40px 0 24px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer__nav a:hover {
  color: var(--color-text);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}

/* ===== Feature / 3-cards ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== Steps ===== */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -8px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 6px;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== Phone Mock ===== */
.phone-mock {
  display: inline-flex;
  flex-direction: column;
  width: 260px;
  border: 3px solid var(--color-text);
  border-radius: 32px;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(60, 45, 20, 0.12);
}

.phone-mock__notch {
  height: 24px;
  background: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-mock__notch::after {
  content: "";
  width: 80px;
  height: 6px;
  background: #555;
  border-radius: 3px;
}

.phone-mock__header {
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}

.phone-mock__body {
  padding: 16px;
  min-height: 320px;
  text-align: left;
}

.phone-mock__body-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.phone-mock__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
}

.phone-mock__item::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}

.phone-mock__item--checked::before {
  background: var(--color-success);
  border-color: var(--color-success);
  content: "✓";
  color: #fff;
  font-size: 0.7rem;
  line-height: 16px;
  text-align: center;
}

.phone-mock__item--cross::before {
  background: var(--color-danger);
  border-color: var(--color-danger);
  content: "✗";
  color: #fff;
  font-size: 0.6rem;
  line-height: 16px;
  text-align: center;
}

.phone-mock__divider {
  height: 1px;
  background: var(--color-border);
  margin: 8px 0;
}

.phone-mock__tag {
  padding: 4px 24px;
  font-size: 0.7rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ===== Screenshot mock grid ===== */
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: center;
}

.screenshot-item {
  text-align: center;
}

.screenshot-item__desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ===== Scene icons (emoji) ===== */
.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.scene-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.scene-card__emoji {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.scene-card__title {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-card-hover);
}

.faq-item__q {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.faq-item__a {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.faq-item__a a {
  text-decoration: underline;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 165, 49, 0.1) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  pointer-events: none;
}

.cta-banner__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner__desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* ===== Content page (privacy/terms) ===== */
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.content-page h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-page .updated {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.content-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-page p,
.content-page li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.content-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-page li {
  margin-bottom: 6px;
}

.contact-placeholder {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.contact-placeholder__text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 8px 0;
}

.contact-placeholder__note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ===== Notice box (privacy/terms) ===== */
.notice-box {
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.todo-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 16px 0;
}

/* ===== Back link ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--color-primary-dark);
}

/* ===== Utility classes ===== */
.section--surface {
  background: var(--color-surface);
}

.section--pt0 {
  padding-top: 0;
}

.section--mock {
  padding: 0 0 64px;
}

.section--cta {
  background: var(--color-surface);
}

.mock-wrapper {
  display: flex;
  justify-content: center;
}

.phone-mock__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.phone-mock__complete {
  padding: 24px 0;
  text-align: center;
}

.phone-mock__complete-icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.phone-mock__complete-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.phone-mock__complete-count {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.card--block {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--color-surface);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

.card__status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.card__status--planning {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.card__status--concept {
  background: #f0f0f0;
  color: var(--color-muted);
}

.card__status--suspended {
  background: #f5f0e8;
  color: #9a8a7a;
  border: 1px solid #e0d5c8;
}

.card--disabled {
  opacity: 0.8;
}

.card--disabled:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.section__subtitle--narrow {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.contact-mt {
  margin-top: 24px;
}

.contact-btn-mt {
  margin-top: 32px;
  text-align: center;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* ===== Responsive ===== */

@media (max-width: 599px) {
  .header__inner {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header__nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header__cta {
    display: none;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero__title {
    font-size: 1.6rem;
  }
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .scene-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__title {
    font-size: clamp(2.4rem, 4vw, 2.6rem);
    letter-spacing: -0.02em;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
  }

  .section__title {
    font-size: 1.8rem;
  }

}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  line-height: 1.4;
}

.badge--status {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary);
  flex-shrink: 0;
}

.badge--category {
  background: var(--color-surface);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

.badge--difficulty {
  background: #eef5ee;
  color: #3a7a3a;
  border: 1px solid #c8e0c8;
}

/* ===== Sample Quiz Card ===== */
.quiz-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.quiz-card__question {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.6;
}

.quiz-card__choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-card__choice {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  text-align: left;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text);
}

.quiz-card__choice:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.quiz-card__choice:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.quiz-card__choice--correct {
  border-color: var(--color-success);
  background: #eef5ee;
}

.quiz-card__choice--incorrect {
  border-color: var(--color-danger);
  background: #fdece8;
}

.quiz-card__choice:disabled {
  cursor: default;
  opacity: 0.7;
}

.quiz-card__result {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  margin-top: 8px;
}

.quiz-card__verdict {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.quiz-card__verdict--correct {
  color: var(--color-success);
}

.quiz-card__verdict--incorrect {
  color: var(--color-danger);
}

.quiz-card__answer {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.quiz-card__explanation {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.quiz-card__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.quiz-card__source {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.quiz-card__examples-link {
  margin-top: 8px;
}

.quiz-card__noscript {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  padding: 16px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

/* ===== Source Links ===== */
.quiz-card__source,
.example-card__source {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.quiz-card__source a,
.example-card__source a {
  color: var(--color-muted);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.quiz-card__source a:hover,
.example-card__source a:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary-dark);
}

.quiz-card__source a:focus-visible,
.example-card__source a:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.quiz-card__source a::after,
.example-card__source a::after {
  content: " ↗";
  font-size: 0.75em;
  display: inline-block;
}

/* ===== Example Grid ===== */
.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.example-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.example-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.example-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.example-card__question {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.6;
}

.example-card__choices {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.example-card__choices li {
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 4px 0;
  line-height: 1.5;
}

.example-card__choices li::before {
  content: "・";
  color: var(--color-primary);
}

.example-card__answer {
  margin-top: 8px;
}

.example-card__answer summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 8px 0;
  user-select: none;
}

.example-card__answer summary:hover {
  color: var(--color-primary);
}

.example-card__answer[open] summary {
  margin-bottom: 12px;
}

.example-card__correct {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-success);
  margin-bottom: 8px;
}

.example-card__explanation {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.example-card__source {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ===== Accuracy List ===== */
.accuracy-list {
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
}

.accuracy-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  font-size: 0.95rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--color-border);
}

.accuracy-list li:last-child {
  border-bottom: none;
}

.accuracy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.4;
}

.accuracy-list a {
  text-decoration: underline;
}

/* ===== Status List ===== */
.status-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  max-width: 400px;
  margin: 0 auto 24px;
}

.status-list dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.status-list dd {
  font-size: 0.9rem;
  margin: 0;
}

.status-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* ===== Pricing ===== */
.pricing-content {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.pricing-content p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ===== Value Grid (overrides feature-grid for 3-value section) ===== */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ===== Responsive additions for new components ===== */
@media (min-width: 600px) {
  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .example-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 599px) {
  .header__status {
    display: none;
  }

  .quiz-card {
    padding: 24px 16px;
  }

  .quiz-card__question {
    font-size: 1.05rem;
  }

  .quiz-card__choice {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
}
