:root {
  --navy: #07111f;
  --navy-soft: #101b2d;
  --ink: #101720;
  --muted: #5d6c7c;
  --red: #a7474f;
  --red-dark: #843941;
  --cyan: #73c6cd;
  --line: #d9dde1;
  --paper: #fbfbfa;
  --white: #ffffff;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / .1);
  color: #f7f2e9;
  background: rgb(7 17 31 / .96);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 54px;
  height: 64px;
  display: grid;
  place-items: center;
  align-self: flex-start;
  padding: .65rem .55rem;
  background: var(--red);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.brand-copy { display: grid; gap: .05rem; }
.brand-copy strong { font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-copy span { color: #9fb0c1; font-size: .78rem; letter-spacing: .06em; }
.top-nav { display: flex; align-items: center; gap: 1.2rem; }
.top-nav a { color: #dce5eb; font-size: .9rem; font-weight: 700; text-decoration: none; }
.language { display: flex; align-items: center; gap: .35rem; padding-left: 1rem; border-left: 1px solid rgb(255 255 255 / .18); }
.language button, .language a { border: 0; padding: .35rem .4rem; color: #f7f2e9; background: transparent; cursor: pointer; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.language button[aria-pressed="true"], .language a[aria-current="true"] { color: var(--cyan); pointer-events: none; }
.language button:disabled { color: #687788; cursor: not-allowed; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-soft), var(--navy) 67%);
  color: #f7f2e9;
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 22%, #d6d7d8 22% 100%);
}
.hero-inner {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 520px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 2rem;
  padding: 5.5rem 0 5rem;
}
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; text-wrap: balance; }
h1 { margin-bottom: 1.2rem; font: 400 clamp(3rem, 6vw, 5.6rem)/.98 Georgia, "Times New Roman", serif; }
.hero-copy { max-width: 620px; color: #c4d0da; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-art { width: 112%; max-height: 450px; object-fit: contain; filter: drop-shadow(0 26px 40px rgb(0 0 0 / .24)); }

.section { width: min(calc(100% - 2rem), var(--content)); margin: auto; padding: 5rem 0; }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: end; margin-bottom: 2.4rem; }
.section-heading h2 { margin-bottom: 0; font: 400 clamp(2.25rem, 4vw, 3.6rem)/1.04 Georgia, serif; }
.section-heading p { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.session-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 18px 55px rgb(7 17 31 / .07);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.session-card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 24px 70px rgb(7 17 31 / .13); }
.card-art { height: 178px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, #f8fafb, #edf3f5); }
.card-art img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.1); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.45rem 1.5rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.status { padding: .2rem .5rem; border: 1px solid #cfd6db; color: #667687; background: #f5f7f8; letter-spacing: .06em; }
.status.ready { border-color: rgb(115 198 205 / .55); color: #246b70; background: #effafa; }
.card-body h3 { margin-bottom: .8rem; font: 400 1.7rem/1.12 Georgia, serif; }
.card-body p { margin: 0 0 1.2rem; color: var(--muted); }
.card-link { margin-top: auto; color: var(--ink); font-weight: 800; }
.card-link::after { content: " →"; color: var(--red); }

.principles { border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.principle { padding-top: 1rem; border-top: 4px solid var(--red); }
.principle:nth-child(2) { border-color: #7896bd; }
.principle:nth-child(3) { border-color: var(--cyan); }
.principle h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.principle p { margin: 0; color: var(--muted); }

.site-footer { color: #9eacbc; background: var(--navy); }
.footer-inner { width: min(calc(100% - 2rem), var(--content)); margin: auto; padding: 2.5rem 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }

.guide-hero { color: #f7f2e9; background: linear-gradient(145deg, var(--navy-soft), var(--navy) 67%); }
.guide-hero-inner { width: min(calc(100% - 2rem), var(--content)); margin: auto; padding: 4.5rem 0 4rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 2.2rem; color: #9fb0c1; font-size: .86rem; }
.breadcrumbs a { color: #dce5eb; text-decoration: none; }
.guide-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.guide-title-row h1 { max-width: 850px; margin-bottom: .9rem; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.guide-intro { max-width: 720px; margin: 0; color: #bdcad4; font-size: 1.12rem; }
.guide-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .72rem 1.05rem; border: 1px solid rgb(255 255 255 / .26); color: #f7f2e9; background: transparent; font-weight: 800; text-decoration: none; }
.button.primary { border-color: var(--red); background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button.disabled { color: #8493a2; background: rgb(255 255 255 / .04); cursor: default; }
.guide-layout { width: min(calc(100% - 2rem), var(--content)); margin: auto; display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 4rem; padding: 4rem 0 6rem; }
.contents { position: sticky; top: 110px; align-self: start; padding: 1.2rem 0; border-top: 4px solid var(--red); }
.contents strong { display: block; margin-bottom: .75rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.contents a { display: block; padding: .42rem 0; color: var(--muted); text-decoration: none; }
.contents a:hover { color: var(--red); }
.guide-content { min-width: 0; }
.guide-section { scroll-margin-top: 110px; padding: 0 0 4rem; }
.guide-section + .guide-section { padding-top: 4rem; border-top: 1px solid var(--line); }
.guide-section h2 { margin-bottom: 1rem; font: 400 clamp(2rem, 4vw, 3.2rem)/1.08 Georgia, serif; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.safety-grid, .service-grid, .challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.safety-item { padding: 1.2rem; border-top: 4px solid var(--red); background: #fff; box-shadow: 0 10px 30px rgb(7 17 31 / .05); }
.safety-item:nth-child(2) { border-color: #7896bd; }
.safety-item:nth-child(3) { border-color: var(--cyan); }
.safety-item strong { display: block; margin-bottom: .35rem; }
.safety-item p { margin: 0; color: var(--muted); }
.prompt-pattern { margin: 1.7rem 0; padding: 1.6rem; border-left: 7px solid var(--red); background: #fff; box-shadow: 0 16px 45px rgb(7 17 31 / .06); }
.pattern-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: 1rem; }
.pattern-grid span { padding: .85rem; border: 1px solid var(--line); font-size: .92rem; }
.pattern-grid b { display: block; margin-bottom: .25rem; color: var(--red); }
.copy-example { position: relative; margin-top: 1rem; padding: 1.2rem 7.5rem 1.2rem 1.2rem; border: 1px solid #ccd5dd; background: #f3f7f8; color: #24313e; font: 1rem/1.6 Georgia, serif; }
.copy-example button { position: absolute; top: .75rem; right: .75rem; padding: .45rem .65rem; border: 1px solid #aebbc5; background: #fff; cursor: pointer; font: 700 .78rem Arial, sans-serif; }
.service-block { scroll-margin-top: 110px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2rem; padding: 2.2rem 0; }
.service-block + .service-block { border-top: 1px solid var(--line); }
.service-name { width: 122px; height: 122px; display: grid; place-items: center; align-self: start; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--red); font: 700 1rem Georgia, serif; text-align: center; }
.service-copy h3 { margin-bottom: .45rem; font: 400 2rem/1.1 Georgia, serif; }
.service-summary { margin-top: 0; color: var(--muted); }
.service-copy h4 { margin: 1.8rem 0 .65rem; font-size: 1rem; letter-spacing: .02em; }
.screen-guide { margin: 1.35rem 0 1.9rem; }
.screen-guide img { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #f3f5f7; box-shadow: 0 14px 38px rgb(7 17 31 / .08); }
.screen-guide figcaption { margin-top: .55rem; color: var(--muted); font-size: .82rem; }
.steps { margin: 1.2rem 0; padding: 0; list-style: none; counter-reset: guide-step; }
.steps li { position: relative; min-height: 2.5rem; padding: 0 0 1rem 3rem; counter-increment: guide-step; }
.steps li::before { content: counter(guide-step, decimal-leading-zero); position: absolute; left: 0; top: -.05rem; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.note { padding: 1rem 1.1rem; border-left: 4px solid var(--cyan); background: #eef8f8; color: #28484d; }
.resource-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.resource-links a { padding: .55rem .75rem; border: 1px solid #b9c5cd; color: #23313d; background: #fff; font-weight: 700; text-decoration: none; }
.plan-details { margin-top: 1.2rem; border: 1px solid var(--line); background: #fff; }
.plan-details summary { padding: .85rem 1rem; cursor: pointer; color: var(--ink); font-weight: 800; }
.plan-details img { width: 100%; border-top: 1px solid var(--line); background: #fff; }
.challenge { padding: 1.35rem; border: 1px solid var(--line); background: #fff; }
.challenge .number { color: var(--red); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.challenge h3 { margin: .5rem 0; font-size: 1.12rem; }
.challenge p { margin: 0; color: var(--muted); }
.compare-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; background: #fff; }
.compare-table th, .compare-table td { padding: .9rem 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { background: #eef2f4; }
.construction { min-height: 46vh; display: grid; place-items: center; text-align: center; }
.construction-panel { max-width: 760px; padding: 3rem; border-top: 7px solid var(--red); background: #fff; box-shadow: 0 24px 70px rgb(7 17 31 / .1); }
.construction-panel h2 { margin-bottom: .8rem; font: 400 clamp(2.2rem, 5vw, 3.8rem)/1.05 Georgia, serif; }
.construction-panel p { color: var(--muted); }
.outline-list { max-width: 560px; margin: 1.5rem auto 0; padding: 0; list-style: none; text-align: left; }
.outline-list li { padding: .8rem 0; border-top: 1px solid var(--line); }
.outline-list li::before { content: "—"; margin-right: .6rem; color: var(--red); }
.language-fallback { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 2rem; background: var(--navy); color: #fff; }
.language-fallback h1 { margin-bottom: 1rem; }
.language-fallback a { color: var(--cyan); font-weight: 800; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-art { width: 100%; max-height: 330px; }
  .sessions, .principle-grid { grid-template-columns: 1fr; }
  .session-card { min-height: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .guide-title-row { grid-template-columns: 1fr; }
  .guide-actions { justify-content: flex-start; }
  .guide-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contents { position: static; }
  .safety-grid, .service-grid, .challenge-grid { grid-template-columns: 1fr; }
  .pattern-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-inner { align-items: flex-start; min-height: 70px; }
  .brand-copy span, .top-nav > a { display: none; }
  .brand-mark { width: 48px; height: 58px; }
  .hero-inner { min-height: auto; padding: 3.5rem 0 4rem; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .section { padding: 3.5rem 0; }
  .footer-inner { flex-direction: column; }
  .guide-hero-inner { padding: 3rem 0; }
  .guide-layout { padding: 2.5rem 0 4rem; }
  .service-block { grid-template-columns: 1fr; gap: 1rem; }
  .service-name { width: auto; height: auto; justify-content: start; border: 0; border-radius: 0; background: transparent; text-align: left; }
  .pattern-grid { grid-template-columns: 1fr; }
  .copy-example { padding-right: 1.2rem; padding-top: 3.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
