/* 吹奏楽セッティング サポートサイト — パターンA「ギャラリー」
   トークンの正本は docs/sitedesign_update/DESIGN.md。値を変えるときは両方を更新する。 */

:root {
  /* 面 */
  --bg: #FBF9F4;            /* brandCanvas：ページ背景 */
  --surface: #FFFFFF;       /* カード・ナビ */
  --fill: #EFECE4;          /* 動画の下地 */
  --line: #E7E2D8;          /* hairline：1px の境界線 */
  /* 文字 */
  --heading: #35356F;       /* brandArchOuter：見出し */
  --text: #3D3A35;          /* 本文 */
  --muted: #6E685E;         /* 補助（textSecondary を AA 用に濃くした値） */
  /* アクセント */
  --accent: #4E4E9E;
  --on-accent: #FFFFFF;
  --accent-tint: #E9E9F6;
  --on-accent-tint: #3F3F8C;
  --arch-inner: #9A98C9;    /* 波線・タグの線 */
  /* 装飾（楽器色・背景のにじみ専用） */
  --wash-flute: #B8D654;
  --wash-sax: #F5CC47;
  --wash-trumpet: #D961A8;
  --wash-trombone: #8F75C2;
  --wash-arch: #9A98C9;

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --r-card: 40px;
  --r-media: 30px;
  --r-frame: 64px;
  --r-pill: 999px;

  --page-max: 1200px;
  --gutter: 24px;
  --section-gap: 120px;
  --card-pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 16px; border-radius: var(--r-pill); }

.container { width: min(var(--page-max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ボタン：すべてピル。塗りは 1 画面 1〜2 個まで */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font: 700 16px/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: opacity .08s ease-out;
}
.btn:active { opacity: .82; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

/* ナビ：浮いたピル */
.nav-wrap { position: sticky; top: 0; z-index: 5; padding: 24px var(--gutter) 0; top: env(safe-area-inset-top, 0px); }
.nav {
  max-width: var(--page-max); margin: 0 auto; height: 64px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 40px;
  padding: 0 10px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font: 700 19px/1 var(--font-display); white-space: nowrap; }
.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--accent); }
/* モバイルで常時見えるサポートリンク（デスクトップは nav__links が担う） */
.nav__support { display: none; }

/* ヒーロー */
.hero { padding: 88px 0 64px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.tag { display: inline-flex; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--arch-inner); color: var(--on-accent-tint); font-size: 14px; font-weight: 500; line-height: 1.5; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.2; font-weight: 800; }
.mark { position: relative; display: inline-block; }
.squiggle { position: absolute; left: -6px; bottom: -0.14em; width: calc(100% + 12px); height: 0.3em; }
.squiggle path { fill: none; stroke: var(--arch-inner); stroke-width: 7; stroke-linecap: round; }
.lead { max-width: 700px; font-size: clamp(16px, 1.6vw, 19px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 4px; }
/* flex カラムの子（見出し・リード等）が content 幅に広がってページを横にはみ出すのを防ぐ */
.hero > * { max-width: 100%; min-width: 0; }

/* 製品画面の枠：背景のにじみは画像の後ろだけに使う */
.showcase { position: relative; overflow: hidden; padding: 40px var(--gutter); }
.showcase__wash i { position: absolute; display: block; filter: blur(2px); }
.showcase__wash i:nth-child(1) { left: 3%;  top: 8%;  width: 36%; height: 55%; background: var(--wash-flute);    opacity: .30; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
.showcase__wash i:nth-child(2) { right: -2%; top: 2%; width: 39%; height: 58%; background: var(--wash-trumpet);  opacity: .20; border-radius: 58% 42% 40% 60% / 44% 56% 44% 56%; }
.showcase__wash i:nth-child(3) { left: 18%; bottom: -6%; width: 44%; height: 52%; background: var(--wash-sax);   opacity: .30; border-radius: 50% 50% 42% 58% / 58% 46% 54% 42%; }
.showcase__wash i:nth-child(4) { right: 0;  bottom: 0;  width: 33%; height: 48%; background: var(--wash-trombone); opacity: .25; border-radius: 44% 56% 60% 40%; }
.showcase__wash i:nth-child(5) { left: 42%; top: 15%;  width: 29%; height: 45%; background: var(--wash-arch);     opacity: .35; border-radius: 50%; }
.showcase__frame {
  position: relative; max-width: 1160px; margin: 0 auto;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(231, 226, 216, .9);
  border-radius: var(--r-frame); padding: clamp(20px, 4vw, 40px) clamp(12px, 3vw, 40px);
  display: flex; justify-content: center;
}
.showcase__frame img { width: min(1000px, 100%); }

/* 想定する利用者 */
.audience { padding-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.audience p { font-size: 15px; color: var(--muted); }
.audience ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; font-size: 20px; font-weight: 700; }

/* セクション共通 */
.section { padding-top: var(--section-gap); }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.25; font-weight: 800; }
.section__head p { max-width: 640px; font-size: 18px; }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* カード：白・1px 線・角丸 40・影なし */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.feature { padding: var(--card-pad); display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: 26px; line-height: 1.35; font-weight: 800; margin-top: 6px; }
.card__visual { height: 210px; border-radius: 26px; background: var(--accent-tint); padding: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.icon-badge { width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--on-accent-tint); display: inline-flex; align-items: center; justify-content: center; }

/* 楽器色の丸（色はアプリの InstrumentStyle と同じ） */
.inst { width: 50px; height: 50px; border-radius: var(--r-pill); background: var(--c); color: var(--fg); font: 700 13px/1 var(--font-body); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inst--sm { width: 30px; height: 30px; font-size: 10px; }
.inst--lg { width: 64px; height: 64px; font-size: 16px; }
.inst--guest { border: 2px dashed #FFFFFF; outline: 2px dashed var(--heading); outline-offset: 4px; }

.roster { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.roster li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.roster li + li { border-top: 1px solid #F4F1EA; }
.roster__name { flex-grow: 1; display: flex; flex-direction: column; font-size: 13px; font-weight: 700; color: #211F1C; line-height: 1.4; }
.roster__name small { font-size: 10px; font-weight: 400; color: var(--muted); }
.chip { font-size: 10px; padding: 2px 8px; border-radius: var(--r-pill); background: #F3F0E9; color: var(--muted); }
.palette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; justify-items: center; }
.guest { margin: 0; display: flex; gap: 40px; }
.guest > span { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.guest figcaption { font-size: 13px; }

/* 動画 */
.videos { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gutter); }
.video { padding: 12px; display: flex; flex-direction: column; }
.video__media { position: relative; height: 470px; border-radius: var(--r-media); overflow: hidden; background: var(--fill); }
.video__media video { width: 100%; height: 100%; object-fit: contain; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255, 255, 255, .94);
  color: #211F1C; font: 700 15px/1 var(--font-body); cursor: pointer;
}
.video__play { z-index: 1; }
.video__play[hidden] { display: none; }
.video__media:has(.video__play:not([hidden]))::after { content: ""; position: absolute; inset: 0; background: rgba(33, 31, 28, .18); }
.video__play-icon { width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; }
.video--ipad .video__play-icon { width: 76px; height: 76px; }
.video__body { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.video__body h3 { font-size: 22px; font-weight: 800; }
.video__body p { font-size: 15px; line-height: 1.7; }

/* はじめかた（順番のある内容なので番号を付ける） */
.step { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step__num { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--on-accent-tint); font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-size: 20px; line-height: 1.4; font-weight: 800; }
.step p { font-size: 15px; line-height: 1.75; }

/* よくある質問 */
.faq { max-width: 960px; margin: 0 auto; padding: 8px 48px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 20px; font-weight: 700; line-height: 1.5; }
.faq .chev { color: var(--muted); flex-shrink: 0; transition: transform .08s ease-out; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding-bottom: 26px; max-width: 820px; }

/* お問い合わせ */
.contact { padding: 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; color: var(--on-accent-tint); }
.contact--primary { background: var(--accent-tint); }
.contact h2 { font-size: 28px; font-weight: 800; }
.contact p { color: var(--text); }
.contact .btn { margin-top: 8px; min-height: 48px; font-size: 15px; }

/* フッター */
.footer { padding: 64px 0 48px; margin-top: var(--section-gap); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer .brand { font-size: 17px; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; }

/* レスポンシブ */
@media (max-width: 1024px) {
  :root { --section-gap: 96px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos { grid-template-columns: 1fr; }
  .video__media { height: auto; aspect-ratio: 16 / 11; }
  .video--iphone .video__media { aspect-ratio: 4 / 5; max-height: 560px; }
  .nav__links { gap: 20px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section-gap: 80px; --card-pad: 24px; --r-card: 28px; --r-frame: 36px; }
  .nav-wrap { padding-top: 12px; }
  /* モバイルのナビは1行に収める：ブランド名＋サポート＋小さな言語切替。
     文字とトグルを小さくして全部1行に入れる。App Store ボタンは隠す（同じCTAがヒーローにある）。 */
  /* 1行：ブランド名＋サポート＋コンパクトな言語トグル。足りなければ名前だけ省略、
     サポート・トグルは必ず全部見せる。App Store は隠す（ヒーローに同じCTA）。 */
  .nav { height: 56px; padding: 0 12px 0 16px; gap: 10px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand__icon { width: 26px; height: 26px; }
  .brand span { font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .nav__support { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
  .nav__right, .langtoggle { flex-shrink: 0; }
  .langtoggle { padding: 6px 10px; font-size: 12px; min-height: 36px; gap: 4px; }
  /* ヒーロー見出しが狭い画面で横にはみ出す（＝ページ全体が横スクロールしナビがずれる）のを防ぐ */
  .hero h1 { font-size: 34px; }
  .hero { padding: 56px 0 40px; }
  .actions .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .audience ul { font-size: 16px; gap: 8px 20px; }
  .section__head { margin-bottom: 36px; }
  .section__head p { font-size: 16px; }
  .feature h3 { font-size: 22px; }
  .faq { padding: 4px 24px; }
  .faq summary h3 { font-size: 17px; }
  .contact { padding: 28px; }
}
@media (max-width: 420px) {
  .btn--sm span { display: none; }
  .btn--sm { width: 44px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============================================================
   追加：実アプリアイコン・ヒーロー背景写真・サブページ（使い方 / プライバシー / Android希望）
   ============================================================ */

/* 言語切り替え（サブページはバイリンガル。<html data-lang> で切り替え） */
html[data-lang="en"] .lang-ja { display: none !important; }
html[data-lang="ja"] .lang-en { display: none !important; }

/* ブランド：実アプリアイコンのタイル */
.brand__icon { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); display: block; flex-shrink: 0; background: var(--bg); }
.footer .brand__icon { width: 28px; height: 28px; }

/* ヒーロー背景写真（差し替え用プレースホルダ）。full-bleed の帯として置く */
.topband { position: relative; }
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: url("assets/hero-photo.png?v=3") center 68% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,249,244,.68) 0%, rgba(251,249,244,.78) 44%, rgba(251,249,244,.90) 76%, rgba(251,249,244,.98) 92%, var(--bg) 100%); }
.topband .hero { position: relative; z-index: 1; }
/* 写真の上でも見出しが読めるよう、淡いクリームの光彩で文字を分離する */
.topband .hero h1 { text-shadow: 0 1px 12px rgba(251,249,244,.85), 0 0 2px rgba(251,249,244,.9); }
.topband .hero .lead, .topband .hero .tag { text-shadow: 0 1px 8px rgba(251,249,244,.9); }

/* 浮いたナビの右側（サブページ：言語切り替え＋App Store） */
.nav__right { display: inline-flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; background: var(--surface); }
.lang-switch button { border: 0; background: transparent; color: var(--muted); font: 500 14px/1 var(--font-body); padding: 8px 13px; min-height: 40px; cursor: pointer; white-space: nowrap; }
.lang-switch button.active { background: var(--accent); color: var(--on-accent); }

/* コンパクトな言語トグル（1ボタンで日本語↔English を切替。地球アイコン＋切替先の言語名） */
.langtoggle { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--on-accent-tint); font: 700 13px/1 var(--font-body); padding: 8px 13px; min-height: 40px; cursor: pointer; white-space: nowrap; transition: border-color .08s ease-out, color .08s ease-out; }
.langtoggle:hover { border-color: var(--accent); color: var(--accent); }
.langtoggle svg { flex-shrink: 0; }

/* 読みもの（プロース）ページ */
.page { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: 64px; padding-bottom: 24px; }
.page .eyebrow { display: block; color: var(--on-accent-tint); font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.page h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.2; font-weight: 800; }
.page .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin-top: 16px; }
.page h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; font-weight: 800; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.page h3 { font-size: 20px; line-height: 1.4; font-weight: 700; margin-top: 32px; }
.page p { margin-top: 12px; }
.page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.page ul, .page ol { padding-left: 1.3em; margin-top: 12px; }
.page ul { list-style: disc; }
.page ol { list-style: decimal; }
.page li { margin: 8px 0; }
.page code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--fill); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.page pre.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; display: block; padding: 16px 18px; margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 14px; line-height: 1.7; }
.page table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.page th, .page td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.page th { background: var(--fill); font-weight: 700; }
.page tr:last-child td { border-bottom: 0; }
.note { background: var(--accent-tint); border: 1px solid #D9D8EE; border-radius: 18px; padding: 16px 18px; margin-top: 18px; color: var(--on-accent-tint); }
.back-link { margin-bottom: 14px; font-size: 14px; }
.back-link a { color: var(--muted); text-decoration: none; }
.back-link a:hover { color: var(--accent); }

/* プロース内のボタン：ピル塗り（.page a の色指定に負けないよう明示） */
.page .btn { text-decoration: none; }
.page .btn--primary { color: var(--on-accent); }
.page .btn--ghost { color: var(--text); }

/* 目次つき 2 カラム（サポートページ） */
.doc { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 24px; }
.doc > .page { width: auto; max-width: 760px; margin-inline: 0; padding-top: 0; padding-bottom: 0; }
.toc { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc .back-link { margin-bottom: 16px; }
.toc .back-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; }
.toc .back-link a:hover { color: var(--accent); }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin: 4px 0 8px 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; }
.toc a:hover { background: var(--fill); color: var(--text); }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* ステップ番号付きリスト（プロース内） */
.page ol.steps { counter-reset: step; list-style: none; padding-left: 0; }
.page ol.steps > li { position: relative; padding-left: 46px; margin: 14px 0; }
.page ol.steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--on-accent-tint); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }

/* スクリーンショット */
.shots { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; }
.shots figure { flex: 1 1 240px; max-width: 300px; margin: 0; text-align: center; }
.shots img { width: 100%; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Android・Web版の希望フォーム */
.wish-form { margin: 28px 0; padding: var(--card-pad); }
.wish-form .field { margin-bottom: 22px; }
.wish-form .field-label { display: block; font-weight: 700; margin-bottom: 8px; }
.wish-form input[type="email"] { width: 100%; max-width: 380px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font: inherit; background: var(--surface); color: var(--text); }
.wish-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 18px; font: inherit; line-height: 1.7; background: var(--surface); color: var(--text); resize: vertical; min-height: 132px; }
.wish-form input[type="email"]:focus-visible, .wish-form input[type="radio"]:focus-visible, .wish-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wish-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.wish-form legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.wish-form .radio-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.wish-form .radio-row label { display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.wish-form .hint { color: var(--muted); font-size: 14px; margin-top: 12px; }
.wish-form .submit { border: 0; cursor: pointer; margin-top: 6px; }
.wish-form .submit:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--accent-tint); color: var(--on-accent-tint); }
.flash-error { background: #FBEAEA; color: #7A2E2E; }
.flash:target { display: block; }

@media (max-width: 760px) {
  .page h2 { margin-top: 48px; }
}
@media (max-width: 420px) {
  .lang-switch button { padding: 8px 10px; }
}
