/* letsboot JP — standalone static site.
   Design ported from www.letsboot.ch (web/src/styles/global.css :root tokens).
   Self-contained: no build step, no framework. */

:root {
  --c-bg: #ffffff;
  --c-fg: #15181d;
  --c-muted: #5b6470;
  --c-line: #e3e7ec;
  --c-soft: #f5f7f9;
  --c-brand: #e8482b; /* letsboot orange-red */
  --c-brand-fg: #ffffff;
  --c-ink: #0d1b2a;

  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  --radius: 10px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--c-fg);
  background: var(--c-bg);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

a {
  color: var(--c-brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 var(--sp-4);
}

.btn {
  display: inline-block;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
}
.btn--primary {
  background: var(--c-brand);
  color: var(--c-brand-fg);
}
.btn--primary:hover {
  text-decoration: none;
  filter: brightness(0.94);
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand:hover {
  text-decoration: none;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.header-right {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: 0.9rem;
}
.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  color: var(--c-muted);
}
.lang-switch a,
.lang-switch span {
  color: var(--c-muted);
  font-weight: 600;
}
.lang-switch .active {
  color: var(--c-ink);
}
.header-contact {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.3;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--c-soft) 0%, #ffffff 60%);
  border-bottom: 1px solid var(--c-line);
}
.hero .wrap {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  max-width: 820px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-brand);
  margin-bottom: var(--sp-3);
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--c-muted);
  margin-bottom: 0;
}

/* ---------- Sections ---------- */
section {
  padding: var(--sp-16) 0;
}
section + section {
  border-top: 1px solid var(--c-line);
}
.section-lead {
  max-width: 760px;
  color: var(--c-fg);
}
.section-lead p {
  color: var(--c-muted);
}

/* ---------- Course card ---------- */
.card {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(var(--sp-6), 4vw, var(--sp-12));
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.04);
}
.card .kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-brand);
  margin-bottom: var(--sp-2);
}

.trainers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin: var(--sp-8) 0;
}
.trainer {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.trainer img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-line);
}
.trainer .t-name {
  font-weight: 700;
  color: var(--c-ink);
}
.trainer .t-role {
  font-size: 0.85rem;
  color: var(--c-muted);
}

.course-body {
  max-width: 760px;
  color: var(--c-muted);
}
.course-body p {
  color: var(--c-muted);
}

.cta-box {
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-line);
}
.cta-box h3 {
  margin-bottom: var(--sp-2);
}
.cta-mail {
  display: inline-block;
  margin-top: var(--sp-3);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: #cdd6e0;
  padding: var(--sp-12) 0;
  font-size: 0.9rem;
}
.site-footer a {
  color: #fff;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.site-footer .f-brand {
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .site-header .wrap {
    gap: var(--sp-3);
  }
  .header-right {
    gap: var(--sp-4);
    width: 100%;
    justify-content: space-between;
  }
  .trainer img {
    width: 72px;
    height: 72px;
  }
}
