:root {
  color-scheme: light;
  --ink: #18201e;
  --muted: #4f5d58;
  --line: #dbe3df;
  --paper: #ffffff;
  --surface: #f4f8f6;
  --green: #08774a;
  --green-dark: #075c3a;
  --blue: #155b85;
  --focus: #0b7eae;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 40px, 1040px); margin-inline: auto; }
.content { width: min(100% - 40px, 760px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.nav a:hover { color: var(--green-dark); }

.intro { padding: 72px 0 68px; background: var(--surface); border-bottom: 1px solid var(--line); }
.studio-intro { padding: 62px 0 56px; background: var(--surface); border-bottom: 1px solid var(--line); }
.app-entry { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; max-width: 720px; padding: 24px 0; border-top: 2px solid var(--ink); }
.app-entry img { width: 72px; height: 72px; border-radius: 8px; }
.app-entry p { margin: 0 0 10px; color: var(--muted); }
.app-entry a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: center; gap: 40px; }
.intro-icon { width: 132px; height: 132px; border-radius: 20px; box-shadow: 0 10px 30px rgba(13, 40, 29, .12); }
.eyebrow { margin: 0 0 10px; color: var(--green-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.18; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); font-weight: 760; }
h2 { margin: 0 0 16px; font-size: 26px; }
h3 { margin: 0 0 8px; font-size: 18px; }
.lede { max-width: 650px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.meta { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-lede { color: var(--muted); margin-top: 0; }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.link-item { padding: 22px 0; border-top: 2px solid var(--ink); }
.link-item p { margin: 0 0 12px; color: var(--muted); }
.link-item a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.steps { display: grid; gap: 0; list-style: none; margin: 24px 0 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--green-dark); font-weight: 800; }
.steps p { margin: 0; color: var(--muted); }
.steps strong { display: block; color: var(--ink); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 700; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.notice { padding: 16px 18px; border-left: 4px solid var(--green); background: var(--surface); }
.notice p { margin: 0; }
.contact-list { margin: 20px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: inline-block; min-width: 155px; }
.pending { color: #74511b; font-weight: 700; }

.policy { padding: 50px 0 80px; }
.policy section { margin-top: 42px; }
.policy p, .policy li { color: #33413b; }
.policy ul { padding-left: 23px; }
.policy li + li { margin-top: 8px; }
.policy h2 { padding-top: 10px; border-top: 1px solid var(--line); }

.site-footer { padding: 28px 0 38px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 680px) {
  .container, .content { width: min(100% - 32px, 760px); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 0; }
  .nav { gap: 6px 18px; }
  .intro { padding: 48px 0; }
  .studio-intro { padding: 46px 0; }
  .app-entry { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .app-entry img { width: 56px; height: 56px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-icon { width: 84px; height: 84px; border-radius: 14px; grid-row: 1; }
  .link-grid { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 42px 0; }
  .contact-list strong { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
