@charset "UTF-8";

:root {
  --navy-950: #0d202c;
  --navy-900: #112b3b;
  --navy-800: #18384f;
  --navy-700: #24516e;
  --navy-100: #e7eef2;
  --ink: #111111;
  --ink-soft: #111111;
  --muted: #2f2f2f;
  --heading: #0d202c;
  --paper: #fffdf8;
  --cream-50: #fdfbf5;
  --cream-100: #f7f2e8;
  --cream-200: #eee5d6;
  --cream-300: #dfd1bc;
  --gold-700: #89672f;
  --gold-500: #b58c43;
  --gold-300: #d8bc83;
  --coral-700: #ba4e3e;
  --coral-500: #e46e59;
  --coral-100: #fae2dc;
  --green-700: #396959;
  --green-500: #5d8d7a;
  --blue-500: #637f98;
  --rose-500: #ad7080;
  --purple-500: #806c92;
  --teal-500: #4e8586;
  --slate-500: #687276;
  --line: rgba(40, 52, 58, .14);
  --line-strong: rgba(40, 52, 58, .23);
  --shadow-sm: 0 8px 24px rgba(21, 36, 45, .08);
  --shadow-md: 0 20px 55px rgba(21, 36, 45, .13);
  --shadow-lg: 0 35px 100px rgba(11, 27, 38, .22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-height: 78px;
  --font-body: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --font-heading: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --font-serif: var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: .018em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header, .eyebrow, .button, .feature-filter, .feature-kicker, .price-label,
.price, .price-regular, .start-steps span, .screen-points span, .footer-grid,
.footer-bottom, .dialog-section-label, .gallery-caption, .gallery-thumb,
.notebook-page-meta, .news-category, .news-more { font-family: var(--font-heading); }
p, h1, h2, h3, h4, dl, dd, figure { margin-top: 0; }
code {
  padding: .12em .42em;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy-800);
  background: rgba(255, 255, 255, .65);
  font-family: Consolas, "Courier New", monospace;
  font-size: .9em;
}

::selection { color: #fff; background: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 118px 0; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: 56px;
  align-items: end;
  max-width: none;
}
.section-heading > p:last-child,
.section-heading-row > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.03em;
  line-height: 1.9;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: var(--gold-700);
  font-size: .74em;
  font-weight: 800;
  letter-spacing: .14em;
}
.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-700);
  font-size: .92em;
  letter-spacing: .17em;
}
.eyebrow span::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-family: var(--font-heading); line-height: 1.35; letter-spacing: -.04em; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.35rem); }
h2 { margin-bottom: 26px; font-size: clamp(2.15rem, 4vw, 3.8rem); }
h3 { font-size: 1.28rem; }
h1 em, h2 em { color: var(--coral-700); font-family: inherit; font-style: normal; font-weight: 700; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 7px;
  color: #fff;
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(253, 251, 245, .91);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(20, 34, 43, .08); background: rgba(253, 251, 245, .97); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(calc(100% - 42px), 1380px);
  height: 100%;
  margin-inline: auto;
}
.site-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-brand img { width: 42px; height: 42px; filter: drop-shadow(0 5px 10px rgba(23, 54, 75, .13)); }
.site-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand strong { color: var(--heading); font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: .015em; }
.site-brand small { margin-top: 4px; color: var(--muted); font-family: var(--font-heading); font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.global-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.45vw, 24px); margin-left: auto; }
.global-nav a { position: relative; padding: 26px 0 24px; color: var(--ink); font-family: var(--font-heading); font-size: .79rem; font-weight: 700; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 2px; background: var(--coral-500); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.global-nav a:hover, .global-nav a[aria-current="true"] { color: var(--heading); }
.global-nav a:hover::after, .global-nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.utility-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .68);
  cursor: pointer;
}
.utility-button span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 6px; color: #fff; background: var(--navy-800); font-size: .72rem; }
.utility-button b { font-size: .72rem; }
.utility-button[aria-pressed="true"] { border-color: var(--gold-500); background: #fff8e8; }
.header-site-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 10px; color: #fff; background: var(--navy-800); font-size: .72rem; font-weight: 800; letter-spacing: .03em; }
.header-site-link:hover { background: var(--navy-700); }
.page-top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.theme-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--heading);
  background: rgba(255, 255, 255, .76);
  font-family: var(--font-heading);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.theme-button:hover { border-color: var(--gold-500); transform: translateY(-1px); }
.theme-button[aria-pressed="true"] { border-color: var(--gold-500); background: #1d303a; color: #fff; }
.theme-button-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; background: var(--navy-800); font-size: .83rem; line-height: 1; }
.theme-button b { font-size: .72rem; white-space: nowrap; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--navy-950); transition: transform .2s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; top: var(--header-height); right: 0; left: 0; z-index: 999; padding: 14px 22px 22px; border-bottom: 1px solid var(--line); background: var(--cream-50); box-shadow: var(--shadow-md); }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 9px; border-bottom: 1px solid var(--line); color: var(--heading); font-family: var(--font-heading); font-weight: 700; }
.mobile-menu a::after { content: "→"; color: var(--coral-500); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 36px;
  background:
    radial-gradient(circle at 83% 25%, rgba(181, 140, 67, .15), transparent 29%),
    linear-gradient(145deg, #faf6ed 0%, #fffdf8 53%, #edf3f1 100%);
}
.hero::before { content: ""; position: absolute; top: -190px; right: -120px; width: 560px; height: 560px; border: 1px solid rgba(24, 56, 79, .08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(24, 56, 79, .024), 0 0 0 140px rgba(24, 56, 79, .018); }
.hero-paper { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(51, 72, 84, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 72, 84, .045) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, #000, transparent 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(570px, 1.06fr) minmax(520px, .94fr); gap: clamp(34px, 4vw, 58px); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 38px 0 62px; }
.hero-copy h1 { margin-bottom: 30px; font-size: clamp(2.5rem, 3.35vw, 3.05rem); }
.hero-title-line { display: block; white-space: nowrap; }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: var(--ink-soft); font-size: 1.08em; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border: 1px solid transparent; border-radius: 10px; font-size: .9rem; font-weight: 800; letter-spacing: .025em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--coral-500); box-shadow: 0 12px 24px rgba(190, 78, 61, .2); }
.button-primary:hover { background: var(--coral-700); box-shadow: 0 16px 30px rgba(190, 78, 61, .24); }
.button-secondary { border-color: var(--line-strong); color: var(--navy-950); background: rgba(255, 255, 255, .72); }
.button-secondary:hover { border-color: var(--navy-700); background: #fff; }
.button-dark { color: #fff; background: var(--navy-950); }
.button-dark:hover { background: var(--navy-700); }
.hero-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 650px; margin: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.hero-specs div { padding: 17px 17px 18px; border-right: 1px solid var(--line); }
.hero-specs div:first-child { padding-left: 0; }
.hero-specs div:last-child { border-right: 0; }
.hero-specs dt { color: var(--coral-700); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.hero-specs dd { margin: 4px 0 0; color: var(--heading); font-size: .76rem; font-weight: 700; line-height: 1.55; }
.hero-visual { position: relative; z-index: 1; padding: 34px 0 64px; }
.product-window { overflow: hidden; border: 1px solid rgba(15, 37, 52, .18); border-radius: 20px; background: #fff; box-shadow: 0 35px 80px rgba(19, 44, 58, .22), 0 4px 0 rgba(255, 255, 255, .9) inset; transform: perspective(1300px) rotateY(-3deg) rotateX(1deg); transform-origin: center; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-bottom: 1px solid rgba(19, 44, 58, .14); background: #f5f2eb; }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c7bfb2; }
.window-bar span:first-child { background: var(--coral-500); }
.window-bar span:nth-child(2) { background: var(--gold-500); }
.window-bar span:nth-child(3) { background: var(--green-500); }
.window-bar b { margin-left: 8px; color: var(--muted); font-size: .63rem; letter-spacing: .08em; }
.product-window img { display: block; width: 100%; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 12px; color: #fff; box-shadow: var(--shadow-md); backdrop-filter: blur(12px); }
.hero-badge strong { font-size: 1.05rem; line-height: 1; }
.hero-badge span { font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.badge-one { top: 5px; right: 4%; background: rgba(24, 56, 79, .92); }
.badge-two { right: -10px; bottom: 38px; background: rgba(91, 132, 113, .94); }
.badge-three { bottom: 20px; left: 5%; background: rgba(181, 140, 67, .94); }
.hero-note { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.hero-note span { padding: 3px 8px; border-radius: 999px; color: var(--coral-700); background: var(--coral-100); font-weight: 800; }

/* Facts ----------------------------------------------------------------- */
.product-facts { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.85); border-bottom: 1px solid var(--line); background: var(--navy-900); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { min-height: 104px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.facts-grid div:first-child { padding-left: 0; }
.facts-grid div:last-child { border-right: 0; }
.facts-grid span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.52); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.facts-grid strong { color: #fff; font-size: .92rem; line-height: 1.5; }

/* News in one-page notebook -------------------------------------------- */
.news-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(93, 141, 122, .12), transparent 28%),
    linear-gradient(135deg, #eef2ef 0%, #f8f4eb 100%);
}
.news-section::before { content: "NEWS"; position: absolute; right: -28px; bottom: -38px; color: rgba(17, 43, 59, .035); font-family: var(--font-heading); font-size: clamp(8rem, 19vw, 17rem); font-weight: 900; letter-spacing: -.08em; line-height: .8; }
.news-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(400px, .72fr) minmax(620px, 1.28fr); gap: 48px; align-items: center; }
.news-heading { margin-bottom: 0; }
.news-heading h2 { font-size: clamp(2.25rem, 3.05vw, 2.65rem); }
.news-title-line { display: block; white-space: nowrap; }
.single-page-notebook {
  position: relative;
  min-height: 560px;
  padding: 24px 50px 24px 76px;
  border: 1px solid rgba(13, 32, 44, .2);
  border-radius: 25px;
  background: linear-gradient(145deg, #293a3c 0%, #152329 100%);
  box-shadow: var(--shadow-lg);
}
.single-page-notebook::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; pointer-events: none; }
.notebook-news-page {
  position: relative;
  min-height: 510px;
  padding: 29px 42px 42px;
  overflow: hidden;
  border-radius: 3px 17px 17px 3px;
  color: #111;
  background-color: #fffdf8;
  background-image:
    linear-gradient(rgba(49, 77, 90, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 77, 90, .055) 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow: 0 24px 45px rgba(0,0,0,.3), inset 16px 0 24px rgba(28,41,48,.06);
}
.notebook-news-page::before { content: ""; position: absolute; top: 0; bottom: 0; left: 17px; width: 1px; background: rgba(205, 95, 76, .23); }
.notebook-rings { position: absolute; z-index: 3; top: 61px; bottom: 61px; left: 53px; display: flex; flex-direction: column; justify-content: space-between; }
.notebook-rings i { position: relative; display: block; width: 52px; height: 15px; border: 3px solid #d6ddd9; border-right-color: #6e7774; border-left-color: #f8fbf9; border-radius: 999px; background: linear-gradient(#555f5c, #e5ebe7 48%, #68716e 52%, #f7faf8); box-shadow: 0 3px 5px rgba(0,0,0,.35); }
.notebook-rings i::after { content: ""; position: absolute; top: 50%; right: -17px; width: 18px; height: 18px; border: 3px solid #777f7c; border-radius: 50%; background: #242f32; transform: translateY(-50%); }
.notebook-page-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed rgba(31,52,62,.25); color: #6c7475; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.notebook-news-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 13px; }
.notebook-news-header p { margin: 0 0 1px; color: var(--coral-700); font-family: var(--font-heading); font-size: .64rem; font-weight: 900; letter-spacing: .12em; }
.notebook-news-header h3 { margin: 0; color: #111; font-size: 1.75rem; }
.news-more { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 7px 0 14px; border: 1px solid rgba(31,52,62,.2); border-radius: 999px; color: #111; background: rgba(255,255,255,.72); font-size: .68rem; font-weight: 800; }
.news-more i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #fff; background: var(--coral-500); font-style: normal; font-size: .78rem; transition: transform .2s ease; }
.news-more:hover i { transform: translate(2px, -2px); }
.news-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid #172d3a; }
.news-list li { display: grid; grid-template-columns: 90px 52px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 65px; border-bottom: 1px solid rgba(31,52,62,.18); }
.news-list time { color: #30383b; font-family: var(--font-heading); font-size: .67rem; font-weight: 700; letter-spacing: .03em; }
.news-category { display: inline-grid; place-items: center; min-height: 25px; border-radius: 999px; color: #fff; background: var(--green-700); font-size: .59rem; font-weight: 800; }
.news-list li:nth-child(2) .news-category { background: var(--coral-700); }
.news-list li:nth-child(3) .news-category { background: var(--blue-500); }
.news-list li:nth-child(4) .news-category { background: var(--gold-700); }
.news-list li:nth-child(5) .news-category { background: var(--navy-700); }
.news-list p { margin: 0; color: #111; font-size: .88rem; line-height: 1.65; }
.notebook-page-number { position: absolute; right: 24px; bottom: 13px; color: rgba(31,52,62,.32); font-family: var(--font-heading); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.notebook-side-tab { position: absolute; top: 124px; right: 10px; display: grid; place-items: center; width: 41px; height: 132px; border-radius: 0 11px 11px 0; color: #fff; background: var(--coral-500); font-family: var(--font-heading); font-size: .6rem; font-weight: 900; letter-spacing: .15em; writing-mode: vertical-rl; box-shadow: 7px 8px 18px rgba(0,0,0,.2); }

/* Overview -------------------------------------------------------------- */
.overview { background: var(--paper); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.principle-card { position: relative; min-height: 330px; padding: 38px 30px 34px; border-right: 1px solid var(--line); }
.principle-card:last-child { border-right: 0; }
.principle-card::before { content: ""; position: absolute; right: 30px; bottom: 0; left: 30px; height: 4px; background: var(--coral-500); transform: scaleX(.24); transform-origin: left; transition: transform .3s ease; }
.principle-card:nth-child(2)::before { background: var(--green-500); }
.principle-card:nth-child(3)::before { background: var(--gold-500); }
.principle-card:nth-child(4)::before { background: var(--navy-700); }
.principle-card:hover::before { transform: scaleX(1); }
.principle-number { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 50px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--coral-700); font-size: .7rem; font-weight: 900; }
.principle-card h3 { margin-bottom: 18px; }
.principle-card p { margin: 0; color: var(--ink-soft); font-size: .88em; line-height: 1.9; }

/* Feature cards --------------------------------------------------------- */
.features { position: relative; overflow: hidden; background: var(--cream-100); }
.features::before { content: "FUNCTION"; position: absolute; top: 32px; right: -8px; color: rgba(17,43,59,.035); font-size: clamp(7rem, 17vw, 15rem); font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.feature-filter { position: relative; z-index: 2; display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.75); }
.feature-filter button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 8px; color: var(--ink-soft); background: transparent; font-size: .78rem; font-weight: 800; cursor: pointer; }
.feature-filter button:hover { color: var(--heading); background: var(--cream-100); }
.feature-filter button.is-active { color: #fff; background: var(--navy-800); box-shadow: 0 8px 16px rgba(24,56,79,.15); }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { display: grid; grid-template-columns: minmax(240px, .92fr) minmax(0, 1.08fr); overflow: hidden; min-height: 330px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card[hidden] { display: none; }
.feature-image { position: relative; min-height: 100%; overflow: hidden; background: var(--navy-900); }
.feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12,31,42,.55)); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.feature-card:hover .feature-image img { transform: scale(1.035); }
.feature-image > span { position: absolute; z-index: 2; right: 15px; bottom: 15px; left: 15px; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.feature-card-body { position: relative; display: flex; flex-direction: column; padding: 29px 29px 26px; }
.feature-card-body::before { content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--card-accent, var(--coral-500)); }
.feature-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 20px; border-radius: 12px; color: #fff; background: var(--card-accent, var(--coral-500)); font-size: 1.16rem; font-weight: 900; box-shadow: 0 9px 17px color-mix(in srgb, var(--card-accent, var(--coral-500)) 23%, transparent); }
.feature-kicker { margin-bottom: 6px; color: var(--card-accent, var(--coral-700)); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.58rem; }
.feature-card-body > p:not(.feature-kicker) { margin-bottom: 24px; color: var(--ink-soft); font-size: .84em; line-height: 1.82; }
.feature-open { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin-top: auto; padding: 0; border: 0; border-top: 1px solid var(--line); color: var(--heading); background: transparent; font-family: var(--font-heading); font-size: .76rem; font-weight: 900; text-align: left; cursor: pointer; }
.feature-open span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--card-accent, var(--coral-500)); transition: transform .2s ease; }
.feature-open:hover span { transform: translateX(4px); }
.feature-coral { --card-accent: var(--coral-500); }
.feature-green { --card-accent: var(--green-500); }
.feature-blue { --card-accent: var(--blue-500); }
.feature-rose { --card-accent: var(--rose-500); }
.feature-gold { --card-accent: var(--gold-500); }
.feature-purple { --card-accent: var(--purple-500); }
.feature-slate { --card-accent: var(--slate-500); }
.feature-teal { --card-accent: var(--teal-500); }
.feature-charcoal { --card-accent: #4c575b; }
.feature-navy { --card-accent: var(--navy-800); }

/* Device showcase ------------------------------------------------------- */
.screen-showcase { overflow: hidden; color: #fff; background: var(--navy-950); }
.screen-showcase h2, .screen-showcase h3 { color: #fff; }
.screen-showcase .section-heading > p:last-child { color: rgba(255,255,255,.67); }
.screen-showcase .eyebrow { color: var(--gold-300); }
.screen-showcase .eyebrow span { color: #f18a74; }
.device-stage { position: relative; min-height: 670px; margin-top: 12px; }
.desktop-device { position: absolute; top: 0; left: 0; width: 82%; padding: 19px 19px 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 27px 27px 17px 17px; background: linear-gradient(145deg, #36444a, #111b20); box-shadow: 0 35px 80px rgba(0,0,0,.45); }
.desktop-device::after { content: ""; position: absolute; bottom: -20px; left: 32%; width: 36%; height: 22px; border-radius: 0 0 40px 40px; background: #202b30; }
.desktop-device img { display: block; width: 100%; border-radius: 10px; }
.device-camera { position: absolute; top: 7px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #879195; }
.phone-device { position: absolute; z-index: 2; overflow: hidden; width: 245px; padding: 12px 8px 10px; border: 2px solid #3f4b50; border-radius: 30px; background: #172125; box-shadow: 0 28px 60px rgba(0,0,0,.5); }
.phone-device img { display: block; width: 100%; border-radius: 18px; }
.phone-speaker { position: absolute; z-index: 3; top: 5px; left: 50%; width: 54px; height: 5px; border-radius: 999px; background: #0c1114; transform: translateX(-50%); }
.phone-one { right: 10%; bottom: 15px; transform: rotate(2deg); }
.phone-two { right: -7%; bottom: 58px; width: 220px; transform: rotate(5deg); opacity: .88; }
.screen-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 38px; background: rgba(255,255,255,.12); }
.screen-points article { padding: 30px 32px 34px; background: var(--navy-950); }
.screen-points span { color: #f18a74; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.screen-points h3 { margin: 12px 0 13px; }
.screen-points p { margin: 0; color: rgba(255,255,255,.64); font-size: .85em; line-height: 1.85; }

/* Usage ----------------------------------------------------------------- */
.usage { background: var(--paper); }
.usage-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.usage-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.usage-notice { display: grid; grid-template-columns: auto auto; gap: 4px 16px; align-items: center; margin-top: 30px; padding: 20px 22px; border: 1px solid rgba(228,110,89,.28); border-radius: 13px; background: var(--coral-100); }
.usage-notice strong { color: var(--coral-700); font-size: .75rem; letter-spacing: .04em; }
.usage-notice > span { justify-self: start; padding: 2px 15px; border-radius: 999px; color: #fff; background: var(--coral-500); font-size: 1.18rem; font-weight: 900; letter-spacing: .12em; }
.usage-notice p { grid-column: 1 / -1; margin: 7px 0 0; color: #714e47; font-size: .75rem; }
.usage-visual { overflow: hidden; padding: 11px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream-100); box-shadow: var(--shadow-md); transform: rotate(1deg); }
.usage-visual img { display: block; border-radius: 13px; }
.start-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 72px; }
.start-steps article { min-height: 220px; padding: 27px 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--cream-50); }
.start-steps span { color: var(--coral-700); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.start-steps h3 { margin: 26px 0 12px; }
.start-steps p { margin: 0; color: var(--ink-soft); font-size: .82em; line-height: 1.8; }

/* Safety ---------------------------------------------------------------- */
.safety { position: relative; overflow: hidden; background: #e9efec; }
.safety::after { content: ""; position: absolute; right: -150px; bottom: -180px; width: 540px; height: 540px; border: 1px solid rgba(57,105,89,.16); border-radius: 50%; box-shadow: 0 0 0 65px rgba(57,105,89,.045), 0 0 0 130px rgba(57,105,89,.03); }
.safety-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.safety-visual { position: relative; }
.lock-window { overflow: hidden; padding: 12px; border: 1px solid rgba(17,43,59,.14); border-radius: 22px; background: var(--navy-900); box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.lock-window img { display: block; border-radius: 13px; }
.safety-seal { position: absolute; right: -26px; bottom: -28px; display: flex; align-items: center; gap: 12px; width: 145px; height: 145px; padding: 23px; border: 5px double rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: var(--green-700); box-shadow: 0 17px 34px rgba(41,82,69,.28); transform: rotate(8deg); }
.safety-seal span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; font-weight: 900; }
.safety-seal strong { font-size: .7rem; line-height: 1.3; letter-spacing: .08em; }
.safety-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.safety-list { margin-top: 34px; border-top: 1px solid rgba(38,52,58,.18); }
.safety-list article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid rgba(38,52,58,.14); }
.safety-list > article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--green-700); font-size: .65rem; font-weight: 900; }
.safety-list h3 { margin: 0 0 5px; font-size: 1.03rem; }
.safety-list p { margin: 0; color: var(--ink-soft); font-size: .8em; line-height: 1.75; }

/* Pricing --------------------------------------------------------------- */
.pricing { background: var(--cream-100); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 580px; padding: 38px 34px 32px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.price-card.is-primary { border: 2px solid var(--coral-500); transform: translateY(-10px); box-shadow: var(--shadow-md); }
.price-card.is-primary::before { content: "基本の製品"; position: absolute; top: -15px; right: 24px; padding: 5px 14px; border-radius: 999px; color: #fff; background: var(--coral-500); font-size: .68rem; font-weight: 900; letter-spacing: .05em; }
.price-card.is-custom { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.price-card.is-custom h3 { color: #fff; }
.price-label { margin-bottom: 8px; color: var(--coral-700); font-size: .64rem; font-weight: 900; letter-spacing: .14em; }
.is-custom .price-label { color: var(--gold-300); }
.price-card h3 { margin-bottom: 8px; font-size: 1.65rem; }
.price-for { min-height: 61px; margin-bottom: 20px; color: var(--ink-soft); font-size: .82em; line-height: 1.75; }
.price-regular { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; color: var(--ink); }
.price-regular span { padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--slate-500); font-size: .61rem; font-weight: 800; }
.price-regular del { color: var(--muted); font-size: 1.02rem; font-weight: 800; text-decoration-thickness: 2px; }
.price-regular small { color: var(--muted); font-size: .62rem; }
.is-custom .price-for { color: rgba(255,255,255,.66); }
.price { display: flex; align-items: baseline; gap: 5px; min-height: 80px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-now { position: relative; padding-top: 22px; }
.price-now > b { position: absolute; top: 0; left: 0; color: var(--coral-700); font-size: .7rem; font-weight: 900; letter-spacing: .09em; }
.is-custom .price { border-color: rgba(255,255,255,.17); }
.price strong { color: var(--navy-950); font-family: Arial, sans-serif; font-size: clamp(2.5rem, 4vw, 3.55rem); line-height: 1; letter-spacing: -.06em; }
.is-custom .price strong { color: #fff; }
.price span { color: var(--navy-950); font-size: .85rem; font-weight: 800; }
.is-custom .price span { color: #fff; }
.price small { margin-left: auto; color: var(--muted); font-size: .65rem; font-weight: 800; }
.is-custom .price small { color: rgba(255,255,255,.55); }
.price-from { flex-wrap: wrap; }
.price-from small { width: 100%; margin: 0 0 3px; }
.price-card ul { display: grid; gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.price-card li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: .82em; line-height: 1.65; }
.price-card li::before { content: "✓"; position: absolute; top: 0; left: 0; color: var(--coral-500); font-weight: 900; }
.is-custom li { color: rgba(255,255,255,.72); }
.is-custom li::before { color: var(--gold-300); }
.price-card .button { width: 100%; margin-top: auto; }
.price-note { margin: 22px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

/* Story ----------------------------------------------------------------- */
.story { color: #fff; background: linear-gradient(125deg, #a95042 0%, #c96150 45%, #d87c5d 100%); }
.story-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 78px; align-items: center; }
.story-year { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.story-year strong { font-family: Arial, sans-serif; font-size: clamp(6rem, 12vw, 10rem); line-height: .82; letter-spacing: -.08em; }
.story-year span { margin-top: 20px; font-size: .8rem; font-weight: 900; letter-spacing: .28em; }
.story-year small { margin-top: 9px; color: rgba(255,255,255,.64); font-size: .67rem; letter-spacing: .14em; }
.story .eyebrow { color: #ffe0a7; }
.story .eyebrow span { color: #fff; }
.story h2 { color: #fff; }
.story h2 em { color: #fff3d5; }
.story-copy > p:not(.eyebrow):not(.story-sign) { max-width: 780px; color: rgba(255,255,255,.8); font-size: 1.02em; line-height: 2; }
.story-sign { margin: 32px 0 0; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.25); font-size: .8rem; font-weight: 800; }

/* FAQ ------------------------------------------------------------------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 76px; align-items: start; }
.faq-grid .section-heading { position: sticky; top: calc(var(--header-height) + 40px); margin-bottom: 0; }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { margin: 0; }
.faq-item h3 button { display: grid; grid-template-columns: 1fr 42px; gap: 20px; align-items: center; width: 100%; min-height: 91px; padding: 20px 0; border: 0; color: var(--heading); background: transparent; font-family: var(--font-heading); font-size: 1rem; font-weight: 800; line-height: 1.65; text-align: left; cursor: pointer; }
.faq-item h3 button span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--coral-700); font-size: 1.2rem; transition: transform .2s ease, background .2s ease; }
.faq-item h3 button[aria-expanded="true"] span { color: #fff; background: var(--coral-500); transform: rotate(45deg); }
.faq-answer { padding: 0 62px 28px 0; }
.faq-answer p { margin: 0; color: var(--ink-soft); font-size: .88em; line-height: 1.95; }

/* Contact --------------------------------------------------------------- */
.contact { padding: 88px 0; color: #fff; background: var(--navy-900); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.contact h2 { margin-bottom: 18px; color: #fff; }
.contact h2 em { color: var(--gold-300); }
.contact .eyebrow { color: var(--gold-300); }
.contact .eyebrow span { color: #f18a74; }
.contact-inner > div > p:last-child { margin: 0; color: rgba(255,255,255,.64); }
.contact-link { display: grid; grid-template-columns: 1fr 40px; gap: 3px 18px; align-items: center; padding: 28px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.06); transition: background .2s ease, transform .2s ease; }
.contact-link:hover { background: rgba(255,255,255,.11); transform: translateY(-3px); }
.contact-link span { color: rgba(255,255,255,.58); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.contact-link strong { font-size: 1.45rem; letter-spacing: -.02em; }
.contact-link i { grid-row: 1 / 3; grid-column: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy-950); background: var(--gold-300); font-style: normal; }

/* Footer ---------------------------------------------------------------- */
.site-footer { padding: 54px 0 23px; color: rgba(255,255,255,.72); background: #0b1a23; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .7fr; gap: 50px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-app-icon { display: grid; place-items: center; flex: 0 0 auto; width: 66px; height: 66px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: linear-gradient(145deg, #fffdf8, #e8e0d1); box-shadow: 0 13px 30px rgba(0,0,0,.25); }
.footer-app-icon img { width: 48px; height: 48px; filter: none !important; opacity: 1 !important; }
.footer-brand > img { width: 44px; height: 44px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand > span:not(.footer-app-icon) { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; }
.footer-brand small { margin-top: 5px; color: rgba(255,255,255,.45); font-size: .7rem; }
.footer-company { display: flex; flex-direction: column; }
.footer-company span { color: rgba(255,255,255,.42); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.footer-company strong { margin-top: 4px; color: #fff; font-size: .86rem; }
.footer-company a { margin-top: 6px; color: var(--gold-300); font-size: .72rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 18px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .72rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: .62rem; }
.noscript { position: fixed; z-index: 5000; right: 16px; bottom: 16px; left: 16px; padding: 14px; border-radius: 9px; color: #fff; background: var(--coral-700); text-align: center; }

/* Feature detail dialog ------------------------------------------------- */
.feature-dialog {
  width: min(1180px, calc(100% - 34px));
  max-width: none;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.feature-dialog::backdrop { background: rgba(7, 22, 31, .72); backdrop-filter: blur(8px); }
.feature-dialog[open] { animation: dialog-in .24s ease both; }
.feature-dialog-shell { display: flex; flex-direction: column; max-height: 92dvh; }
.feature-dialog-header { position: relative; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 25px 28px 22px; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.96); }
.dialog-title-wrap { display: grid; grid-template-columns: 55px 1fr; gap: 17px; align-items: start; min-width: 0; }
.dialog-icon { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 15px; color: #fff; background: var(--dialog-accent, var(--coral-500)); box-shadow: 0 10px 22px color-mix(in srgb, var(--dialog-accent, var(--coral-500)) 24%, transparent); font-size: 1.45rem; font-weight: 900; }
#feature-dialog-kicker { margin: 0 0 3px; color: var(--dialog-accent, var(--coral-700)); font-size: .64rem; font-weight: 900; letter-spacing: .13em; }
#feature-dialog-title { margin: 0 0 4px; font-size: 1.72rem; }
#feature-dialog-summary { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.65; }
.dialog-close { flex: 0 0 auto; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 12px; color: var(--heading); background: var(--cream-50); font-family: var(--font-heading); font-size: 1.4rem; cursor: pointer; }
.dialog-close:hover { color: #fff; border-color: var(--coral-500); background: var(--coral-500); }
.feature-dialog-body { overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.dialog-gallery { margin-bottom: 34px; }
.gallery-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: #17262f; box-shadow: var(--shadow-md); }
.gallery-main { position: relative; display: grid; place-items: center; width: 100%; min-height: 280px; padding: 0; border: 0; background: #17262f; cursor: zoom-in; }
.gallery-main img { display: block; width: 100%; max-height: 620px; object-fit: contain; }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff; background: rgba(10,27,37,.78); font-size: .63rem; font-weight: 800; backdrop-filter: blur(8px); }
.hotspot-layer { position: absolute; inset: 0; pointer-events: none; }
.hotspot { position: absolute; display: grid; place-items: center; width: 31px; height: 31px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--dialog-accent, var(--coral-500)); box-shadow: 0 5px 15px rgba(0,0,0,.35); font-size: .7rem; font-weight: 900; transform: translate(-50%, -50%); }
.gallery-caption { display: flex; align-items: baseline; gap: 12px; margin: 14px 2px 13px; }
.gallery-caption strong { color: var(--heading); font-family: var(--font-heading); font-size: .85rem; }
.gallery-caption span { color: var(--muted); font-size: .71rem; }
.gallery-thumbs { display: grid; grid-auto-columns: minmax(150px, 1fr); grid-auto-flow: column; gap: 10px; overflow-x: auto; padding: 2px 2px 7px; scrollbar-width: thin; }
.gallery-thumb { position: relative; overflow: hidden; min-width: 150px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #e7e4dc; cursor: pointer; }
.gallery-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-thumb.is-mobile img { aspect-ratio: 9 / 12; object-position: top; }
.gallery-thumb span { position: absolute; right: 0; bottom: 0; left: 0; padding: 6px 8px; overflow: hidden; color: #fff; background: linear-gradient(transparent, rgba(9,24,33,.88)); font-size: .57rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.gallery-thumb[aria-selected="true"] { border-color: var(--dialog-accent, var(--coral-500)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--dialog-accent, var(--coral-500)) 18%, transparent); }
.dialog-content-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.dialog-section { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.dialog-section-label { margin: 0 0 5px; color: var(--dialog-accent, var(--coral-700)); font-size: .62rem; font-weight: 900; letter-spacing: .15em; }
.dialog-section > h3, .dialog-points > h3 { margin: 0 0 20px; font-size: 1.35rem; }
.dialog-highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dialog-highlight { min-height: 145px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream-50); }
.dialog-highlight span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 13px; border-radius: 8px; color: #fff; background: var(--dialog-accent, var(--coral-500)); font-size: .63rem; font-weight: 900; }
.dialog-highlight h4 { margin: 0 0 7px; color: var(--heading); font-size: .9rem; line-height: 1.45; }
.dialog-highlight p { margin: 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.7; }
.dialog-points { padding: 26px 23px 22px; border-radius: 14px; color: #fff; background: var(--navy-900); }
.dialog-points .dialog-section-label { color: var(--gold-300); }
.dialog-points h3 { color: #fff; }
.dialog-points ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: point; }
.dialog-points li { position: relative; padding-left: 36px; color: rgba(255,255,255,.75); font-size: .73rem; line-height: 1.72; counter-increment: point; }
.dialog-points li::before { content: counter(point); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--dialog-accent, var(--coral-500)); font-size: .58rem; font-weight: 900; }
.dialog-version { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-size: .58rem; }
.dialog-workflow { margin-top: 30px; }
.dialog-workflow > ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: workflow; }
.dialog-workflow li { position: relative; min-height: 155px; padding: 22px 18px 18px 57px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); counter-increment: workflow; }
.dialog-workflow li::before { content: counter(workflow); position: absolute; top: 20px; left: 17px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--dialog-accent, var(--coral-500)); font-size: .66rem; font-weight: 900; }
.dialog-workflow li strong { display: block; margin-bottom: 7px; color: var(--heading); font-family: var(--font-heading); font-size: .85rem; }
.dialog-workflow li span { color: var(--ink-soft); font-size: .7rem; line-height: 1.7; }
.dialog-note { margin: 26px 0 0; padding: 16px 18px; border-left: 4px solid var(--dialog-accent, var(--coral-500)); border-radius: 0 10px 10px 0; color: var(--ink-soft); background: var(--cream-100); font-size: .72rem; line-height: 1.75; }
.feature-dialog-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; padding: 14px 28px; border-top: 1px solid var(--line); background: var(--cream-100); }
.dialog-nav { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--heading); background: var(--paper); font-family: var(--font-heading); font-size: .7rem; font-weight: 800; cursor: pointer; }
.dialog-nav:last-child { justify-self: end; }
.dialog-nav:hover { color: #fff; border-color: var(--navy-800); background: var(--navy-800); }
#dialog-position { color: var(--muted); font-size: .65rem; font-weight: 800; }

/* Enlarged image viewer ------------------------------------------------- */
.image-viewer { width: min(96vw, 1500px); max-width: none; height: min(94dvh, 980px); max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: #fff; background: #0b171e; box-shadow: var(--shadow-lg); }
.image-viewer::backdrop { background: rgba(2,12,18,.88); backdrop-filter: blur(8px); }
.image-viewer figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 38px 20px 20px; }
.image-viewer img { max-width: 100%; max-height: calc(100% - 45px); object-fit: contain; }
.image-viewer figcaption { margin-top: 12px; color: rgba(255,255,255,.68); font-size: .72rem; }
.image-viewer-close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font-size: 1.35rem; cursor: pointer; }
.image-viewer-close:hover { background: var(--coral-500); }

/* Reveal animation ------------------------------------------------------ */
[data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

/* Large font mode ------------------------------------------------------- */

/* Color mode ------------------------------------------------------------ */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #fffaf1;
  --ink-soft: #fffaf1;
  --muted: #d8d1c5;
  --heading: #ffffff;
  --paper: #17262e;
  --cream-50: #0d1a21;
  --cream-100: #14242c;
  --cream-200: #21343d;
  --cream-300: #314750;
  --line: rgba(255, 255, 255, .15);
  --line-strong: rgba(255, 255, 255, .25);
}
html[data-theme="dark"] body { background: var(--cream-50); }
html[data-theme="dark"] .site-header { background: rgba(13, 26, 33, .92); }
html[data-theme="dark"] .site-header.is-scrolled { background: rgba(13, 26, 33, .98); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
html[data-theme="dark"] .theme-button { color: #fff; background: rgba(255,255,255,.07); }
html[data-theme="dark"] .theme-button[aria-pressed="true"] { background: rgba(255,255,255,.14); }
html[data-theme="dark"] .menu-button { background: var(--paper); }
html[data-theme="dark"] .menu-button span { background: #fff; }
html[data-theme="dark"] .mobile-menu { background: var(--cream-50); }
html[data-theme="dark"] .hero { background: radial-gradient(circle at 83% 25%, rgba(181,140,67,.18), transparent 29%), linear-gradient(145deg, #10222b 0%, #14242c 53%, #1d302e 100%); }
html[data-theme="dark"] .hero::before { border-color: rgba(255,255,255,.08); box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.012); }
html[data-theme="dark"] .hero-paper { opacity: .18; }
html[data-theme="dark"] .button-secondary { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
html[data-theme="dark"] .button-secondary:hover { background: rgba(255,255,255,.13); }
html[data-theme="dark"] .product-facts { background: #08151c; }
html[data-theme="dark"] .news-section { background: radial-gradient(circle at 10% 15%, rgba(93,141,122,.13), transparent 28%), linear-gradient(135deg, #13242c 0%, #1b292b 100%); }
html[data-theme="dark"] .notebook-news-page { color: #fffaf1; background-color: #1a2a31; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); box-shadow: 0 24px 45px rgba(0,0,0,.45), inset 16px 0 24px rgba(0,0,0,.13); }
html[data-theme="dark"] .notebook-news-header h3,
html[data-theme="dark"] .news-more,
html[data-theme="dark"] .news-list p,
html[data-theme="dark"] .news-list time { color: #fffaf1; }
html[data-theme="dark"] .news-more { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
html[data-theme="dark"] .news-list { border-top-color: rgba(255,255,255,.8); }
html[data-theme="dark"] .news-list li { border-bottom-color: rgba(255,255,255,.15); }
html[data-theme="dark"] .notebook-page-meta { color: #d8d1c5; border-bottom-color: rgba(255,255,255,.2); }
html[data-theme="dark"] .notebook-page-number { color: rgba(255,255,255,.35); }
html[data-theme="dark"] .safety { background: #15272a; }
html[data-theme="dark"] .usage-notice { background: rgba(228,110,89,.13); }
html[data-theme="dark"] .usage-notice p { color: #fffaf1; }
html[data-theme="dark"] .price-card { background: var(--paper); }
html[data-theme="dark"] .price strong,
html[data-theme="dark"] .price span { color: #fff; }
html[data-theme="dark"] .price-regular del,
html[data-theme="dark"] .price-regular small { color: #d8d1c5; }
html[data-theme="dark"] .feature-dialog-header { background: rgba(23,38,46,.97); }
html[data-theme="dark"] .gallery-caption span { color: #d8d1c5; }
html[data-theme="dark"] .dialog-points { background: #08151c; }
html[data-theme="dark"] .feature-dialog-footer { background: #102029; }
html[data-theme="dark"] code { color: #fff; background: rgba(255,255,255,.08); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  :root { --header-height: 70px; }
  .global-nav, .header-site-link { display: none; }
  .menu-button { display: block; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: minmax(510px, 1.02fr) minmax(480px, .98fr); gap: 32px; }
  .hero-specs { grid-template-columns: 1fr; border-bottom: 0; }
  .hero-specs div { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-card { padding-inline: 22px; }
  .news-layout { grid-template-columns: minmax(370px, .7fr) minmax(590px, 1.3fr); gap: 38px; }
  .single-page-notebook { padding-right: 40px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-image { min-height: 220px; }
  .device-stage { min-height: 590px; }
  .phone-one { right: 7%; width: 215px; }
  .phone-two { right: -8%; width: 195px; }
  .dialog-content-grid { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 10px; }
  .hero-visual { max-width: 820px; margin-inline: auto; }
  .news-layout { grid-template-columns: 1fr; gap: 42px; }
  .news-heading { max-width: 720px; }
  .single-page-notebook { max-width: 820px; width: 100%; margin-inline: auto; }
}

@media (max-width: 980px) {
  .section { padding: 90px 0; }
  .section-heading-row { grid-template-columns: 1fr; gap: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; gap: 42px; }
  .news-heading { max-width: 720px; }
  .single-page-notebook { max-width: 820px; width: 100%; margin-inline: auto; }
  .hero-copy { padding-bottom: 10px; }
  .hero-visual { max-width: 820px; margin-inline: auto; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .facts-grid div:nth-child(2) { border-right: 0; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-card:nth-child(2) { border-right: 0; }
  .principle-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: minmax(280px, .9fr) 1.1fr; }
  .device-stage { min-height: 560px; }
  .desktop-device { width: 90%; }
  .phone-two { display: none; }
  .phone-one { right: 0; width: 205px; }
  .screen-points { grid-template-columns: 1fr; }
  .usage-grid, .safety-grid { grid-template-columns: 1fr; }
  .usage-visual { order: -1; }
  .start-steps { grid-template-columns: repeat(2, 1fr); }
  .safety-visual { max-width: 760px; margin-inline: auto; }
  .price-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .price-card { min-height: auto; }
  .price-card.is-primary { transform: none; }
  .story-grid { grid-template-columns: 310px 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid .section-heading { position: static; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
  .dialog-content-grid { grid-template-columns: 1fr; }
  .dialog-points { order: -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .header-inner { width: calc(100% - 24px); }
  .site-brand img { width: 37px; height: 37px; }
  .site-brand small { display: none; }
  .theme-button { min-width: 44px; padding-inline: 9px; }
  .theme-button b { display: none; }
  .section { padding: 75px 0; }
  .section-heading { margin-bottom: 36px; }
  .eyebrow { margin-bottom: 15px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.65rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.85rem); }
  .hero-copy h1 { font-size: clamp(1.9rem, 7.8vw, 2.7rem); }
  .news-heading h2 { font-size: clamp(1.85rem, 8.5vw, 2.35rem); }
  .news-section { padding-top: 82px; }
  .single-page-notebook { min-height: 0; padding: 18px 24px 18px 50px; border-radius: 18px; }
  .notebook-news-page { min-height: 0; padding: 24px 22px 35px 27px; }
  .notebook-rings { top: 48px; bottom: 48px; left: 33px; }
  .notebook-rings i { width: 37px; height: 11px; border-width: 2px; }
  .notebook-rings i::after { right: -12px; width: 13px; height: 13px; border-width: 2px; }
  .notebook-side-tab { right: 4px; top: 105px; width: 31px; height: 110px; }
  .news-list li { grid-template-columns: 78px 46px minmax(0, 1fr); gap: 8px; min-height: 62px; }
  .news-list p { font-size: .8rem; }
  .news-more span { display: none; }
  .news-more { min-width: 36px; min-height: 36px; padding: 3px; border: 0; background: transparent; }
  .news-more i { width: 32px; height: 32px; }
  .hero { padding-top: 44px; }
  .hero-copy { padding-top: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-visual { padding: 18px 3px 56px; }
  .product-window { border-radius: 13px; transform: none; }
  .window-bar { height: 30px; }
  .badge-one { top: -5px; right: 0; }
  .badge-two { right: 0; bottom: 20px; }
  .badge-three { bottom: 10px; left: 0; }
  .hero-badge { padding: 8px 10px; }
  .hero-badge strong { font-size: .82rem; }
  .hero-badge span { font-size: .5rem; }
  .hero-note { align-items: flex-start; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div, .facts-grid div:first-child { min-height: auto; padding: 17px 0; border-right: 0; }
  .facts-grid div:last-child { border-bottom: 0; }
  .principle-grid { grid-template-columns: 1fr; border-top: 0; }
  .principle-card { min-height: 0; padding: 28px 12px 30px; border-top: 1px solid var(--line); border-right: 0; border-bottom: 0 !important; }
  .principle-number { margin-bottom: 22px; }
  .feature-filter { display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 10px; }
  .feature-filter button { flex: 0 0 auto; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-image { min-height: 200px; }
  .feature-card-body { padding: 25px 24px 22px; }
  .device-stage { min-height: 430px; }
  .desktop-device { width: 100%; padding: 10px 10px 27px; border-radius: 15px; }
  .phone-one { right: 5%; bottom: -25px; width: 145px; padding: 8px 5px 6px; border-radius: 20px; }
  .screen-points { margin-top: 62px; }
  .screen-points article { padding: 24px 20px; }
  .usage-grid { gap: 38px; }
  .usage-notice { grid-template-columns: 1fr; }
  .usage-notice > span { grid-row: 2; }
  .start-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 45px; }
  .start-steps article { min-height: 0; }
  .safety-grid { gap: 45px; }
  .safety-seal { right: -4px; bottom: -35px; width: 112px; height: 112px; padding: 17px; }
  .safety-seal span { width: 32px; height: 32px; }
  .safety-seal strong { font-size: .55rem; }
  .price-card { padding: 31px 24px 26px; }
  .story-grid { grid-template-columns: 1fr; gap: 35px; }
  .story-year { width: 250px; min-height: 250px; margin-inline: auto; }
  .story-year strong { font-size: 6rem; }
  .faq-item h3 button { min-height: 82px; font-size: .92rem; }
  .faq-answer { padding-right: 0; }
  .contact { padding: 66px 0; }
  .contact-link { grid-template-columns: 1fr 35px; padding: 22px 20px; }
  .contact-link strong { font-size: 1.05rem; }
  .contact-link i { width: 35px; height: 35px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }

  .feature-dialog { width: 100%; height: 100dvh; max-height: none; border-radius: 0; }
  .feature-dialog-shell { height: 100dvh; max-height: none; }
  .feature-dialog-header { padding: 16px 14px 14px; gap: 10px; }
  .dialog-title-wrap { grid-template-columns: 42px 1fr; gap: 11px; }
  .dialog-icon { width: 42px; height: 42px; border-radius: 11px; font-size: 1rem; }
  #feature-dialog-title { font-size: 1.32rem; }
  #feature-dialog-summary { font-size: .68rem; line-height: 1.55; }
  .dialog-close { width: 38px; height: 38px; border-radius: 10px; }
  .feature-dialog-body { padding: 15px; }
  .gallery-frame { border-radius: 11px; }
  .gallery-main { min-height: 170px; }
  .gallery-main img { max-height: 420px; }
  .gallery-zoom { display: none; }
  .hotspot { width: 25px; height: 25px; border-width: 2px; font-size: .56rem; }
  .gallery-caption { display: block; }
  .gallery-caption strong, .gallery-caption span { display: block; }
  .gallery-caption span { margin-top: 3px; }
  .gallery-thumbs { grid-auto-columns: 120px; }
  .dialog-highlight-grid { grid-template-columns: 1fr; }
  .dialog-highlight { min-height: 0; }
  .dialog-workflow > ol { grid-template-columns: 1fr; }
  .dialog-workflow li { min-height: 0; }
  .feature-dialog-footer { padding: 10px 14px; }
  .dialog-nav { padding: 0 10px; font-size: .62rem; }
  .image-viewer { width: 100%; height: 100dvh; border-radius: 0; }
}

@media (max-width: 420px) {
  .site-brand strong { font-size: .9rem; }
  .header-actions { gap: 5px; }
  .menu-button, .theme-button { width: 40px; min-width: 40px; height: 40px; }
  .hero-copy h1 { font-size: clamp(1.72rem, 7.35vw, 2.05rem); }
  .hero-lead { font-size: 1em; }
  .single-page-notebook { padding-right: 18px; padding-left: 43px; }
  .notebook-news-page { padding-right: 15px; padding-left: 22px; }
  .notebook-page-meta b { display: none; }
  .news-list li { grid-template-columns: 72px 42px minmax(0, 1fr); gap: 6px; }
  .news-list time { font-size: .59rem; }
  .news-category { font-size: .53rem; }
  .news-list p { font-size: .75rem; line-height: 1.55; }
  .feature-image { min-height: 175px; }
  .price strong { font-size: 2.55rem; }
  .feature-dialog-footer { grid-template-columns: 1fr 1fr; }
  #dialog-position { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .feature-filter, .feature-open, .contact, .site-footer, dialog { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section { padding: 34px 0; break-inside: avoid; }
  .feature-card { break-inside: avoid; box-shadow: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
