:root {
  --navy: #0d2c4d;
  --navy-2: #153f68;
  --green: #1f8f6a;
  --green-dark: #147253;
  --ink: #172535;
  --muted: #607184;
  --line: #dbe5ec;
  --surface: #ffffff;
  --soft: #f3f7f8;
  --soft-green: #e9f6f1;
  --shadow: 0 18px 50px rgba(13, 44, 77, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 86px 0; }
.alt, .kpi-section { background: var(--soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)); border-radius: 14px 4px 14px 4px; font: 700 26px Georgia, serif; }
.brand-text { display: grid; line-height: 1.15; letter-spacing: .05em; }
.brand-text strong { color: var(--navy); font-size: 18px; }
.brand-text small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-weight: 700; font-size: 14px; }
.site-nav a { text-decoration: none; }
.nav-cta { padding: 10px 16px; color: #fff; background: var(--green); border-radius: 999px; }
.menu-button { display: none; margin-left: auto; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }

.hero { overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(31,143,106,.35), transparent 30%), linear-gradient(135deg, var(--navy), #061b31); }
.home-hero { position: relative; min-height: 640px; display: flex; align-items: center; background: #061b31; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5,19,34,.68) 0%, rgba(6,27,49,.46) 46%, rgba(6,27,49,.18) 100%), linear-gradient(180deg, rgba(4,16,29,.08), rgba(4,16,29,.34)); }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #061b31 url("assets/hero-energy-infrastructure.svg") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 52px; align-items: center; }
.home-hero .hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 760px); }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.hero .eyebrow, .cta-band .eyebrow { color: #96e1c7; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.12; letter-spacing: .02em; }
.home-hero h1 span { display: block; white-space: nowrap; }
.hero-lead { margin: 26px 0; font-size: clamp(17px, 2vw, 21px); color: #d9e7f1; }
.note { color: var(--muted); font-size: 13px; }
.hero .note { max-width: 720px; color: #bfd2df; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 12px 28px rgba(31, 143, 106, .28); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: #d9e7f1; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.36); }
.hero .button-secondary { color: #d9e7f1; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.36); }
.contact-box .button-secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.button-outline:hover { background: var(--soft-green); border-color: rgba(31,143,106,.54); }
.button-light { color: var(--navy); background: #fff; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-visual { min-height: 420px; position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 32px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); box-shadow: var(--shadow); }
.visual-card { position: absolute; right: 36px; width: 220px; padding: 22px; background: rgba(255,255,255,.92); color: var(--navy); border-radius: 18px; box-shadow: var(--shadow); }
.visual-card span { display: block; color: var(--green); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.visual-card strong { display: block; font-size: 24px; }
.visual-card-main { left: 36px; top: 46px; right: auto; width: 260px; }
.visual-card:nth-of-type(3) { top: 168px; }
.visual-card:nth-of-type(4) { bottom: 46px; }
.visual-line { position: absolute; inset: 120px 145px 100px 155px; border: 3px dashed rgba(150,225,199,.75); border-left: 0; border-bottom: 0; border-radius: 0 80px 0 0; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.compact { max-width: 860px; }
.section-heading h2, .cta-inner h2, .contact-box h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.section-heading p, .cta-inner p, .contact-box p { margin: 0; color: var(--muted); }
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kpi-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.kpi-card span { display: block; color: var(--muted); font-weight: 800; }
.kpi-card strong { color: var(--navy); font-size: 36px; line-height: 1.2; }
.kpi-card small { margin-left: 4px; color: var(--muted); }

.project-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card, .info-card, .disclosure-box, .contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.project-card, .info-card { padding: 26px; }
.status-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 800; }
.badge { padding: 5px 10px; color: var(--green-dark); background: var(--soft-green); border-radius: 999px; }
.project-card h3, .info-card h3 { margin: 18px 0 12px; color: var(--navy); font-size: 21px; }
dl { margin: 0 0 14px; }
dt { color: var(--muted); font-size: 12px; font-weight: 900; }
dd { margin: 0; font-weight: 800; }
.text-link { color: var(--green-dark); font-weight: 900; }
.project-cta { margin-top: 16px; min-height: 40px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--green-dark); background: var(--soft-green); border: 1px solid rgba(31,143,106,.22); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 900; }
.project-cta::after { content: "→"; margin-left: 8px; }
.disclosure-box { margin-top: 26px; padding: 26px; background: #fbfdfc; }
.project-section-cta { margin-top: 28px; }
.disclosure-box h3 { margin-top: 0; color: var(--navy); }
.disclosure-box ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 0; list-style: none; counter-reset: step; }
.disclosure-box li { counter-increment: step; padding: 14px; background: var(--soft); border-radius: 14px; font-weight: 800; }
.disclosure-box li::before { content: counter(step); margin-right: 8px; color: var(--green); }
.five-cols { grid-template-columns: repeat(5, 1fr); }

.cta-band { color: #fff; background: linear-gradient(135deg, var(--navy), var(--green-dark)); }
.cta-inner { display: flex; justify-content: space-between; gap: 34px; align-items: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p, .note.light { color: #d6eee6; }
.contact-cta { background: linear-gradient(180deg, #fff, var(--soft)); }
.contact-box { max-width: 900px; padding: 42px; text-align: center; }
.center { justify-content: center; margin-top: 24px; }

.site-footer { padding: 52px 0 24px; color: #d6e2ec; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 34px; }
.footer-brand .brand-text strong { color: #fff; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer a { text-decoration: none; }
.copyright { margin: 34px 0 0; text-align: center; color: #9fb4c5; font-size: 13px; }

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .menu-button { display: inline-flex; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; margin: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .nav-cta { text-align: center; padding: 12px 16px !important; }
  .hero-grid, .cta-inner, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .card-grid, .five-cols { grid-template-columns: 1fr; }
  .disclosure-box ol { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; font-size: 22px; }
  .brand-text small { display: none; }
  .site-nav { top: 68px; }
  .hero { padding-top: 48px; }
  .home-hero { min-height: 560px; }
  .home-hero::after { background: linear-gradient(90deg, rgba(5,19,34,.72), rgba(6,27,49,.5)), linear-gradient(180deg, rgba(4,16,29,.08), rgba(4,16,29,.42)); }
  .hero-media { background-position: 58% center; }
  .hero-video { object-position: 58% center; }
  .home-hero h1 { font-size: clamp(34px, 9.2vw, 48px); }
  .home-hero h1 span { white-space: normal; word-break: keep-all; overflow-wrap: normal; }
  .hero-lead { margin: 20px 0; }
  .hero .button-row { gap: 10px; }
  .button-row, .vertical-mobile { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero .button-primary { min-height: 54px; font-size: 16px; }
  .hero .button-secondary { min-height: 44px; font-size: 14px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 28px 20px; }
}

.page-hero h1 { font-size: clamp(40px, 5vw, 62px); }
.page-hero .hero-lead { max-width: 680px; }
.split-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 28px; align-items: start; }
.notice-card { padding: 26px; background: var(--soft-green); border: 1px solid rgba(31,143,106,.24); border-radius: 22px; }
.notice-card h3 { margin: 0 0 12px; color: var(--navy); }
.notice-card p { margin: 0; color: var(--muted); }
.project-grid.wide { grid-template-columns: repeat(2, 1fr); }
.project-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.project-meta dl { margin: 0; padding: 12px; background: var(--soft); border-radius: 14px; }
.scale-label { display: inline-flex; margin-top: 8px; padding: 6px 10px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 900; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: flow; }
.flow-grid article { padding: 24px; min-height: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.flow-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)); border-radius: 50%; font-weight: 900; }
.flow-grid h3 { margin: 16px 0 8px; color: var(--navy); font-size: 19px; }
.flow-grid p { margin: 0; color: var(--muted); }
[aria-current="page"] { color: var(--green-dark); }

@media (max-width: 900px) {
  .page-hero .hero-lead { max-width: 100%; overflow-wrap: anywhere; line-break: strict; }
  .split-panel, .project-grid.wide, .flow-grid { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
}

.button-outline { color: var(--green-dark); background: #fff; border-color: rgba(31,143,106,.32); }
.summary-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.summary-chips span { padding: 8px 12px; color: #dff5ed; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-weight: 800; font-size: 13px; }
.overview-visual .visual-card-main { width: 280px; }
.status-panel { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.status-panel h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); }
.status-panel p { margin: 0 0 12px; color: var(--muted); }
.large-badge { display: inline-flex; padding: 8px 14px; color: var(--green-dark); background: var(--soft-green); border-radius: 999px; font-weight: 900; }
.overview-table { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.overview-table [role="row"] { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--line); }
.overview-table [role="row"]:last-child { border-bottom: 0; }
.overview-table [role="rowheader"], .overview-table [role="cell"] { padding: 18px 22px; }
.overview-table [role="rowheader"] { color: var(--navy); background: var(--soft); font-weight: 900; }
.overview-table [role="cell"] { font-weight: 800; }

.info-block-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.overview-info-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.guidance-info-card { background: linear-gradient(180deg, #fbfdfc, var(--soft)); border-color: #d7e7df; }
.info-card-header { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 12px; }
.info-card-header h3 { margin: 0; color: var(--navy); font-size: 24px; line-height: 1.35; }
.subtle-label { padding: 5px 10px; color: var(--green-dark); background: var(--soft-green); border: 1px solid rgba(31,143,106,.18); border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.muted-label { color: #5d776e; background: #eef5f2; border-color: #d7e7df; }
.overview-info-card > p { margin: 0 0 18px; color: var(--muted); }
.compact-table { box-shadow: none; border-radius: 18px; }
.compact-table [role="row"] { grid-template-columns: 190px 1fr; }
.compact-table [role="rowheader"], .compact-table [role="cell"] { padding: 14px 16px; }
.pending-disclosure-grid { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.pending-disclosure-label { min-height: 58px; padding: 14px 16px; color: var(--navy); background: #eef5f2; border-bottom: 1px solid var(--line); font-weight: 900; }
.pending-disclosure-label:nth-of-type(4) { border-bottom: 0; }
.pending-disclosure-area { position: relative; grid-column: 2; grid-row: 1 / span 4; display: grid; place-items: center; min-height: 232px; padding: 22px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(239,248,244,.76)), repeating-linear-gradient(135deg, rgba(15, 118, 110, .10) 0, rgba(15, 118, 110, .10) 12px, rgba(13, 44, 77, .055) 12px, rgba(13, 44, 77, .055) 24px); border-left: 1px solid var(--line); }
.pending-disclosure-area::before { content: ""; position: absolute; inset: -18px; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.78), transparent 34%), linear-gradient(90deg, rgba(255,255,255,.20), rgba(15, 118, 110, .16), rgba(255,255,255,.18)); filter: blur(10px); opacity: .95; }
.pending-disclosure-area span { position: relative; z-index: 1; color: rgba(13, 44, 77, .42); font-size: clamp(1rem, 2.2vw, 1.45rem); font-weight: 900; letter-spacing: .12em; line-height: 1.2; text-align: center; text-transform: uppercase; transform: rotate(-8deg); text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.inline-cta-box { display: grid; gap: 14px; margin-top: 18px; padding: 18px; background: rgba(255,255,255,.72); border: 1px solid #d7e7df; border-radius: 18px; }
.inline-cta-box p { margin: 0; color: var(--muted); font-weight: 700; }
.inline-cta-box .button { width: fit-content; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 900; }
.blocked-info { background: #fff; }
.related-grid { margin-bottom: 24px; }

@media (max-width: 900px) {
  .info-block-grid { grid-template-columns: 1fr; }
  .status-panel { align-items: stretch; flex-direction: column; }
  .overview-table [role="row"], .compact-table [role="row"] { grid-template-columns: 1fr; }
  .overview-table [role="rowheader"] { padding-bottom: 6px; }
  .overview-table [role="cell"] { padding-top: 8px; }
  .pending-disclosure-grid { grid-template-columns: 1fr; }
  .pending-disclosure-label:nth-of-type(4) { border-bottom: 1px solid var(--line); }
  .pending-disclosure-area { grid-column: 1; grid-row: auto; min-height: 150px; border-left: 0; }
  .inline-cta-box .button { width: 100%; }
}

.member-hero { position: relative; background-image: linear-gradient(135deg, rgba(6,27,49,.92), rgba(13,44,77,.82)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='760' viewBox='0 0 1200 760'%3E%3Crect width='1200' height='760' fill='%230d2c4d'/%3E%3Cg opacity='.42'%3E%3Crect x='140' y='190' width='780' height='330' rx='28' fill='%23153f68' stroke='%2387d8bd' stroke-width='8'/%3E%3Crect x='920' y='295' width='78' height='120' rx='16' fill='%2387d8bd'/%3E%3Cpath d='M215 275h610M215 355h610M215 435h610' stroke='%23e9f6f1' stroke-width='18' stroke-linecap='round' opacity='.55'/%3E%3Ccircle cx='995' cy='190' r='88' fill='%231f8f6a'/%3E%3Ccircle cx='1045' cy='500' r='140' fill='%23147253' opacity='.8'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.member-badge { display: inline-flex; align-items: center; width: max-content; margin: 0 0 14px; padding: 6px 12px; color: #fff; background: #b94747; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.member-hero-panel { min-height: 360px; display: grid; align-content: end; gap: 8px; padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); box-shadow: var(--shadow); }
.member-hero-panel span, .member-hero-panel small { color: #b9d9e9; font-weight: 800; }
.member-hero-panel strong { color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.1; }
.summary-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.summary-card-grid article { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.summary-card-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; }
.summary-card-grid strong { display: block; margin-top: 8px; color: var(--navy); font-size: 18px; line-height: 1.4; }
.gated-layout { align-items: center; }
.gated-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.preview-blur { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; min-height: 250px; padding: 28px; filter: blur(5px); opacity: .72; transform: scale(1.02); }
.preview-blur div { min-height: 92px; padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; }
.preview-blur span { display: block; color: var(--muted); font-size: 13px; font-weight: 900; }
.preview-blur strong { display: block; margin-top: 10px; color: var(--navy); font-size: 20px; }
.preview-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 22px 26px; background: linear-gradient(135deg, rgba(13,44,77,.96), rgba(20,114,83,.94)); color: #fff; }
.preview-cta-band h3 { margin: 0; color: #fff; font-size: 24px; line-height: 1.35; }
.preview-cta-band .member-badge { margin: 0 0 8px; }
.preview-cta-band .button { flex: 0 0 auto; }

@media (max-width: 900px) {
  .summary-card-grid { grid-template-columns: repeat(2, 1fr); }
  .member-hero-panel { min-height: 260px; }
}

@media (max-width: 560px) {
  .summary-card-grid, .preview-blur { grid-template-columns: 1fr; }
  .member-hero-panel { display: none; }
}
.member-hero .hero-grid { align-items: center; }
.member-hero .hero-copy { position: relative; z-index: 1; }
.member-hero-panel { justify-self: end; width: min(420px, 100%); }

@media (max-width: 900px) {
  .member-hero { background-position: center; }
  .member-hero .hero-grid { gap: 30px; }
  .member-hero-panel { justify-self: stretch; width: 100%; min-height: 220px; opacity: .72; }
}

@media (max-width: 560px) {
  .member-hero { padding-top: 36px; background-image: radial-gradient(circle at 88% 18%, rgba(31,143,106,.16), transparent 24%), linear-gradient(135deg, rgba(6,27,49,.96), rgba(13,44,77,.9)); }
  .member-hero .hero-grid { gap: 0; }
  .member-hero .hero-copy { max-width: 100%; }
  .member-hero .hero-lead { font-size: 16px; }
  .member-hero .button-row { margin-top: 22px; }
  .member-hero-panel { display: none; }
}
@media (max-width: 560px) {
  .preview-blur { min-height: 210px; padding: 22px; }
  .preview-cta-band { align-items: stretch; flex-direction: column; padding: 22px; text-align: center; }
  .preview-cta-band .member-badge { margin-inline: auto; }
  .preview-cta-band h3 { font-size: 21px; }
}
.preview-cta-band h3 { max-width: 100%; overflow-wrap: anywhere; word-break: keep-all; line-break: strict; }

@media (max-width: 560px) {
  .preview-cta-band h3 { max-width: 15em; margin-inline: auto; }
}

.member-registration-hero { background: radial-gradient(circle at 86% 18%, rgba(31,143,106,.28), transparent 28%), linear-gradient(135deg, var(--navy), #0a223b); }
.registration-badge { background: var(--green); }
.hero-support { margin: -10px 0 26px; color: #cfe4ef; font-weight: 700; }
.member-benefit-panel { padding: 30px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; box-shadow: var(--shadow); }
.member-benefit-panel ul { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.member-benefit-panel li { padding: 14px 16px; color: var(--navy); background: rgba(255,255,255,.92); border-radius: 16px; font-weight: 900; }
.member-benefit-panel li::before { content: "✓"; margin-right: 10px; color: var(--green); }
.benefit-grid { grid-template-columns: repeat(4, 1fr); }
.registration-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.registration-form { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.registration-form label { display: grid; gap: 8px; color: var(--navy); font-weight: 900; }
.form-label-text { display: inline-flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.required-mark,
.form-label .required-mark,
label .required-mark { display: inline-block; margin-left: 4px; color: #dc2626; font-size: 0.72rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.registration-form input, .registration-form select, .registration-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.registration-form input:focus, .registration-form select:focus, .registration-form textarea:focus { outline: 3px solid rgba(31,143,106,.18); border-color: var(--green); }
.was-validated input:required:invalid,
.was-validated select:required:invalid,
.was-validated textarea:required:invalid { border-color: #fca5a5; background-color: #fff7f7; box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.18); }
.was-validated input[type="checkbox"]:required:invalid { outline: 2px solid #fca5a5; outline-offset: 3px; }
.was-validated input:required:invalid:focus,
.was-validated select:required:invalid:focus,
.was-validated textarea:required:invalid:focus { outline-color: rgba(252, 165, 165, .32); border-color: #f87171; }
.form-full { grid-column: 1 / -1; }
.consent-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; margin: 20px 0; padding: 14px; background: var(--soft); border-radius: 14px; }
.consent-check input { width: 20px; height: 20px; flex: 0 0 auto; }
.form-submit { cursor: pointer; font: inherit; }
.registration-side { background: #fff; }
.registration-side .check-list li { background: var(--soft); }
.disclosure-box a { color: var(--green-dark); font-weight: 900; text-decoration: none; }

@media (max-width: 900px) {
  .benefit-grid, .registration-layout { grid-template-columns: 1fr; }
  .member-benefit-panel { justify-self: stretch; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .registration-form { padding: 22px; }
  .member-benefit-panel { padding: 22px; }
  .consent-check { align-items: flex-start; }
}

.information-policy-hero { background: radial-gradient(circle at 84% 16%, rgba(31,143,106,.26), transparent 30%), linear-gradient(135deg, var(--navy), #092139); }
.policy-hero-list { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; color: #d9e7f1; font-weight: 800; }
.policy-hero-list li::before { content: "•"; margin-right: 10px; color: #96e1c7; font-weight: 900; }
.policy-hero-panel h2 { margin: 0 0 14px; color: #fff; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.policy-hero-panel p { margin: 0; color: #d6eee6; }
.policy-purpose-grid { grid-template-columns: repeat(4, 1fr); }
.policy-card-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)); border-radius: 50%; font-weight: 900; }
.policy-chip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.policy-chip-grid span { display: grid; min-height: 74px; place-items: center; padding: 16px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-weight: 900; text-align: center; }
.policy-guidance-panel h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.policy-guidance-panel p { margin: 0 0 22px; color: var(--muted); }
.policy-check-list { margin-top: 22px; }
.policy-third-party { max-width: 980px; }
.consent-check a { color: var(--green-dark); font-weight: 900; }

@media (max-width: 900px) {
  .policy-purpose-grid, .policy-chip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .policy-purpose-grid, .policy-chip-grid { grid-template-columns: 1fr; }
  .policy-chip-grid span { min-height: 58px; }
}

.terms-hero { background: radial-gradient(circle at 84% 16%, rgba(31,143,106,.24), transparent 30%), linear-gradient(135deg, var(--navy), #071d33); }
.terms-hero-panel h2 { margin: 0 0 14px; color: #fff; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.terms-hero-panel p { margin: 0; color: #d6eee6; }
.terms-chip-grid span { min-height: 86px; }
.terms-split h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.terms-split p { margin: 0 0 18px; color: var(--muted); }
.terms-card-grid { grid-template-columns: repeat(4, 1fr); }
.prohibition-grid { grid-template-columns: repeat(3, 1fr); }
.prohibition-grid .info-card { min-height: 130px; display: flex; align-items: center; }
.prohibition-grid .info-card h3 { margin: 0; font-size: 18px; }
.private-info-box { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.private-info-box span { padding: 9px 12px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 900; font-size: 14px; }
.terms-wide-notice { background: #fff; }
.terms-policy-box { margin-inline: auto; }
.terms-policy-box .button-secondary { color: var(--navy); background: #fff; border-color: var(--line); }

/* Legal documents */
.legal-hero .container { max-width: 1040px; }
.legal-hero h1 { max-width: 900px; }
.legal-section { background: #f8fafb; }
.legal-document { max-width: 960px; }
.legal-intro { margin: 0 0 42px; padding: 24px 28px; color: var(--ink); background: #fff; border-left: 4px solid var(--green); box-shadow: 0 10px 30px rgba(13,44,77,.06); line-height: 1.9; }
.legal-article { padding: 36px 0; border-bottom: 1px solid var(--line); }
.legal-article:first-of-type { padding-top: 0; }
.legal-article h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 18px; color: var(--navy); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; }
.legal-article h2 span { flex: 0 0 auto; color: var(--green-dark); font-size: .7em; font-variant-numeric: tabular-nums; }
.legal-article p { margin: 0; color: var(--ink); line-height: 1.95; }
.legal-article p + p { margin-top: 14px; }
.legal-article ul { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 1.4em; color: var(--ink); line-height: 1.8; }
.legal-article a, .legal-related-link a { color: var(--green-dark); font-weight: 800; text-underline-offset: 3px; }
.legal-notice { margin-top: 24px; border-radius: 12px; box-shadow: none; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.legal-related-link { margin: 24px 0 0; }

@media (max-width: 560px) {
  .legal-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
  .legal-intro { margin-bottom: 26px; padding: 20px; }
  .legal-article { padding: 28px 0; }
  .legal-article h2 { gap: 10px; font-size: 22px; }
  .legal-notice { padding: 20px; }
  .legal-actions { align-items: stretch; margin-top: 36px; }
  .legal-actions .button { width: 100%; }
}

@media (max-width: 900px) {
  .terms-card-grid, .prohibition-grid { grid-template-columns: 1fr; }
  .prohibition-grid .info-card { min-height: auto; }
}

.thanks-hero { background: linear-gradient(180deg, #f7fbfc, #fff); }
.thanks-hero-card { max-width: 920px; margin: 0 auto; padding: 56px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); }
.thanks-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; color: #fff; background: linear-gradient(135deg, var(--green), var(--navy-2)); border-radius: 50%; font-size: 36px; font-weight: 900; }
.thanks-hero-card .member-badge { margin-inline: auto; }
.thanks-hero-card h1 { color: var(--navy); font-size: clamp(34px, 5vw, 56px); }
.thanks-hero-card .hero-lead { max-width: 760px; margin: 24px auto 12px; color: var(--ink); }
.thanks-support { max-width: 760px; margin: 0 auto 28px; color: var(--muted); font-weight: 700; }
.thanks-secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.thanks-guide-grid { grid-template-columns: repeat(3, 1fr); }
.thanks-step-card span { display: inline-grid; place-items: center; width: 42px; height: 42px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)); border-radius: 50%; font-weight: 900; }
.thanks-step-card p { margin: 0; color: var(--muted); }
.thanks-action-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.thanks-action-panel h2, .thanks-notice-card h2, .thanks-policy-box h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(26px, 4vw, 38px); line-height: 1.25; }
.thanks-action-panel p { margin: 0; color: var(--muted); }
.thanks-notice-layout { align-items: stretch; }
.thanks-notice-card { background: #fbfdfc; }
.thanks-notice-card .check-list { margin-top: 18px; }
.thanks-policy-box { max-width: none; text-align: left; }
.thanks-policy-box .center { justify-content: flex-start; }

@media (max-width: 900px) {
  .thanks-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .thanks-action-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .thanks-hero-card { padding: 34px 22px; border-radius: 24px; }
  .thanks-icon { width: 62px; height: 62px; font-size: 30px; }
  .thanks-guide-grid { grid-template-columns: 1fr; }
  .thanks-action-panel { padding: 26px 20px; }
  .thanks-policy-box { padding: 28px 20px; }
  .thanks-policy-box .center { justify-content: stretch; }
}

.contact-hero-card { padding: 30px; color: var(--navy); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.32); border-radius: 28px; box-shadow: var(--shadow); }
.contact-hero-card span { display: inline-flex; margin-bottom: 16px; padding: 6px 12px; color: var(--green-dark); background: var(--soft-green); border-radius: 999px; font-weight: 900; font-size: 13px; }
.contact-hero-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-hero-card li { padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; font-weight: 900; }
.contact-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-type-grid .info-card h3 { color: var(--navy); overflow-wrap: anywhere; line-height: 1.35; }
.contact-type-grid .info-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.contact-type-card { display: flex; flex-direction: column; gap: 18px; }
.contact-type-card h3 { margin-bottom: 0; }
.contact-type-card .button { width: 100%; margin-top: auto; white-space: normal; }
#contact-form { scroll-margin-top: 96px; }
.contact-form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-field, .consent { display: grid; gap: 8px; color: var(--navy); font-weight: 900; }
.form-field.full, .consent.full, .form-actions.full { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 500; }
.form-field textarea { resize: vertical; }
.form-help { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.7; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(31,143,106,.18); border-color: var(--green); }
.consent { grid-template-columns: auto 1fr; align-items: start; color: var(--muted); font-size: 14px; font-weight: 700; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.consent a { color: var(--green-dark); font-weight: 900; }
.form-actions { display: flex; justify-content: flex-start; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.support-card { display: grid; gap: 16px; background: #fff; }
.support-card h2 { margin: 0; color: var(--navy); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.support-card p { margin: 0; }
.support-card .button-row { margin-top: 4px; }
.example-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.example-chips span { padding: 12px 16px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 24px rgba(13,44,77,.08); font-weight: 900; }

@media (max-width: 900px) {
  .contact-type-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-layout, .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact-hero-card { padding: 22px; }
  .contact-type-grid, .contact-form { grid-template-columns: 1fr; }
  .contact-type-grid .info-card { min-height: 0; padding: 22px; }
  .contact-type-grid .info-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
  .contact-type-grid .info-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
  .contact-form { padding: 22px; }
  .form-actions .button { width: 100%; }
}

.contact-thanks-hero { background: radial-gradient(circle at 50% 0%, rgba(31,143,106,.12), transparent 34%), linear-gradient(180deg, #f7fbfc, #fff); }
.contact-thanks-card { position: relative; overflow: hidden; }
.contact-thanks-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 18%, rgba(31,143,106,.08), transparent 22%), radial-gradient(circle at 88% 8%, rgba(13,44,77,.08), transparent 24%); }
.contact-thanks-card > * { position: relative; }
.contact-thanks-actions .button-row { justify-content: flex-end; }

@media (max-width: 900px) {
  .contact-thanks-actions .button-row { justify-content: flex-start; }
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin: 0.75rem 0 0;
  font-weight: 700;
}

.form-message.is-error { color: #b42318; }
.form-message.is-success { color: #047857; }

button.button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

.company-hero { background: radial-gradient(circle at 82% 18%, rgba(31,143,106,.32), transparent 30%), linear-gradient(135deg, var(--navy), #071d33); }
.company-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }
.company-hero-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: var(--shadow); }
.company-hero-panel span { min-height: 94px; display: grid; place-items: center; padding: 18px; color: #e8f7f1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; font-weight: 900; letter-spacing: .04em; }
.company-lead-card { padding: 40px; background: linear-gradient(135deg, #fff, var(--soft-green)); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.company-lead-card h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.company-lead-card p:last-child { max-width: 900px; margin: 0; color: var(--muted); font-size: 18px; }
.company-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.company-domain-card { min-height: 180px; padding: 24px; display: grid; align-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.company-domain-card span { width: 44px; height: 44px; display: inline-grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)); border-radius: 50%; font-weight: 900; }
.company-domain-card h3 { margin: 22px 0 0; color: var(--navy); font-size: 21px; line-height: 1.45; }
.company-step-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: company-step; }
.company-step-list li { position: relative; min-height: 188px; padding: 18px 14px; display: grid; align-content: center; justify-items: center; gap: 10px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 28px rgba(13,44,77,.08); font-weight: 900; text-align: center; }
.company-step-list li::before { counter-increment: company-step; content: counter(company-step); width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 14px; }
.company-step-list h3 { margin: 0; font-size: 16px; }
.company-step-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; font-weight: 700; }
.company-step-list li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -13px; width: 14px; height: 2px; background: var(--green); }
.company-info-table [role="cell"] { font-weight: 700; }
.company-business-list { display: grid; gap: 6px; margin: 0; padding-left: 1.2em; }

@media (max-width: 900px) {
  .company-hero-grid, .company-card-grid, .company-step-list { grid-template-columns: 1fr; }
  .company-step-list li { min-height: auto; padding: 20px 18px; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; justify-items: stretch; gap: 12px 14px; text-align: left; }
  .company-step-list li::before { grid-column: 1; grid-row: 1; }
  .company-step-list h3 { grid-column: 2; grid-row: 1; width: 100%; line-height: 1.45; word-break: keep-all; overflow-wrap: normal; }
  .company-step-list p { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .company-step-list li:not(:last-child)::after { top: auto; right: auto; bottom: -13px; left: 35px; width: 2px; height: 14px; }
}

@media (max-width: 560px) {
  .company-hero-panel { grid-template-columns: 1fr; padding: 18px; }
  .company-hero-panel span { min-height: 70px; }
  .company-lead-card { padding: 28px 20px; }
  .company-lead-card p:last-child { font-size: 16px; }
}

.detail-project-hero { background: radial-gradient(circle at 82% 16%, rgba(31,143,106,.30), transparent 30%), linear-gradient(135deg, var(--navy), #071d33); }
.detail-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); }
.detail-company-label { display: inline-flex; margin: 4px 0 0; padding: 8px 14px; color: #e9f6f1; background: rgba(31,143,106,.22); border: 1px solid rgba(233,246,241,.30); border-radius: 999px; font-weight: 900; }
.detail-hero-panel { min-height: 280px; display: grid; align-content: end; gap: 8px; padding: 30px; border: 1px solid rgba(255,255,255,.20); border-radius: 30px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: var(--shadow); }
.detail-hero-panel span, .detail-hero-panel small { color: #b9d9e9; font-weight: 800; }
.detail-hero-panel strong { color: #fff; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; }
.detail-message-card { max-width: 820px; margin: 0 auto; padding: 36px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.detail-message-card p { margin: 0 0 22px; color: var(--navy); font-size: 18px; font-weight: 900; }
.overview-message-card { max-width: 820px; margin-top: 80px; margin-bottom: 104px; padding: 56px 48px; }
.overview-message-card p { max-width: 640px; margin: 0 auto; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.9; text-align: left; white-space: pre-line; }
.overview-message-card p + p { margin-top: 24px; }
.overview-message-card p:first-child { color: var(--navy); font-weight: 700; }
.overview-message-card strong { color: var(--navy); font-weight: 600; }
.overview-message-card .button-row { margin-top: 36px; }
@media (max-width: 560px) {
  .overview-message-card { margin-top: 42px; margin-bottom: 64px; padding: 30px 22px; }
  .overview-message-card p { font-size: 16px; line-height: 1.85; }
  .overview-message-card p + p { margin-top: 20px; }
  .overview-message-card .button-row { margin-top: 30px; }
}

.detail-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.detail-info-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.detail-private-card { background: linear-gradient(180deg, #fff, #f8fcfa); border-color: #cfe3da; }
.detail-definition-list { display: grid; gap: 12px; margin: 0; }
.detail-definition-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.detail-definition-row dt { color: var(--navy); font-size: 13px; }
.detail-definition-row dd { color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.detail-footnote { margin: 24px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; text-align: right; }

@media (max-width: 900px) {
  .detail-hero-grid, .detail-card-grid { grid-template-columns: 1fr; }
  .detail-hero-panel { min-height: 220px; }
  .detail-definition-row { grid-template-columns: 1fr; gap: 4px; }
  .detail-footnote { text-align: left; }
}

@media (max-width: 560px) {
  .detail-hero-panel { display: none; }
  .detail-message-card, .detail-info-card { padding: 24px 20px; }
}

.admin-page { background: #f7fbfc; }
.admin-header .header-inner { justify-content: space-between; }
.admin-header-badge { display: inline-flex; padding: 8px 14px; color: var(--green-dark); background: var(--soft-green); border: 1px solid rgba(31,143,106,.22); border-radius: 999px; font-weight: 900; }
.admin-hero { color: #fff; background: radial-gradient(circle at 82% 18%, rgba(31,143,106,.28), transparent 30%), linear-gradient(135deg, var(--navy), #071d33); }
.admin-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: center; }
.admin-hero .hero-lead { max-width: 840px; }
.admin-note-card { padding: 26px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 24px; box-shadow: var(--shadow); }
.admin-note-card strong { display: block; color: #fff; font-size: 20px; }
.admin-note-card p { margin: 10px 0 0; color: #d6eee6; }
.admin-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-section-heading { margin-bottom: 24px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.admin-auth-section { padding-top: 28px; padding-bottom: 0; }
.admin-auth-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 360px) auto; gap: 16px; align-items: end; padding: 20px 24px; }
.admin-auth-form h2, .admin-auth-form p { margin: 0; }
.admin-auth-form label { display: grid; gap: 6px; color: var(--navy); font-weight: 900; }
.admin-auth-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.admin-auth-form .admin-save-message { grid-column: 1 / -1; }
.admin-form { padding: 28px; }
.admin-form fieldset { margin: 0 0 26px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.admin-form fieldset:last-of-type { margin-bottom: 0; }
.admin-form legend { padding: 0 8px; color: var(--navy); font-size: 18px; font-weight: 900; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-form label { display: grid; gap: 8px; color: var(--navy); font-weight: 900; }
.admin-form input, .admin-form select, .admin-form textarea, .admin-table select, .admin-url-input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.admin-form textarea { resize: vertical; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus, .admin-table select:focus, .admin-url-input:focus { outline: 3px solid rgba(31,143,106,.18); border-color: var(--green); }
.admin-full { grid-column: 1 / -1; }
.admin-actions, .admin-url-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.admin-muted { color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-save-message { flex-basis: 100%; margin: 0; padding: 10px 12px; color: var(--muted); background: #f3f6f7; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 800; }
.admin-save-message:empty { display: none; }
.admin-save-message.is-success { color: #047857; background: #edfdf5; border-color: rgba(4, 120, 87, .18); }
.admin-save-message.is-error { color: #b42318; background: #fff1f0; border-color: rgba(180, 35, 24, .18); }
.admin-save-message.is-demo { color: #5f6f7a; background: #f3f6f7; border-color: var(--line); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 1040px; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--navy); background: var(--soft); font-size: 12px; font-weight: 900; white-space: nowrap; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table code { color: var(--navy); font-weight: 800; }
.admin-url-panel { padding: 24px; }
.admin-detail-url-form { padding: 0; }
.admin-detail-url-form fieldset { margin-bottom: 22px; }
.admin-payload-preview {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid #d8e6dc;
  border-radius: 10px;
  background: #f5faf6;
  color: #405047;
}
.admin-payload-preview p { margin: 8px 0 0; }
.admin-payload-preview dl { margin: 10px 0 0; }
.admin-payload-preview dl div { display: grid; grid-template-columns: minmax(100px, 140px) 1fr; gap: 12px; padding: 4px 0; }
.admin-payload-preview dt { font-weight: 700; }
.admin-payload-preview dd { margin: 0; overflow-wrap: anywhere; }
.admin-js-version { margin: 6px 0 16px; color: #758078; font-size: .78rem; }
.admin-url-toolbar { margin: 0 0 18px; }
.admin-url-input { min-width: 320px; font-size: 13px; }
.admin-status { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.admin-status.is-active { color: var(--green-dark); background: var(--soft-green); }
.admin-status.is-inactive { color: #8a4b00; background: #fff4df; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-row-actions button { padding: 8px 10px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 900; white-space: nowrap; }
.admin-row-actions button:hover { border-color: rgba(31,143,106,.45); color: var(--green-dark); }

@media (max-width: 900px) {
  .admin-hero-inner, .admin-layout { grid-template-columns: 1fr; }
  .admin-auth-form { grid-template-columns: 1fr; }
  .admin-note-card { max-width: none; }
}

@media (max-width: 560px) {
  .admin-header .brand-text small { display: block; }
  .admin-header-badge { font-size: 12px; }
  .admin-form { padding: 20px; }
  .admin-form fieldset { padding: 16px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-url-panel { padding: 18px; }
}
.detail-project-list { display: grid; gap: 28px; }
.detail-project-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.detail-project-card > h3 { margin: 0 0 20px; color: var(--navy); font-size: clamp(22px, 3vw, 30px); }
.detail-project-card h4 { margin: 0; color: var(--navy); font-size: 18px; }
.admin-mail-status { display: inline-flex; padding: 6px 10px; color: #5f6f7a; background: #f3f6f7; border-radius: 999px; font-weight: 900; white-space: nowrap; }
.admin-mail-status.is-sent { color: #047857; background: #edfdf5; }

.detail-projects-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(13, 44, 77, .08);
}
.detail-sort-field {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-weight: 900;
}
.detail-sort-field select {
  min-width: 210px;
  min-height: 44px;
  padding: 9px 38px 9px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}
.detail-sort-field select:focus {
  outline: 3px solid rgba(31,143,106,.18);
  border-color: var(--green);
}
.detail-project-count {
  margin: 0;
  padding: 7px 12px;
  color: var(--green-dark);
  background: var(--soft-green);
  border: 1px solid rgba(31,143,106,.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}
.detail-project-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.detail-project-deal-cta {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: 1px solid rgba(31,143,106,.28);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(31, 143, 106, .18);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}
.detail-project-deal-cta::after { content: "→"; margin-left: 8px; }
.detail-project-deal-cta:hover { filter: brightness(.96); transform: translateY(-1px); }

@media (max-width: 560px) {
  .detail-projects-toolbar {
    align-items: stretch;
    padding: 16px;
  }
  .detail-sort-field, .detail-sort-field select, .detail-project-count, .detail-project-deal-cta {
    width: 100%;
  }
  .detail-project-card { padding: 24px 18px; }
  .detail-project-card-actions { justify-content: stretch; }
}

.project-count {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 700;
}
