:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-soft: #f3f1ed;
  --ink: #201e27;
  --muted: #6f6b78;
  --line: rgba(32, 30, 39, .1);
  --violet: #7c6fd0;
  --violet-deep: #5d50ae;
  --violet-soft: rgba(124, 111, 208, .11);
  --pink: #f2929c;
  --gradient: linear-gradient(112deg, #8e7dec, #c680cf 58%, #f2929c);
  --font-brand: "Fredoka", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111015;
    --surface: #1a181f;
    --surface-soft: #17151b;
    --ink: #eeecf1;
    --muted: #a19ca9;
    --line: rgba(238, 236, 241, .11);
    --violet: #a795ef;
    --violet-deep: #c1b4f4;
    --violet-soft: rgba(167, 149, 239, .12);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 8px; }
img { display: block; }
.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.site-head { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); }
.head-inner { min-height: 68px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 22px/1 var(--font-brand); }
.brand span { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
nav { margin-left: auto; display: flex; gap: 28px; }
nav a, .head-link { color: var(--muted); font-size: 14px; transition: color .18s var(--ease); }
nav a:hover, .head-link:hover { color: var(--ink); }
.head-link { padding-left: 22px; border-left: 1px solid var(--line); }

.hero { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: grid; align-items: center; padding: 84px 0 96px; overflow: hidden; }
.hero-grid { display: grid; align-items: center; gap: 72px; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); }
.kicker, .eyebrow { margin: 0 0 18px; color: var(--violet-deep); font: 600 12px/1.4 var(--font-brand); letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--font-brand); font-size: clamp(48px, 6.2vw, 82px); line-height: 1.11; letter-spacing: -.035em; word-break: keep-all; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; padding: 0 22px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 650; transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--gradient); box-shadow: 0 10px 32px rgba(124, 111, 208, .2); }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-secondary:hover { border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }

.context-map { position: relative; min-height: 520px; isolation: isolate; }
.context-map::before, .context-map::after { content: ""; position: absolute; inset: 50%; width: 320px; height: 320px; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%, -50%); z-index: -1; }
.context-map::after { width: 470px; height: 470px; opacity: .55; }
.map-glow { position: absolute; inset: 50%; width: 280px; height: 280px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(154, 134, 232, .24), rgba(242, 146, 156, .05) 52%, transparent 72%); filter: blur(8px); z-index: -1; }
.map-core { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--violet) 28%, var(--line)); border-radius: 44px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 28px 80px rgba(66, 52, 124, .18); backdrop-filter: blur(12px); }
.map-core img { border-radius: 22%; box-shadow: 0 10px 30px rgba(49, 38, 90, .25); }
.map-core strong { margin-top: 10px; font: 600 20px/1 var(--font-brand); }
.map-core span { margin-top: 7px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.map-node, .map-tool { position: absolute; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); box-shadow: 0 10px 32px rgba(40, 34, 66, .08); }
.map-node { padding: 10px 15px; border-radius: 999px; color: var(--muted); font: 600 13px/1 var(--font-brand); }
.node-mark { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--violet-soft); color: var(--violet-deep); font-family: var(--font-body); }
.node-chat { left: 3%; top: 19%; }
.node-mail { right: 1%; top: 20%; }
.node-note { left: -1%; top: 61%; }
.node-todo { right: 2%; top: 62%; }
.node-calendar { left: 50%; top: 84%; transform: translateX(-50%); }
.map-tool { padding: 8px 13px 8px 8px; border-radius: 16px; font: 600 13px/1 var(--font-brand); }
.map-tool img { border-radius: 9px; }
.tool-voice { left: 13%; top: 40%; }
.tool-fill { right: 12%; top: 42%; }
.tool-wing { left: 50%; top: 3%; transform: translateX(-50%); }

.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section h2, .closing-section h2, .company-section h2 { margin: 0; font-family: var(--font-brand); font-size: clamp(36px, 5vw, 64px); line-height: 1.18; letter-spacing: -.03em; }
.section-lead { max-width: 700px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--line); }
.principles article { min-height: 260px; padding: 34px; background: var(--surface); }
.number { color: var(--violet-deep); font: 600 12px/1 var(--font-brand); letter-spacing: .1em; }
.principles h3 { margin: 64px 0 10px; font: 600 24px/1.2 var(--font-brand); }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }

.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 18px; }
.workspace-shell { margin-top: 64px; padding: 26px; border: 1px solid var(--line); border-radius: 32px; background: var(--surface-soft); }
.workspace-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.workspace-brand { display: flex; align-items: center; gap: 12px; }
.workspace-brand img { border-radius: 22%; box-shadow: 0 6px 18px rgba(49, 38, 90, .18); }
.workspace-brand span { display: flex; flex-direction: column; }
.workspace-brand b { font: 600 19px/1.2 var(--font-brand); }
.workspace-brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.status, .soon { display: inline-flex; padding: 6px 11px; border: 1px solid color-mix(in srgb, var(--violet) 28%, var(--line)); border-radius: 999px; background: var(--violet-soft); color: var(--violet-deep); font-size: 12px; font-weight: 650; }
.workspace-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.workspace-card { grid-column: span 2; min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.workspace-card:nth-child(4) { grid-column: 2 / span 2; }
.workspace-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--violet-soft); color: var(--violet-deep); }
.workspace-card h3 { margin: 52px 0 8px; font: 600 21px/1 var(--font-brand); }
.workspace-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-chat { background: linear-gradient(145deg, color-mix(in srgb, var(--violet-soft) 75%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--violet) 25%, var(--line)); }

.tools-section { overflow: hidden; }
.tools-section h2 .phrase { display: inline-block; }
.wing-feature { display: grid; grid-template-columns: .94fr 1.06fr; gap: 56px; align-items: center; margin-top: 60px; padding: 44px; border: 1px solid color-mix(in srgb, var(--violet) 24%, var(--line)); border-radius: 32px; background: linear-gradient(145deg, color-mix(in srgb, var(--violet-soft) 55%, var(--surface)), var(--surface) 58%); }
.wing-title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.wing-title-row img { border-radius: 22%; box-shadow: 0 12px 34px rgba(49, 38, 90, .25); }
.wing-title-row > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wing-title-row .tool-type { margin: 0; }
.wing-copy h3 { margin: 0 0 18px; font: 600 clamp(28px, 3.2vw, 42px)/1.28 var(--font-brand); letter-spacing: -.02em; }
.wing-copy > p { margin: 0; color: var(--muted); font-size: 15px; }
.wing-points { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.wing-points li { display: flex; align-items: flex-start; gap: 9px; }
.wing-points li::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; margin-top: 9px; border-radius: 50%; background: var(--violet); }
.wing-visual { min-width: 0; }
.wing-window { position: relative; min-height: 390px; padding: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .11); border-radius: 26px; background: #0f0e14; color: #f1eff6; box-shadow: 0 30px 70px rgba(24, 18, 48, .28); }
.wing-origin { display: flex; justify-content: flex-end; align-items: center; gap: 7px; color: rgba(241, 239, 246, .5); font-size: 11px; }
.wing-origin span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #7ed6a5; box-shadow: 0 0 12px rgba(126, 214, 165, .55); }
.wing-page { position: absolute; inset: 88px 38px 104px; display: flex; flex-direction: column; justify-content: center; padding: 30px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; background: radial-gradient(circle at 75% 22%, rgba(124, 111, 208, .2), transparent 38%), #17151d; }
.wing-page small { color: #a795ef; font: 600 10px/1 var(--font-brand); letter-spacing: .1em; text-transform: uppercase; }
.wing-page strong { margin-top: 16px; font: 600 27px/1.2 var(--font-brand); }
.wing-page span { margin-top: 8px; color: rgba(241, 239, 246, .5); font-size: 13px; }
.trail-rail { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trail { min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.trail > span { grid-row: 1 / 3; color: rgba(241, 239, 246, .32); font: 600 10px/1 var(--font-brand); }
.trail b { overflow: hidden; font: 600 12px/1.2 var(--font-brand); text-overflow: ellipsis; }
.trail small { color: rgba(241, 239, 246, .4); font-size: 9px; }
.trail-active { border-color: rgba(167, 149, 239, .45); background: rgba(124, 111, 208, .16); box-shadow: 0 0 22px rgba(124, 111, 208, .1); }
.trail-muted { color: rgba(241, 239, 246, .55); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.tool-card { position: relative; min-height: 300px; display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: start; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.tool-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); }
.tool-card img { border-radius: 22%; box-shadow: 0 9px 26px rgba(49, 38, 90, .2); }
.tool-type { margin: 4px 0 32px; color: var(--violet-deep); font: 600 13px/1 var(--font-brand); letter-spacing: .08em; text-transform: uppercase; }
.tool-card h3 { margin: 0 0 12px; font: 600 25px/1.35 var(--font-brand); }
.tool-card p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.arrow { color: var(--muted); }
.release-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.next-section { background: var(--surface-soft); }
.next-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.next-products { display: grid; gap: 12px; }
.next-product { min-height: 92px; display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
a.next-product { transition: border-color .18s var(--ease), transform .18s var(--ease); }
a.next-product:hover { border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); transform: translateX(2px); }
.next-product img { border-radius: 22%; }
.next-product > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.next-product b { font: 600 20px/1.2 var(--font-brand); }
.next-product small { margin-top: 5px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.next-product > span:last-child:not(.soon) { color: var(--muted); }

.company-section { padding: 120px 0; background: #2c2550; color: #f5f1ff; }
.company-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.company-inner > p { margin: 0; color: #c7bafb; font: 600 clamp(22px, 2.7vw, 34px)/1.45 var(--font-brand); }
.company-inner h2 { font-size: clamp(36px, 4.8vw, 60px); }
.company-inner div > p { max-width: 660px; margin: 28px 0 0; color: rgba(245, 241, 255, .7); font-size: 17px; }

.closing-section { padding: 140px 0; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-inner .hero-actions { justify-content: center; }
footer { padding: 38px 0 54px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; }
.foot-links { margin-left: auto; display: flex; gap: 24px; }
.foot-links a:hover { color: var(--ink); }
.foot-inner > p { margin: 0; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .next-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .context-map { min-height: 490px; width: min(100%, 560px); margin-inline: auto; }
  .split-heading, .company-inner { grid-template-columns: 1fr; gap: 34px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 210px; }
  .principles h3 { margin-top: 38px; }
  .workspace-grid { grid-template-columns: repeat(2, 1fr); }
  .workspace-card, .workspace-card:nth-child(4) { grid-column: auto; }
  .workspace-card:last-child { grid-column: 1 / -1; }
  .tool-grid { grid-template-columns: 1fr; }
  .wing-feature { grid-template-columns: 1fr; gap: 38px; }
  .company-inner { gap: 52px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .head-inner { min-height: 60px; }
  nav { display: none; }
  .head-link { margin-left: auto; padding-left: 0; border-left: 0; }
  .hero { padding: 62px 0 70px; }
  h1 { font-size: clamp(40px, 11vw, 46px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .context-map { min-height: 410px; transform: scale(.9); transform-origin: center; margin-block: -25px; }
  .context-map::before { width: 250px; height: 250px; }
  .context-map::after { width: 360px; height: 360px; }
  .map-core { width: 150px; height: 150px; border-radius: 38px; }
  .map-core img { width: 64px; height: 64px; }
  .node-chat { left: -6%; }.node-mail { right: -5%; }.node-note { left: -9%; }.node-todo { right: -7%; }
  .tool-voice { left: 0; }.tool-fill { right: -1%; }
  .tool-wing { top: 0; }
  .section { padding: 88px 0; }
  .section h2, .closing-section h2, .company-section h2 { font-size: clamp(34px, 10vw, 48px); }
  .principles { margin-top: 48px; }
  .workspace-shell { padding: 16px; border-radius: 24px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-card, .workspace-card:nth-child(4), .workspace-card:last-child { grid-column: auto; min-height: 190px; }
  .workspace-card h3 { margin-top: 34px; }
  .tool-card { min-height: 0; grid-template-columns: 52px 1fr; padding: 24px; }
  .tool-card img { width: 52px; height: 52px; }
  .tool-card .arrow { display: none; }
  .tool-type { margin-bottom: 20px; }
  .wing-feature { margin-top: 44px; padding: 24px; border-radius: 24px; }
  .wing-title-row { margin-bottom: 26px; }
  .wing-title-row img { width: 60px; height: 60px; }
  .wing-window { min-height: 350px; padding: 18px; }
  .wing-page { inset: 72px 18px 118px; padding: 22px; }
  .trail-rail { left: 18px; right: 18px; bottom: 16px; }
  .trail { padding: 10px 8px; grid-template-columns: 1fr; }
  .trail > span { display: none; }
  .company-section, .closing-section { padding: 96px 0; }
  .foot-inner { align-items: flex-start; flex-wrap: wrap; }
  .foot-links { width: 100%; order: 3; margin-left: 0; flex-wrap: wrap; }
  .foot-inner > p { margin-left: auto; }
}

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