/* HIXOR homepage — SOC redesign (v4, 2026-11-15; v3/v2 same day; v1 PREVIEW 2026-11-14).
   v4 = contrast fixes (full-site WCAG audit, 2026-11-15): the
   light-card .price/.arrow take ink tones (they were styled for
   dark cards: white price at 1.26:1, azure arrow at 1.52:1), the
   hero + banner button gradients are deepened, and the banner
   button's label colour is restored to white at a winning
   specificity. Colours only — no geometry, no copy.
   v3 = the HC banner block appended at the end (owner reference
   design, Option A — the panel pushes the FREE security self-check;
   see templates/_hc_banner.html). Everything above the banner block
   is byte-identical to v2. (Renamed per the house cache rule.)
   v2 = readability fix (owner report, 2026-11-15): the v1 "lower
   sections" block was written for a LIGHT page ground, but the concept
   shell paints the homepage body dark navy — so its ink section
   headings landed at ~1.15:1 on the dark ground and the concept
   theme's dark-card .tag (pale cyan on 10% cyan) landed at ~1.02:1 on
   v1's light cards. v2 puts the lower-section text on this sheet's own
   dark-ground tokens and makes the card tag a solid cyan plaque.
   (Renamed per the house cache rule: changed CSS ships under a new
   filename.)
   Loaded ONLY by templates/home.html (head_extra), after site-v15.css
   and home-hub-v2.css; every rule is scoped to body.home-soc, which
   only the homepage carries. No other page can be affected.
   Direction: the futuristic security-operations look the owner
   approved for the under-construction page (uc-v2.css) brought to
   the top of the homepage — deep indigo panels, fine grid, circuit
   motif, monospace ops labels, cyan #00C8F0 accents — while the
   lower sections stay light and readable.
   Hard rules honoured: no copy changes anywhere (pure presentation);
   NO filter: blur() and NO mix-blend-mode (iOS Safari floods/blank
   on this stack) — glows are radial-gradient fades only; every
   padded component pins its children's margins explicitly (boxed-
   component spacing rule). White on the indigo gradient stays
   >= ~12:1 even at the lightest stop (#13234E ~= 15:1). */

body.home-soc{
  --soc-ink:#101D42;          /* Deep Slate Indigo (brand) */
  --soc-ink-hi:#13234E;        /* lightest panel stop */
  --soc-ink-lo:#0A1734;
  --soc-cyan:#00C8F0;          /* brand cyan */
  --soc-cyan-txt:#8FE3FF;      /* cyan text on indigo (~10:1) */
  --soc-link:#4FC3F7;          /* links/arrows on indigo (~8:1) */
  --soc-body:#C4D6EC;          /* body text on indigo (~11:1) */
  --soc-mut:#A8C4E2;           /* muted text on indigo (~9:1) */
  --soc-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --soc-line:#D3E0F0;          /* border on light panels */
  --soc-mut-lt:#52657C;        /* muted text on light (~5.6:1) */
}

/* ================= HERO — dark ops panel ================= */
body.home-soc .hero{
  position:relative;overflow:hidden;text-align:center;
  padding:4rem 0 3.25rem;color:#fff;
  background:linear-gradient(180deg,var(--soc-ink-lo) 0%,var(--soc-ink) 58%,#0C1A3C 100%);
}
/* fine grid layer (masked fade, exactly the uc-v2 technique) */
body.home-soc .hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(64,160,255,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(64,160,255,.07) 1px,transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(92% 82% at 50% 28%,#000 30%,transparent 78%);
  mask-image:radial-gradient(92% 82% at 50% 28%,#000 30%,transparent 78%);
}
/* circuit motif (top right) + radial glows */
body.home-soc .hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='300' viewBox='0 0 460 300'%3E%3Cg fill='none' stroke='%2300C8F0' stroke-opacity='.34' stroke-width='1.2'%3E%3Cpath d='M30 250 H150 L185 215 H300'/%3E%3Cpath d='M60 60 H190 L225 95 H360'/%3E%3Cpath d='M150 250 V150 L185 115'/%3E%3Cpath d='M300 215 V140 L340 100 H420'/%3E%3Cpath d='M360 95 V40'/%3E%3C/g%3E%3Cg fill='%2300C8F0' fill-opacity='.85'%3E%3Ccircle cx='30' cy='250' r='4'/%3E%3Ccircle cx='300' cy='215' r='4'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3Ccircle cx='360' cy='95' r='4'/%3E%3Ccircle cx='420' cy='100' r='3'/%3E%3C/g%3E%3Cg fill='none' stroke='%2300C8F0' stroke-opacity='.5' stroke-width='1.2'%3E%3Ccircle cx='150' cy='250' r='6'/%3E%3Ccircle cx='190' cy='60' r='6'/%3E%3Ccircle cx='360' cy='40' r='5'/%3E%3C/g%3E%3Cg fill='%2300C8F0' fill-opacity='.75'%3E%3Crect x='296' y='136' width='7' height='7'/%3E%3Crect x='221' y='91' width='6' height='6'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(640px 340px at 82% -40px,rgba(0,200,240,.20),rgba(0,200,240,0) 70%),
    radial-gradient(720px 420px at 12% 112%,rgba(8,105,212,.28),rgba(8,105,212,0) 70%);
  background-repeat:no-repeat;
  background-position:right -24px top 6px,0 0,0 0;
  background-size:460px auto,auto,auto;
}
body.home-soc .hero .container{position:relative;z-index:1}
/* ops status pill (dot + monospace label); the text itself is the
   unchanged eyebrow string */
body.home-soc .hero .eyebrow,
body.home-soc .tf-badge-card .eyebrow{
  font-family:var(--soc-mono);letter-spacing:.14em;
  color:var(--soc-cyan-txt);background:rgba(0,40,80,.38);
  border:1px solid rgba(0,200,240,.45);
}
body.home-soc .hero .eyebrow::before,
body.home-soc .tf-badge-card .eyebrow::before{
  content:"";display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--soc-cyan);box-shadow:0 0 8px var(--soc-cyan);
  margin-right:.55rem;vertical-align:1px;
}
body.home-soc .hero h1{
  color:#fff;margin:.95rem 0 1rem;
  text-shadow:0 0 26px rgba(0,160,255,.30);
}
@media(min-width:768px){
  body.home-soc .hero h1{font-size:3.3rem;letter-spacing:.01em}
}
body.home-soc .hero .lead{color:var(--soc-body);margin:0 auto 1.6rem}
body.home-soc .hero-actions{margin:0 auto}
body.home-soc .hero .btn-primary{
  background:linear-gradient(180deg,#096FC4,#0869D4);border-color:transparent;
  box-shadow:0 0 0 1px rgba(79,195,255,.4),0 12px 30px -8px rgba(3,155,225,.55),
    inset 0 1px 0 rgba(255,255,255,.35);
}
body.home-soc .hero .btn-primary:hover{background:linear-gradient(180deg,#0A6FD0,#0077B6)}
body.home-soc .hero .btn-secondary{
  background:rgba(0,200,240,.06);color:#EAF4FF;border-color:rgba(0,200,240,.5);
}
body.home-soc .hero .btn-secondary:hover{border-color:var(--soc-cyan);color:var(--soc-cyan-txt)}
body.home-soc .hero-start{margin:1.1rem 0 0}
body.home-soc .hero-start a{color:var(--soc-cyan-txt);text-underline-offset:3px}
@media(max-width:767px){
  body.home-soc .hero{padding:2.75rem 0 2.1rem}
  body.home-soc .hero::after{background-size:300px auto,auto,auto;background-position:right -70px top 0,0 0,0 0}
}

/* ================= global strip ================= */
body.home-soc .global-strip{
  background:#fff;border:1px solid #C9D9EE;border-radius:.9rem;
  box-shadow:0 8px 26px -14px rgba(16,29,66,.25);
  padding:.7rem 1.25rem;margin:0 auto 1.25rem;
}
body.home-soc .global-strip strong{color:var(--soc-ink)}

/* ================= entry cards — dark ================= */
body.home-soc .home-cards .card{
  background:linear-gradient(165deg,var(--soc-ink-hi) 0%,var(--soc-ink) 55%,#0B1734 100%);
  border:1px solid rgba(0,200,240,.28);border-radius:1.25rem;
  box-shadow:0 18px 36px -18px rgba(8,20,48,.55);
}
@media (hover:hover) and (pointer:fine){
  body.home-soc .home-cards .card:hover{
    border-color:rgba(0,200,240,.55);
    box-shadow:0 22px 42px -18px rgba(8,20,48,.65);
  }
}
body.home-soc .home-cards .card-band{
  height:76px;color:#DFF6FF;
  background:linear-gradient(120deg,#0A2450,#0869D4);
  border-bottom:1px solid rgba(0,200,240,.45);
}
body.home-soc .home-cards .band-start-here{background:linear-gradient(120deg,#0A2450,#0899C4)}
body.home-soc .home-cards .card-body{padding:1.3rem 1.5rem 1.55rem;gap:.4rem}
body.home-soc .home-cards .card-body h3{color:#fff;margin:0}
body.home-soc .home-cards .card-body p{margin:0}
body.home-soc .home-cards .card-body p.muted{
  color:#B9CFE8;font-size:.95rem;line-height:1.65;
}
body.home-soc .home-cards .card .arrow{color:var(--soc-link)}

/* ============ threat forecast — operations console ============ */
body.home-soc .tf-badge-card{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,var(--soc-ink-lo),var(--soc-ink) 60%,#0C1A3C);
  border:1px solid rgba(0,200,240,.35);border-radius:1.25rem;
  color:#DCE9F8;box-shadow:0 22px 44px -20px rgba(8,20,48,.6);
  padding:2.1rem 1.5rem;gap:.9rem;
}
body.home-soc .tf-badge-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(64,160,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(64,160,255,.06) 1px,transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(85% 90% at 50% 0%,#000 25%,transparent 75%);
  mask-image:radial-gradient(85% 90% at 50% 0%,#000 25%,transparent 75%);
}
/* console header strip */
body.home-soc .tf-badge-card::after{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--soc-cyan),transparent);
}
body.home-soc .tf-badge-card>*{position:relative;z-index:1}
body.home-soc .tf-badge-card:hover{box-shadow:0 26px 48px -20px rgba(8,20,48,.7)}
body.home-soc .tf-badge-title{color:#fff;font-size:1.3rem;margin:0}
body.home-soc .tf-badge-desc{color:var(--soc-mut);font-size:.95rem;margin:0}
body.home-soc .tf-badge-levels{flex-wrap:wrap}
body.home-soc .tf-badge-group{margin:0}
body.home-soc .tf-badge-scope{
  color:var(--soc-cyan-txt);font-family:var(--soc-mono);
  font-size:.85rem;letter-spacing:.08em;
}
/* level chips keep the JS-set level colours (inline background);
   only the indicator SHAPE is restyled — squared, ringed, tracked */
body.home-soc .tf-chip{
  border-radius:.55rem;border:1px solid rgba(255,255,255,.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 14px -4px rgba(0,0,0,.5);
  letter-spacing:.05em;padding:.55rem 1.5rem;
}
body.home-soc .tf-badge-time{
  font-family:var(--soc-mono);color:var(--soc-cyan-txt);
  font-size:.85rem;letter-spacing:.03em;margin:0;
}
body.home-soc .tf-badge-card .arrow{color:var(--soc-link)}

/* ================= AI Hub featured panel ================= */
body.home-soc .hub-entry{border-radius:1.25rem}
body.home-soc .hub-entry-featured{
  background:#101D42 radial-gradient(closest-side at 10% 50%,rgba(0,200,240,.28),rgba(0,200,240,0));
  border:1px solid rgba(0,200,240,.30);
}
@media(max-width:640px){
  body.home-soc .hub-entry-featured{
    background:#101D42 radial-gradient(closest-side at 50% 0%,rgba(0,200,240,.28),rgba(0,200,240,0));
  }
}

/* ================= lower sections — light, tightened ============ */
body.home-soc main .section{padding:2.75rem 0}
body.home-soc .section > .container > h2{
  color:#fff;border-left:.32rem solid var(--soc-cyan);
  padding-left:.8rem;margin:0 0 1.1rem;
}
body.home-soc main .lead{color:var(--soc-body)}
/* light cards (advisories / tools / services on this page only) */
body.home-soc .card{
  background:rgba(255,255,255,.88);border:1px solid var(--soc-line);
  border-radius:1.25rem;box-shadow:0 10px 30px -14px rgba(16,29,66,.18);
}
body.home-soc .card-band{height:72px;border-bottom:1px solid rgba(16,29,66,.10)}
body.home-soc .band-advisory{background:linear-gradient(120deg,#101D42,#0869D4)}
body.home-soc .band-tools{background:linear-gradient(120deg,#0A2A5E,#0E7FEA)}
body.home-soc .band-service{background:linear-gradient(120deg,#101D42,#1D3A7A)}
body.home-soc .card-body{gap:.4rem}
body.home-soc .card-body h3{color:var(--soc-ink);margin:0}
body.home-soc .card-body p{margin:0}
body.home-soc .card-body .muted{color:var(--soc-mut-lt)}
body.home-soc .card-body .meta{color:var(--soc-mut-lt)}
/* Contrast fixes 2026-11-15: price + arrow on the light cards were
   styled for dark cards (concept .price white 1.26:1, azure arrow
   1.52:1) — they take ink tones here. */
body.home-soc .card .price{color:var(--soc-ink)}
body.home-soc .card .price small{color:var(--soc-mut-lt)}
body.home-soc .card .arrow{color:#0659BC}
body.home-soc .tag{border-radius:.45rem}
/* card category tag = solid cyan plaque with ink text (~8.4:1) — the
   concept theme's translucent dark-card tag is unreadable on these
   light cards. The coming-soon plaque keeps its own 3D treatment. */
body.home-soc .tag:not(.tag-coming-soon){
  background:var(--soc-cyan);border-color:transparent;color:var(--soc-ink);
}
/* restore the paused-service plaque's approved site-v14 design on
   this page: the concept theme's .tag shorthand (higher specificity
   than .tag-coming-soon) silently replaced its indigo gradient and
   white text with the translucent dark-card tag — pale on the light
   cards here. Its 3D shadow/padding/size were never overridden and
   are not repeated. */
body.home-soc .tag-coming-soon{
  background:linear-gradient(180deg,#22335F 0%,#16264E 55%,#101D42 100%);
  border-color:#0B1531;color:#fff;
}
/* the tax note (税抜 / "excl. tax") never splits across lines */
body.home-soc .price small{white-space:nowrap}
body.home-soc .source-note{color:var(--soc-mut);margin:1rem 0 0}

/* ================= trust strip — brand indigo ================= */
body.home-soc .trust-strip{
  background:linear-gradient(180deg,var(--soc-ink),#0C1A3C);
  border:1px solid rgba(0,200,240,.25);border-radius:1.25rem;
}
body.home-soc .trust-strip h2{color:#fff;margin:0 0 .75rem}
body.home-soc .trust-strip p{margin:0 0 .5rem}
body.home-soc .trust-strip .sa-card{border-radius:1rem;margin:1.25rem 0}
body.home-soc .trust-strip .sa-card p{margin:0}

/* The HC banner block moved to hcb-v1.css (2026-11-15 design
   release) so the same single writer serves the homepage panel
   and the article-rail variant. */

/* Photo bands (2026-11-15, home-v6): the three section cards
   (脅威予報 / 学ぶ / サービス) use a full-bleed photorealistic photo
   instead of the plain gradient + white line icon — same treatment as
   the /learn category cards (learn-v2.css). The band keeps its box
   (72px on this page) and the band-* gradient underneath, so a failed
   image still shows the gradient. Icon dropped: the photo carries the
   visual and the card heading names the section. */
.card-band.band-photo{padding:0;overflow:hidden}
.card-band-img{display:block;width:100%;height:100%;object-fit:cover}
