/* VDLGo site styles. System fonts only, no external requests. */
:root {
  color-scheme: light dark;
  --bg: #fbf8f2;
  --bg2: #f1ece1;
  --card: #ffffff;
  --ink: #1a2024;
  --mute: #4b565c;
  --line: #cfc8b8;
  --acc: #0c5b57;        /* teal: links, buttons */
  --acc-ink: #ffffff;
  --hi: #ffb400;         /* amber: decoration only */
  --warn-bg: #fff2c9;
  --warn-ink: #4a3600;
  --focus: #0b3dd6;
  --font: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1518;
    --bg2: #172025;
    --card: #1a252a;
    --ink: #e9eff1;
    --mute: #b3c0c5;
    --line: #3a4a51;
    --acc: #6fdccb;
    --acc-ink: #04201d;
    --hi: #ffc83d;
    --warn-bg: #3a2f0a;
    --warn-ink: #ffe9a8;
    --focus: #9db8ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.75; overflow-wrap: break-word; line-break: strict; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--acc); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--ink); color: var(--bg); padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { top: 0.5rem; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }

/* header */
.site-head { background: var(--bg2); border-bottom: 3px solid var(--hi); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; padding-block: 0.5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.logo svg { width: 2rem; height: 2rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav a, .lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover, .lang a:hover { border-bottom-color: var(--acc); }
.nav a[aria-current="page"] { border-bottom-color: var(--acc); font-weight: 700; }
.lang { margin-inline-start: auto; }
.lang a { border: 1px solid var(--line); border-radius: 6px; }

/* typography */
h1, h2, h3 { line-height: 1.3; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.75rem, 5.5vw, 2.8rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.85rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
section { padding-block: 2.5rem; }
section + section { border-top: 1px dashed var(--line); }
.lead { font-size: 1.1rem; color: var(--mute); max-width: 42rem; }
.eyebrow { font-family: var(--mono); font-size: 0.9rem; color: var(--mute); margin: 0 0 0.5rem; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose li { margin-block: 0.3rem; }
.note { background: var(--warn-bg); color: var(--warn-ink); border-left: 6px solid var(--hi); padding: 0.75rem 1rem; border-radius: 4px; }
.placeholder { background: var(--warn-bg); color: var(--warn-ink); padding: 0 0.3em; border-radius: 3px; font-weight: 700; }

/* hero */
.hero { display: grid; gap: 2rem; align-items: center; padding-block: 3rem 2rem; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.05fr 1fr; } }
.hero figure { margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-block: 1.25rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.25rem; background: var(--acc); color: var(--acc-ink); font-weight: 700; border-radius: 8px; text-decoration: none; border: 2px solid var(--acc); }
.btn:hover { filter: brightness(1.1); }
.btn.alt { background: transparent; color: var(--acc); }
.soon { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1rem; border: 2px dashed var(--line); border-radius: 8px; color: var(--ink); background: var(--card); }
.soon b { margin-inline-end: 0.5rem; }
.small { font-size: 0.9rem; color: var(--mute); }

/* steps */
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--mono); font-weight: 800; position: absolute; top: 0.6rem; right: 0.9rem; font-size: 1.6rem; color: var(--acc); -webkit-text-stroke: 0; }
.steps svg { width: 3rem; height: 3rem; display: block; margin-bottom: 0.5rem; }

/* grids / cards */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.card h3 { margin-top: 0; }
.card ul { padding-inline-start: 1.2rem; margin: 0.5rem 0; }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.8rem; padding: 0.05rem 0.5rem; border: 1px solid var(--mute); border-radius: 999px; color: var(--ink); background: var(--bg2); white-space: nowrap; }
.tag::before { content: "\25CF\00A0"; }
.price { font-size: 2rem; font-weight: 800; margin: 0.25rem 0; line-height: 1.2; }
.price small { font-size: 0.9rem; font-weight: 400; color: var(--mute); }

/* tables: reflow into blocks on narrow screens */
table { border-collapse: collapse; width: 100%; background: var(--card); }
caption { text-align: start; font-weight: 700; padding-block: 0.5rem; }
th, td { border: 1px solid var(--line); padding: 0.6rem 0.75rem; text-align: start; vertical-align: top; }
thead th { background: var(--bg2); }
@media (max-width: 45.99rem) {
  table, caption, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  td { border: 0; border-top: 1px solid var(--line); }
  td::before { content: attr(data-label) "\FF1A"; font-weight: 700; }
  tbody th { background: var(--bg2); border: 0; }
}

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-block: 0.6rem; }
summary { cursor: pointer; min-height: 44px; padding: 0.6rem 1rem; font-weight: 700; display: flex; align-items: center; }
details[open] summary { border-bottom: 1px solid var(--line); }
details > div { padding: 0.5rem 1rem 1rem; }

/* footer */
.site-foot { background: var(--bg2); border-top: 3px solid var(--hi); margin-top: 3rem; padding-block: 2rem; font-size: 0.95rem; }
.foot-nav { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.5rem; }

/* hero SVG palette */
.g-bg { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.g-bar { fill: var(--bg2); }
.g-ink { fill: var(--ink); }
.g-acc { fill: var(--acc); }
.g-hi { fill: var(--hi); }
.g-line { fill: none; stroke: var(--acc); stroke-width: 4; stroke-linecap: round; }
.g-line2 { fill: none; stroke: var(--mute); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-txt { fill: var(--ink); font: 700 15px var(--font); }
.g-sub { fill: var(--mute); font: 13px var(--mono); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .card { transition: filter 0.15s ease, transform 0.15s ease; }
  .card:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .btn, .soon, .card { border: 2px solid CanvasText; } }

/* contact form */
.form { max-width: 36rem; }
.field { margin-block: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.req { font-weight: 400; color: var(--mute); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 44px; padding: 0.55rem 0.7rem; font: inherit; color: var(--ink); background: var(--card); border: 2px solid var(--mute); border-radius: 6px; }
.field textarea { min-height: 10rem; }
.field p { margin: 0.25rem 0 0; }
.field.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.field.check input { width: 1.5rem; height: 1.5rem; margin-top: 0.25rem; flex: none; }
.field.check label { font-weight: 400; margin: 0; }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* consent banner (in-flow region, non-modal) */
button.btn { font: inherit; font-weight: 700; cursor: pointer; }
.cc { background: var(--bg2); border-bottom: 3px solid var(--acc); padding-block: 1rem; }
.cc h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cc h2:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.cc-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 0.75rem; }
.cc-fs { border: 1px solid var(--line); border-radius: 8px; margin: 0.75rem 0; padding: 0.5rem 1rem; }
.cc-opt { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; }
.cc-opt input { width: 1.4rem; height: 1.4rem; flex: none; }
.cc-opt label { font-weight: 700; }
.cc-d { margin: 0 0 0.5rem 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.linkbtn { font: inherit; color: var(--acc); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 44px; padding: 0 0.5rem; }

[hidden] { display: none !important; }

.testband { margin: 0; padding: 0.6rem 1rem; background: #8a0017; color: #fff; font-weight: 700; text-align: center; }

/* plan cards: payment style badge (icon + words) */
.pay { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0.25rem 0 0.5rem; padding: 0.15rem 0.75rem 0.15rem 0.5rem; border: 2px solid var(--acc); border-radius: 999px; background: var(--bg2); color: var(--ink); font-weight: 700; font-size: 0.95rem; line-height: 1.5; }
.pay svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--acc); }
.pay-once { background: var(--acc); color: var(--acc-ink); }
.pay-once svg { color: var(--acc-ink); }
.price.usd { font-size: 1.35rem; font-weight: 700; margin-top: 0; }
.compare-note { max-width: 46rem; padding: 0.75rem 1rem; border-left: 6px solid var(--acc); background: var(--bg2); border-radius: 4px; }
