/*
 * Free website pilot page (/free-website/, /en/free-website/), layered on package.css.
 * Generated by brand-src/pilot.py. Previews are screenshots of the real sample sites.
 */

/* 日本語 / EN switch: always visible, also on phones */
.lang-toggle { display: inline-flex; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-toggle a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.25rem; padding: 0 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--ink); letter-spacing: 0; }
.lang-toggle a[aria-current] { background: var(--ink); color: var(--bg); }
.lang-toggle a:not([aria-current]):hover { text-decoration: underline; }
.lang-toggle-foot { margin-left: 0; }
@media (max-width: 39.99rem) { .pilot .btn-header { display: none; } }
@media (max-width: 22.5rem) { .lang-toggle a { min-width: 2.5rem; padding: 0 0.5rem; } .pilot .header-row { gap: 0.35rem; } }
@media (min-width: 64rem) and (max-width: 79.99rem) { .pilot .header-nav a { padding: 0 0.5rem; font-size: 0.9rem; } }

.fict-label { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 4px; background: var(--stone); color: var(--ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.opt-en { color: var(--muted); font-weight: 400; }

/* Hero */
.pilot-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
html[lang="ja"] .pilot-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); line-height: 1.4; }
.pilot-hero .lead b { color: var(--kaki-text); }
.gains { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.gains li { display: grid; grid-template-columns: 1.05rem minmax(0, 1fr); column-gap: 0.7rem; }
.gains li::before { content: ""; width: 1.05rem; height: 0.72rem; margin-top: 0.5em; border-radius: var(--stone-shape); background: var(--ink); transform: rotate(-6deg); }
.gains li:last-child::before { background: var(--kaki); }
.gains b { font-weight: 700; }
.gains span { grid-column: 2; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.pilot-hero .actions { margin-top: 1.75rem; }

/* Hero carousel: one sample at a time (computer + phone), cross-fading */
.hero-carousel { margin: 0; min-width: 0; }
.hc-slides { display: grid; }
.hc-slide { grid-area: 1 / 1; position: relative; display: block; padding: 0 1.5rem 2rem 0; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.hc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s ease; }
.hs-desktop { display: block; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hs-desktop img { display: block; width: 100%; height: auto; }
.hs-phone { position: absolute; right: 0; bottom: 0; width: 29%; border-radius: 22px; overflow: hidden; border: 5px solid #1B2433; background: #1B2433; box-shadow: var(--shadow); }
.hs-phone img { display: block; width: 100%; height: auto; border-radius: 16px; }
.hc-bar { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.75rem; }
.hc-tabs { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }
.hc-tab { display: inline-flex; align-items: baseline; gap: 0.4rem; min-height: 2.5rem; padding: 0.35rem 0.85rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hc-typ { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.hc-tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hc-tab[aria-pressed="true"] .hc-typ { color: var(--stone); }
.hc-pause { width: 2.5rem; height: 2.5rem; margin-left: auto; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface) center / 0.8rem no-repeat; cursor: pointer;
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 0.2rem 0.8rem, 0.2rem 0.8rem; background-position: calc(50% - 0.2rem) 50%, calc(50% + 0.2rem) 50%; }
.hc-pause[aria-pressed="true"] { background-image: none; }
.hc-pause[aria-pressed="true"]::before { content: ""; display: block; margin: 0 auto 0 0.85rem; width: 0; height: 0; border-style: solid; border-width: 0.45rem 0 0.45rem 0.7rem; border-color: transparent transparent transparent var(--ink); }
html:not(.js) .hc-pause { display: none; }
html:not(.js) .hc-slides { gap: 1.5rem; }
html:not(.js) .hc-slide { grid-area: auto; opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .hc-slide, .hc-slide.is-active { transition: none; } }
.pv-bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--stone); }
.pv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #B9BFB2; }

/* Sample cards */
.pilot-samples { background: var(--surface); border-block: 1px solid var(--line); }
.sample-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.sample-card { display: grid; gap: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); min-width: 0; }
.sample-shot { display: block; text-decoration: none; }
.pv { position: relative; padding: 0 1rem 1.5rem 0; }
.pv-desktop { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 1px 2px rgb(27 36 51 / 0.06), 0 10px 24px rgb(27 36 51 / 0.1); transition: transform 0.25s var(--tb-ease, ease); }
.pv-desktop img, .pv-phone img { display: block; width: 100%; height: auto; }
.pv-phone { position: absolute; right: 0; bottom: 0; width: 28%; border: 4px solid #1B2433; border-radius: 18px; overflow: hidden; background: #1B2433; box-shadow: 0 10px 24px rgb(27 36 51 / 0.2); }
.pv-phone img { border-radius: 13px; }
.sample-shot:hover .pv-desktop { transform: translateY(-3px); }
.sample-body { display: grid; gap: 0.6rem; align-content: start; justify-items: start; }
.sample-type { font-weight: 700; color: var(--kaki-text); font-size: 0.95rem; }
.sample-body h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }
.sample-body > p:not(.fict-label):not(.sample-type) { color: var(--muted); }
.sample-does { list-style: none; padding: 0; display: grid; gap: 0.35rem; margin-bottom: 0.6rem; }
.sample-does li { position: relative; padding-left: 1.5rem; }
.sample-does li::before { content: ""; position: absolute; left: 0.1rem; top: 0.48em; width: 0.42rem; height: 0.75rem; border: solid var(--ink); border-width: 0 0.15rem 0.15rem 0; transform: rotate(40deg); }
@media (min-width: 64rem) { .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } .sample-card { padding: 1.75rem; } }

/* What's included */
.pilot-included { background: var(--bg); border: 0; }
.pilot-included .included-grid div { display: grid; gap: 0.15rem; }

/* Terms */
.pilot-terms { background: var(--surface); border-block: 1px solid var(--line); }
.terms-grid { display: grid; gap: 1rem; margin-top: 2.25rem; }
.term { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: grid; gap: 0.75rem; align-content: start; }
.term h3 { font-size: 1.2rem; }
.term ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; }
.term li::marker { color: var(--kaki-text); }
.term-free { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.term-free h3 { color: var(--bg); }
.term-free li::marker { color: #F08A57; }
@media (min-width: 52rem) { .terms-grid { grid-template-columns: 0.75fr 1.15fr 1.1fr; } }

/* Process */
.pilot-process { background: var(--bg); }
.pilot-process .steps h3 { font-size: 1.15rem; }
.pilot-process .steps p { margin-top: 0.2rem; }
.timing { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--kaki-text); background: var(--surface); max-width: 44rem; }

/* FAQ + inquiry */
.pilot .faq { background: var(--surface); border-block: 1px solid var(--line); }
.pilot .contact { background: var(--bg); border-top: 0; }
.pilot .footer-row .lang-toggle { margin-left: auto; }
.pilot .footer-row p { margin-right: 0; }

/* Layout: hero copy + previews side by side on wide screens */
@media (min-width: 64rem) {
  .pilot-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
}

/* QA pass (2026-10-20): alignment, terms layout, wrapping */
.pilot-included .included-grid li { align-items: start; }
.pilot-included .included-grid div { align-content: start; }
.terms-grid { grid-template-columns: minmax(0, 1fr); }
.term-free { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem; padding-block: 1.1rem; }
.term-free p { color: var(--bg); opacity: 0.9; }
.term ul { padding-left: 1.1rem; gap: 0.45rem; }
@media (min-width: 52rem) { .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fict-label, .sample-type, .eyebrow, .kicker span, .step-no { white-space: nowrap; }
.sample-body .btn { white-space: nowrap; }
@media (max-width: 22.5rem) { .sample-card { padding: 1rem; } .sample-body .btn { padding-inline: 1rem; } }
.pilot :is(li, dd, summary, figcaption, .gains span, .cta-note, .lead, .section-lead, .timing) { text-wrap: pretty; }
html[lang="ja"] .pilot :is(p, li, dd, summary, figcaption, .gains span, h3, b) { word-break: auto-phrase; text-wrap: pretty; }

/* First screen (2026-10-20): buttons right after the lead, benefits below them; headline sized to fit a laptop window */
.pilot-hero { padding-top: 1.5rem; }
.pilot-hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); }
html[lang="ja"] .pilot-hero h1 { font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.7rem); line-height: 1.38; }
.pilot-hero .lead { margin-top: 1rem; }
.pilot-hero .actions { margin-top: 1.5rem; }
.pilot-hero .gains { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 64rem) { .pilot-hero { padding-block: 2rem 4.5rem; } .pilot-hero .hero-grid { align-items: start; } .hero-carousel { margin-top: 2.5rem; } }
@media (min-width: 80rem) { .nobr { white-space: nowrap; } }

/* Carousel, refined (2026-10-20): smaller corner phone, one tidy control row with a progress line */
.hc-slide { padding: 0 0 1.75rem; transform: translateY(6px); transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s; }
.hc-slide.is-active { transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.hs-desktop { width: 90%; border-radius: 10px; }
.hs-phone { width: 23%; right: 0; bottom: 0; border-width: 4px; border-radius: 20px; }
.hs-phone img { border-radius: 15px; }
.hc-bar { margin-top: 0.75rem; gap: 0.5rem 0.6rem; }
.hc-tabs { display: inline-flex; gap: 0; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.hc-tab { position: relative; overflow: hidden; min-height: 2.35rem; padding: 0.3rem 0.95rem; border: 0; border-radius: 999px; background: transparent; font-size: 0.85rem; }
.hc-tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hc-tab::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.3rem; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.55; transform: scaleX(0); transform-origin: left; }
.hero-carousel.is-playing .hc-tab[aria-pressed="true"]::after { animation: hc-progress 6s linear forwards; }
@keyframes hc-progress { to { transform: scaleX(1); } }
.hc-pause { width: 2.35rem; height: 2.35rem; margin-left: 0; border-width: 1.5px; background-size: 0.18rem 0.7rem, 0.18rem 0.7rem; }
.hc-pause[aria-pressed="true"]::before { margin-left: 0.8rem; border-width: 0.38rem 0 0.38rem 0.6rem; }
.hc-note { margin-left: auto; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 30rem) { .hc-note { margin-left: 0; flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .hc-slide { transform: none; } .hero-carousel.is-playing .hc-tab[aria-pressed="true"]::after { animation: none; } }

/* Benefits above the buttons again (Tim, 2026-10-20), one line each: label, then description */
.pilot-hero .gains { margin-top: 1.4rem; padding-top: 0; border-top: 0; gap: 0.45rem; }
.pilot-hero .gains li { grid-template-columns: 1.05rem minmax(0, 1fr); align-items: baseline; }
.pilot-hero .gains li::before { margin-top: 0; transform: translateY(0.05em) rotate(-6deg); }
.pilot-hero .gains li > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.75rem; }
.pilot-hero .gains span { grid-column: auto; }
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .pilot-hero .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2.5rem; }
  .pilot-hero .lead { font-size: 1.1rem; }
  .pilot-hero .gains span { font-size: 0.92rem; }
}

/* Hero fills the first screen on laptops/desktops (Tim, 2026-10-20): content centred, preview uses the full column */
@media (min-width: 64rem) and (min-height: 36rem) {
  .pilot-hero { min-height: calc(100svh - 4rem); max-height: 64rem; display: grid; align-items: center; padding-block: 1.5rem 2.5rem; }
  .pilot-hero .hero-grid { align-items: center; }
  .hero-carousel { margin-top: 0; }
  .hs-desktop { width: 92%; }
}
@media (min-width: 80rem) { .pilot-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; } }

/* Touch sizes (2026-10-20): language switch, carousel controls and the consent row at least 44px */
.lang-toggle a { min-height: 2.75rem; }
.hc-tab { min-height: 2.75rem; }
.hc-pause { width: 2.75rem; height: 2.75rem; }
.consent-check { min-height: 2.75rem; align-items: center; }
.consent-check input { margin-top: 0; width: 1.4rem; height: 1.4rem; }
@media (min-width: 21rem) { .lang-toggle a[lang="en"] { min-width: 2.75rem; } }
@media (min-width: 64rem) and (max-width: 79.99rem) { .pilot-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 2.25rem; } }
@media (min-width: 64rem) and (max-height: 44rem) { .pilot-hero { padding-block: 0.75rem 1.5rem; } .pilot-hero .kicker { margin-bottom: 0.6rem; } .pilot-hero .gains { margin-top: 1.1rem; } .pilot-hero .actions { margin-top: 1.25rem; } }

/* Carousel controls, spacing fix (2026-10-20): centred labels, no underline; progress is a ring on the pause button,
   which matches the switch's height */
.hc-bar { align-items: center; }
.hc-tab { align-items: center; justify-content: center; line-height: 1.2; padding: 0 1.1rem; }
.hc-tab::after { content: none; }
.hc-pause { position: relative; align-self: stretch; width: auto; height: auto; aspect-ratio: 1; min-width: 2.75rem; }
@property --hc-p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.hc-pause::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--ink) var(--hc-p), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }
.hero-carousel.is-playing .hc-pause::after { animation: hc-ring 6s linear forwards; }
@keyframes hc-ring { from { --hc-p: 0%; } to { --hc-p: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-carousel.is-playing .hc-pause::after { animation: none; } }
.hc-pause { align-self: center; width: 3.25rem; height: 3.25rem; aspect-ratio: auto; }
.hc-pause { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); }
.hc-pause::after { inset: 0; }
/* Play icon centred (2026-10-20): grid-centre the triangle, nudged 2px right so it looks optically centred */
.hc-pause { display: grid; place-items: center; padding: 0; }
.hc-pause[aria-pressed="true"]::before { margin: 0; transform: translateX(2px); border-width: 0.45rem 0 0.45rem 0.72rem; }
