/* HanaKoke: Screenshot Actions — privacy policy, October 2026.
   Native fonts, no external assets, no scripts, no tracking.
   Keep this filename to preserve the existing privacy-policy URL. */
:root {
  color-scheme: light dark;
  --bg: #f2f9fa;
  --surface: rgba(255, 255, 255, .94);
  --surface-solid: #ffffff;
  --ink: #142b37;
  --muted: #526875;
  --subtle: #71838d;
  --ocean: #067785;
  --ocean-soft: rgba(7, 126, 138, .095);
  --blue: #246dba;
  --coral: #b44965;
  --ring: #087f92;
  --line: rgba(28, 91, 110, .12);
  --shadow: 0 20px 65px rgba(20, 84, 113, .08);
  --hero-1: #d6f6f1;
  --hero-2: #e0efff;
  --hero-3: #fde8ed;
  --banner-bg: linear-gradient(112deg, rgba(216, 247, 243, .97), rgba(235, 240, 255, .90) 58%, rgba(253, 235, 238, .91));
  --cardwash: linear-gradient(130deg, rgba(20, 159, 162, .10), rgba(79, 144, 205, .065) 58%, rgba(208, 117, 142, .08));
  --radius: 26px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09151c;
    --surface: rgba(18, 35, 44, .94);
    --surface-solid: #12252e;
    --ink: #f0fafb;
    --muted: #b5cbd0;
    --subtle: #a0b5bd;
    --ocean: #7adbd3;
    --ocean-soft: rgba(101, 221, 207, .13);
    --blue: #8dbdff;
    --coral: #ffb0bb;
    --ring: #8ee7e0;
    --line: rgba(193, 230, 238, .13);
    --shadow: 0 24px 70px rgba(0, 0, 0, .30);
    --hero-1: #103740;
    --hero-2: #172d47;
    --hero-3: #321f36;
    --banner-bg: linear-gradient(112deg, rgba(18, 61, 66, .96), rgba(33, 41, 69, .95) 58%, rgba(66, 35, 55, .94));
    --cardwash: linear-gradient(125deg, rgba(79, 213, 206, .12), rgba(74, 121, 191, .09) 58%, rgba(226, 120, 145, .085));
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 400 16px/1.74 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 12% 1%, rgba(57, 195, 181, .15), transparent 33rem),
    radial-gradient(circle at 94% 19%, rgba(214, 104, 139, .11), transparent 35rem),
    radial-gradient(circle at 40% 65%, rgba(58, 127, 208, .075), transparent 42rem),
    var(--bg);
}
::selection { background: rgba(86, 184, 191, .3); color: var(--ink); }
.page { width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 64px; }

/* The header's layered colors mirror the ocean/sky/coral palette of HanaKoke. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 5.6vw, 54px);
  background: linear-gradient(125deg, var(--hero-1) 0%, var(--hero-2) 51%, var(--hero-3) 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 7% 0%, rgba(255,255,255,.64), transparent 52%),
    radial-gradient(ellipse at 94% 100%, rgba(255,255,255,.26), transparent 44%);
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  .hero::before { background: radial-gradient(ellipse at 9% 0%, rgba(115, 241, 234, .095), transparent 52%); }
}
.brand-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(30px, 6vw, 50px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-emblem {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  font: 700 29px/1 Georgia, serif;
  background: linear-gradient(145deg, #138caa 3%, #2a82bd 45%, #ca788e 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 8px 22px rgba(14, 93, 129, .13);
}
.brand-type { display: block; font-weight: 800; font-size: 1.2rem; letter-spacing: -.04em; line-height: 1.17; }
.brand-type > span { color: var(--ocean); }
.brand-type small { display: block; font-size: .60rem; letter-spacing: .18em; font-weight: 750; color: var(--muted); margin-top: 4px; }
.page-label { border: 1px solid var(--line); background: rgba(255, 255, 255, .21); padding: 6px 13px; border-radius: 999px; font-size: .78rem; font-weight: 750; letter-spacing: .015em; }
.hero-content { position: relative; z-index: 2; max-width: 740px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; background: var(--ocean-soft); color: var(--ocean); font-size: .81rem; font-weight: 800; letter-spacing: .02em; margin: 0 0 17px; }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 6.4vw, 4.55rem); letter-spacing: -.055em; line-height: 1.075; font-weight: 800; }
.headline-accent { color: var(--ocean); }
@supports (-webkit-background-clip: text) {
  .headline-accent {
    background: linear-gradient(105deg, #047b89 8%, #2786c6 60%, #ad588e 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  @media (prefers-color-scheme: dark) {
    .headline-accent { background-image: linear-gradient(105deg, #83e7d7 5%, #9cc5fe 64%, #ffc1c5 100%); }
  }
}
.intro { max-width: 680px; margin: 22px 0 0; font-size: clamp(1.04rem, 2vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.meta span { max-width: 100%; }
.meta strong { color: var(--ink); margin-right: 5px; }
.hero-flower { position: absolute; bottom: -102px; right: -54px; z-index: 0; font-family: Georgia, serif; font-size: clamp(16rem, 36vw, 23rem); line-height: 1; transform: rotate(18deg); color: var(--coral); opacity: .075; pointer-events: none; user-select: none; }

.rebrand-banner { display: flex; align-items: flex-start; gap: 17px; margin: 22px 0; padding: clamp(21px, 4vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: var(--banner-bg); box-shadow: 0 10px 30px rgba(43, 92, 115, .045); }
.rebrand-symbol { display: grid; place-items: center; min-width: 46px; min-height: 46px; border-radius: 15px; font-size: 23px; background: rgba(255,255,255,.34); }
.rebrand-kicker { color: var(--ocean); text-transform: uppercase; letter-spacing: .14em; font-size: .70rem; font-weight: 850; margin: 0 0 2px; }
.rebrand-banner h2 { margin: 0 0 8px; font-size: 1.38rem; letter-spacing: -.025em; }
.rebrand-banner p:last-child { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.rebrand-banner strong { color: var(--ink); }

.quick-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 22px; padding: 3px 1px; }
.quick-label { color: var(--subtle); font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; margin-right: 4px; }
.quick-nav a { display: inline-flex; align-items: center; text-decoration: none; line-height: 1.35; color: var(--ocean); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: .83rem; font-weight: 650; transition: background-color .15s ease, border-color .15s ease; }
.quick-nav a:hover { background: var(--ocean-soft); border-color: var(--ocean); }

.content { padding: clamp(24px, 5.4vw, 54px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.highlight { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 25px; padding: clamp(18px, 3vw, 26px); background: var(--cardwash); border: 1px solid var(--line); border-radius: 20px; }
.summary-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; flex: 0 0 42px; background: linear-gradient(145deg, #078697, #466dbd 63%, #b96d9e); color: white; font-size: 22px; }
.highlight h2 { margin: 0 0 9px; color: var(--ink); font-size: 1.25rem; }
.highlight p { margin: 0; line-height: 1.76; color: var(--muted); }
.note { color: var(--muted); font-size: .94rem; }
.content > .note { margin: 0 0 12px; }
.content section { scroll-margin-top: 26px; }
.content section + section { margin-top: 38px; padding-top: 35px; border-top: 1px solid var(--line); }
.content section:first-of-type { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--line); }
.content h2 { margin: 0 0 14px; font-size: clamp(1.28rem, 2.8vw, 1.66rem); line-height: 1.35; font-weight: 780; letter-spacing: -.025em; }
.content p { margin: 0 0 15px; }
.content p:last-child { margin-bottom: 0; }
.content ul { margin: 12px 0 20px; padding-left: 24px; }
.content li { padding-left: 3px; }
.content li + li { margin-top: 8px; }
.content li::marker { color: var(--ocean); }
.content strong { font-weight: 740; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; border-radius: 3px; }

footer { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 34px 10px 0; color: var(--muted); font-size: .87rem; }
footer p { margin: 0; }
footer .footer-brand { font-weight: 800; font-size: .99rem; color: var(--ink); }
.footer-brand > span:first-child { color: var(--coral); }
.footer-dot { color: var(--subtle); padding: 0 4px; }
footer a { margin-top: 9px; font-weight: 700; }

@media (max-width: 640px) {
  .page { width: min(100% - 20px, 980px); padding: 10px 0 46px; }
  .hero { border-radius: 25px; }
  .content { border-radius: 23px; }
  .hero-flower { right: -91px; bottom: -64px; font-size: 17rem; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.6rem); }
  .page-label { font-size: .71rem; }
  .meta { flex-direction: column; gap: 6px; }
  .rebrand-banner { gap: 12px; border-radius: 22px; }
  .rebrand-symbol { min-width: 39px; min-height: 39px; font-size: 21px; }
  .highlight { gap: 11px; }
  .summary-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .content section + section { margin-top: 31px; padding-top: 28px; }
}
@media (max-width: 380px) {
  .hero, .content { padding: 20px; }
  .brand-row { margin-bottom: 25px; }
  .brand-emblem { width: 40px; height: 40px; border-radius: 13px; }
  .page-label { display: none; }
  .rebrand-banner { padding: 18px; }
  .rebrand-symbol { display: none; }
  .quick-nav { gap: 6px; }
  .quick-nav a { font-size: .78rem; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  :root { color-scheme: light; --surface: #fff; --ink: #111; --muted: #333; --line: #ddd; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .page { width: 100%; padding: 0; }
  .hero, .rebrand-banner, .content { box-shadow: none; background: #fff; border: 1px solid #ddd; }
  .hero-flower, .quick-nav, footer a { display: none; }
  .content section { break-inside: avoid-page; }
  a { color: #064c7a; }
}
