:root {
  --ink: #101116;
  --ink-2: #171923;
  --ink-3: #202331;
  --paper: #f7f7f4;
  --white: #ffffff;
  --muted: #686b76;
  --muted-dark: #aeb3c4;
  --line: rgba(16, 17, 22, .11);
  --line-dark: rgba(255,255,255,.12);
  --yellow: #f4c84b;
  --yellow-2: #ffd96b;
  --blue: #6875ff;
  --cream: #fff5db;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(17, 18, 24, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: var(--yellow-2); color: #191919; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,244,.86);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(16,17,22,.08);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 780; letter-spacing: -.03em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 6px 18px rgba(99,72,0,.18); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 650; padding: 10px 12px; border-radius: 12px; }
.nav-links a:hover { background: rgba(16,17,22,.06); }
.nav-cta { background: var(--ink)!important; color: white!important; padding-inline: 16px!important; }
.menu-btn { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }
.menu-btn:hover { background: rgba(16,17,22,.06); }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 5px; }

.hero { padding: 72px 0 42px; }
.hero-panel {
  min-height: 660px;
  position: relative; overflow: hidden;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 78% 20%, rgba(104,117,255,.24), transparent 26%),
    radial-gradient(circle at 77% 76%, rgba(244,200,75,.22), transparent 25%),
    #11131b;
  padding: 76px 7.2%;
  box-shadow: 0 30px 90px rgba(17,19,27,.18);
}
.hero-copy { position: relative; z-index: 2; width: min(620px, 57%); }
.eyebrow { margin: 0 0 18px; color: #6a72ff; font-size: 13px; line-height: 1; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow-2); }
h1 { margin: 0; font-size: clamp(50px, 7vw, 88px); line-height: .98; letter-spacing: -.065em; font-weight: 840; }
.hero h1 span { display: block; color: var(--yellow-2); }
.hero-lead { max-width: 560px; margin: 28px 0 0; color: #d7d9e3; font-size: clamp(17px, 2vw, 21px); line-height: 1.75; letter-spacing: -.015em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 760; font-size: 15px; transition: transform .16s ease, opacity .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #1d1c16; }
.btn-secondary { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.16); }
.btn-dark { background: var(--ink); color: white; }
.btn-light { background: white; color: var(--ink); }
.hero-visual { position: absolute; inset: 0 0 0 0; pointer-events: none; }
.hero-face { position: absolute; width: min(43vw, 455px); right: 3.4%; top: 50%; transform: translateY(-48%) rotate(3deg); filter: drop-shadow(0 35px 40px rgba(0,0,0,.38)); }
.hero-bubble { position: absolute; right: 8%; top: 14%; background: white; color: #12131a; padding: 15px 21px; border-radius: 20px 20px 4px 20px; font-weight: 780; font-size: 17px; transform: rotate(-3deg); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.hero-bubble strong { color: #8d6a00; }
.hero-note { position: absolute; right: 4.5%; bottom: 7%; width: 250px; padding: 16px 18px; border-radius: 18px; background: rgba(27,29,39,.8); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); font-size: 12px; line-height: 1.65; color: #c9ccda; }

.section { padding: 92px 0; }
.section-tight { padding: 62px 0; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-title { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.06; letter-spacing: -.055em; font-weight: 830; }
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature-card { border-radius: var(--radius); padding: 34px; min-height: 300px; position: relative; overflow: hidden; }
.feature-card h3 { margin: 0 0 10px; font-size: 27px; letter-spacing: -.04em; }
.feature-card p { margin: 0; max-width: 430px; color: inherit; opacity: .72; line-height: 1.75; }
.feature-card .mini { position: absolute; bottom: 28px; left: 34px; right: 34px; font-size: 12px; font-weight: 750; opacity: .65; }
.feature-a { grid-column: span 7; color: white; background: #1b1e29; }
.feature-b { grid-column: span 5; background: var(--yellow-2); }
.feature-c { grid-column: span 5; background: white; border: 1px solid var(--line); }
.feature-d { grid-column: span 7; color: white; background: #6470ff; }
.feature-icon { font-size: 46px; margin-bottom: 58px; }

.demo-section { background: var(--cream); }
.demo-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.demo-frame { background: white; border-radius: 26px; padding: 22px; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.demo-frame img { width: 100%; border-radius: 14px; image-rendering: auto; }
.demo-points { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.demo-points li { display: flex; gap: 12px; align-items: flex-start; color: #45464d; line-height: 1.6; }
.check { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-size: 13px; font-weight: 900; }

.editor-section { color: white; background: #11131a; }
.editor-layout { display: grid; grid-template-columns: .9fr 1.25fr; gap: 62px; align-items: center; }
.editor-section .section-lead { color: #b9bdca; }
.editor-screen { background: #20232d; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.editor-screen img { width: 100%; }
.editor-links { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.privacy-card { display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; border-radius: 34px; background: white; border: 1px solid var(--line); }
.privacy-copy { padding: 58px; }
.privacy-copy strong.big { display: block; margin: 8px 0 22px; font-size: clamp(38px, 5vw, 65px); line-height: 1.02; letter-spacing: -.055em; }
.privacy-copy p { color: var(--muted); line-height: 1.8; }
.privacy-visual { min-height: 380px; display: grid; place-items: center; background: #edf0ff; padding: 42px; }
.privacy-pill { width: min(100%, 360px); background: white; border-radius: 24px; padding: 26px; box-shadow: 0 18px 55px rgba(71,78,137,.15); }
.privacy-pill .row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.privacy-pill .row:last-child { border-bottom: 0; }
.privacy-pill .dot { width: 11px; height: 11px; border-radius: 50%; background: #6570ff; }

.command-strip { border-radius: 30px; color: white; background: var(--ink); padding: 44px; }
.command-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.command { background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.1); border-radius: 17px; padding: 18px; }
.command code { color: var(--yellow-2); font-size: 13px; font-weight: 800; }
.command p { margin: 8px 0 0; color: #c3c6d0; line-height: 1.55; font-size: 13px; }

.final-cta { padding: 100px 0; }
.final-box { border-radius: 34px; background: var(--yellow); padding: 70px 8%; position: relative; overflow: hidden; }
.final-box h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.06em; }
.final-box p { margin: 18px 0 0; max-width: 640px; line-height: 1.7; color: #5c4c1c; }
.final-box .actions { margin-top: 28px; }

.site-footer { color: #b9bdc8; background: #0f1015; padding: 54px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: white; }
.footer-brand p { margin: 18px 0 0; font-size: 13px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px,1fr)); gap: 10px 34px; }
.footer-links a { color: #d9dbe2; text-decoration: none; font-size: 13px; padding: 3px 0; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #818591; }

/* Inner pages */
.page-hero { padding: 80px 0 62px; }
.page-hero .kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #5964f8; text-transform: uppercase; }
.page-hero h1 { margin-top: 14px; font-size: clamp(48px, 7vw, 78px); color: var(--ink); }
.page-hero p { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.guide-nav a { text-decoration: none; font-size: 13px; font-weight: 750; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }

.content-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 46px; margin-bottom: 22px; }
.content-card h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; }
.content-card h3 { margin: 34px 0 12px; font-size: 21px; letter-spacing: -.025em; }
.content-card p, .content-card li { color: #4f525b; line-height: 1.9; }
.content-card ul, .content-card ol { padding-left: 1.35em; }
.content-card code { background: #f1f2f5; border: 1px solid #e4e5ea; border-radius: 7px; padding: 2px 6px; font-size: .92em; color: #252735; }
.notice { border-left: 4px solid var(--yellow); background: #fff8e7; padding: 17px 19px; border-radius: 0 14px 14px 0; color: #5c502f; line-height: 1.75; margin: 22px 0; }
.notice-blue { border-left-color: var(--blue); background: #f0f2ff; color: #4c527b; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; }
.step-num { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: white; font-weight: 820; }
.step h3 { margin: 3px 0 8px; }
.step p { margin: 0; }
.guide-shot { margin: 28px 0; border-radius: 20px; overflow: hidden; border: 1px solid #dcdde4; box-shadow: 0 18px 45px rgba(17,18,24,.1); }
.key-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.key-item { background: #f7f7f8; border-radius: 16px; padding: 18px; }
.key-item strong { display: block; margin-bottom: 6px; }
.key-item span { font-size: 13px; color: #656872; line-height: 1.6; }
.legal { max-width: 900px; }
.legal .content-card { padding: clamp(28px, 5vw, 56px); }
.legal .meta { display: inline-flex; margin-bottom: 26px; padding: 8px 11px; border-radius: 10px; background: #f0f1f4; color: #62656f; font-size: 12px; font-weight: 700; }
.legal h2 { margin-top: 46px; font-size: 28px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { line-height: 1.95; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 760; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 20px; color: var(--muted); line-height: 1.75; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-tile { min-height: 240px; border-radius: 25px; padding: 30px; text-decoration: none; background: white; border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.support-tile:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(17,18,24,.08); }
.support-tile h2 { margin: 34px 0 10px; font-size: 27px; }
.support-tile p { margin: 0; color: var(--muted); line-height: 1.7; }
.support-icon { font-size: 36px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 16px; right: 16px; background: rgba(247,247,244,.98); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px rgba(17,18,24,.11); }
  .nav-links.open { display: grid; }
  .menu-btn { display: block; }
  .hero { padding-top: 28px; }
  .hero-panel { min-height: 760px; padding: 52px 32px; }
  .hero-copy { width: 100%; }
  .hero-face { width: min(70vw, 390px); right: 50%; transform: translateX(50%) rotate(2deg); top: auto; bottom: 18px; }
  .hero-bubble { right: 10%; top: auto; bottom: 290px; }
  .hero-note { display: none; }
  .feature-a, .feature-b, .feature-c, .feature-d { grid-column: span 12; }
  .demo-layout, .editor-layout, .privacy-card { grid-template-columns: 1fr; gap: 40px; }
  .demo-frame { transform: none; }
  .privacy-copy { padding: 42px 30px; }
  .privacy-visual { min-height: auto; }
  .command-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .key-grid, .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 26px), var(--max)); }
  .nav { height: 62px; }
  .nav-links { top: 62px; }
  .hero-panel { border-radius: 24px; padding: 40px 23px; min-height: 720px; }
  h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .hero-bubble { font-size: 14px; bottom: 270px; }
  .section { padding: 70px 0; }
  .section-title { font-size: 39px; }
  .feature-card { padding: 27px; min-height: 260px; }
  .content-card { padding: 26px 21px; border-radius: 22px; }
  .step { grid-template-columns: 42px 1fr; gap: 12px; }
  .step-num { width: 36px; height: 36px; }
  .final-box { padding: 52px 26px; border-radius: 26px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .support-tile { transition: none; }
}
