:root {
  --ink: #11131a;
  --muted: #666a78;
  --line: #e6e7ec;
  --soft: #f5f6f8;
  --blue: #1f59da;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; padding: 16px 0; }
.header-inner { min-height: 72px; padding: 14px 16px 14px 24px; border: 1px solid var(--line); border-radius: 20px; display: flex; align-items: center; gap: 36px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.brand { flex: none; }
.header-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: #555968; }
.header-nav a:hover { color: var(--ink); }
.nav-short { display: none; }
.button { min-width: 0; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; box-shadow: 0 10px 24px rgba(31,89,218,.18); transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31,89,218,.24); }
.button-small { min-height: 44px; padding-inline: 20px; font-size: 14px; }

.hero { padding: 70px 0 92px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 74px; align-items: center; }
.hero-copy h1 { margin: 18px 0 22px; max-width: 720px; font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.055em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #234ba8; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hero-subtitle { margin: 0; max-width: 640px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-action { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.free-note { max-width: 230px; color: #686c79; font-size: 12px; line-height: 1.45; }
.trust-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 22px; color: #555967; font-size: 13px; }
.trust-line span::before { content: '✓'; margin-right: 7px; color: var(--accent, var(--blue)); font-weight: 800; }

.generator-card { position: relative; overflow: hidden; min-height: 570px; border: 1px solid #dde0e8; border-radius: 30px; background: #f7f8fa; box-shadow: 0 34px 80px rgba(29,33,46,.14); }
.hero-product-visual { position: relative; margin: 0; align-self: center; }
.hero-product-visual::before { content: ''; position: absolute; inset: 10% 8%; z-index: -1; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, white); filter: blur(46px); }
.hero-product-visual img { width: 100%; height: auto; border-radius: 28px; filter: drop-shadow(0 30px 42px rgba(28,32,55,.16)); }
.generator-card::before { content: ''; position: absolute; right: -110px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, white); filter: blur(4px); }
.app-bar { position: relative; height: 62px; padding: 0 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e2e4ea; background: rgba(255,255,255,.86); font-size: 13px; font-weight: 700; }
.app-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: #234ba8; }
.app-status { margin-left: auto; padding: 6px 9px; border-radius: 20px; background: #eff0f4; color: #5f6370; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.generator-body { position: relative; width: calc(100% - 48px); margin: 24px; padding: 25px; border: 1px solid #e1e3e9; border-radius: 20px; background: #fff; }
.generator-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.prompt-box { min-height: 88px; padding: 15px; border: 1.5px solid color-mix(in srgb, var(--accent) 58%, white); border-radius: 12px; color: #343743; font-size: 14px; line-height: 1.5; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 8%, white); }
.cursor { display: inline-block; width: 1px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.generator-options { margin: 10px 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.generator-options span { padding: 7px 9px; border-radius: 8px; color: #6a6e7d; background: #f3f4f6; font-size: 10px; }
.outline-preview { padding: 15px; border-radius: 14px; background: #f6f7f9; }
.outline-preview small { display: block; margin-bottom: 10px; color: #656976; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.outline-preview div { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #e6e7eb; font-size: 12px; }
.outline-preview div:first-of-type { border-top: 0; }
.outline-preview b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: var(--accent); background: #fff; font-size: 10px; }
.generate-button { margin-top: 16px; min-height: 44px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-radius: 10px; color: #fff; background: #234ba8; font-size: 12px; font-weight: 700; }

.section { padding: 100px 0; }
.section-heading { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .result-copy h2, .faq-intro h2 { margin: 14px 0 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p, .result-copy > p, .faq-intro p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.left-heading { margin-left: 0; text-align: left; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 12px 12px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.feature-card h3 { margin: 21px 10px 9px; font-size: 18px; letter-spacing: -.02em; }
.feature-card p { margin: 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.feature-visual { position: relative; overflow: hidden; height: 210px; padding: 20px; border-radius: 15px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 13%, white), #f5f6f8); }
.visual-label { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 800; color: #34415f; }
.mini-input { margin-top: 38px; padding: 15px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(28,32,42,.1); }
.mini-input i, .mini-check span { display: block; height: 6px; margin: 7px 0; border-radius: 5px; background: #e3e5e9; }
.mini-input i:nth-child(2) { width: 78%; }
.mini-input i:nth-child(3) { width: 48%; }
.visual-button { float: right; margin-top: 10px; border-radius: 7px; padding: 7px 10px; color: #fff; background: #234ba8; font-size: 9px; }
.mini-outline { margin: 32px 15px 0; padding: 13px; border-radius: 13px; background: #fff; transform: rotate(-3deg); box-shadow: 0 13px 30px rgba(28,32,42,.12); }
.mini-outline i { display: block; height: 25px; margin: 6px 0; border-left: 4px solid var(--accent); border-radius: 5px; background: #f1f2f5; }
.mini-chart { height: 132px; margin: 42px 12px 0; padding: 18px 14px 0; display: flex; align-items: end; gap: 8px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(28,32,42,.11); }
.mini-chart i { flex: 1; height: 30%; border-radius: 5px 5px 0 0; background: color-mix(in srgb, var(--accent) 42%, white); }
.mini-chart i:nth-child(2) { height: 54%; }.mini-chart i:nth-child(3) { height: 42%; }.mini-chart i:nth-child(4) { height: 76%; }.mini-chart i:nth-child(5) { height: 92%; background: var(--accent); }
.mini-check { width: 148px; height: 136px; margin: 35px auto 0; padding: 20px; border-radius: 17px; background: #fff; box-shadow: 0 12px 30px rgba(28,32,42,.11); }
.mini-check i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; color: #fff; background: var(--accent); font-style: normal; font-weight: 800; }
.mini-check span:nth-of-type(2) { width: 62%; }

.result-section { overflow: hidden; background: #11131a; color: #fff; }
.result-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.story-stack { position: relative; min-height: 610px; }
.story-slide { position: absolute; width: min(510px, 92%); min-height: 250px; padding: 24px; display: grid; grid-template-columns: 34px 1fr 130px; gap: 14px; align-items: start; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; color: #161922; background: #f8f8f4; box-shadow: 0 30px 50px rgba(0,0,0,.27); }
.story-slide:nth-child(1) { top: 0; left: 0; transform: rotate(-3deg); }
.story-slide:nth-child(2) { top: 170px; left: 42px; transform: rotate(1.5deg); }
.story-slide:nth-child(3) { top: 340px; left: 5px; transform: rotate(-1deg); }
.story-slide > span { color: #606571; font-size: 11px; font-weight: 700; }
.story-slide small { color: #646875; font-size: 9px; text-transform: uppercase; }
.story-slide h3 { margin: 10px 0 0; font-size: 22px; line-height: 1.1; letter-spacing: -.035em; }
.story-art { height: 170px; padding: 18px; display: flex; gap: 8px; align-items: flex-end; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, white); }
.story-art i { flex: 1; height: 45%; border-radius: 20px 20px 5px 5px; background: color-mix(in srgb, var(--accent) 44%, white); }
.story-art i:nth-child(2) { height: 70%; }.story-art i:nth-child(3) { height: 92%; background: var(--accent); }
.story-art-2 { align-items: center; }.story-art-2 i { height: 18px !important; border-radius: 4px; }.story-art-2 i:nth-child(2) { width: 60%; }
.story-art-3 { align-items: center; justify-content: center; }.story-art-3 i { flex: none; width: 22px; height: 22px !important; border-radius: 50%; }.story-art-3 i:nth-child(2) { width: 52px; height: 52px !important; }
.result-copy .eyebrow { color: #9fb7ff; }
.benefit-list { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; }
.benefit-list li { padding: 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #d7d9df; font-size: 13px; line-height: 1.45; }
.benefit-list li::before { content: '✓'; margin-right: 8px; color: #9fb7ff; }

.quality-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; counter-reset: item; }
.quality-grid li { min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; font-size: 14px; line-height: 1.45; }
.quality-grid li span { color: #234ba8; font-size: 11px; font-weight: 800; }

.faq-section { background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 30px; }
.faq-list details { border-bottom: 1px solid #d9dbe1; }
.faq-list summary { padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #234ba8; font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -5px 42px 22px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.final-cta { margin-top: 100px; margin-bottom: 100px; padding: 82px 30px; border-radius: 32px; text-align: center; color: #fff; background: #15182d; }
.final-cta .eyebrow { color: rgba(255,255,255,.8); }
.final-cta h2 { max-width: 820px; margin: 16px auto; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.05em; }
.final-cta p { max-width: 620px; margin: 0 auto 26px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.6; }
.button-light { color: var(--ink); background: #fff; box-shadow: none; }
.final-cta small { display: block; margin-top: 16px; color: rgba(255,255,255,.72); }

.site-footer { padding: 70px 0 24px; color: #fff; background: #0d0f14; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 80px; padding-bottom: 60px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-brand p { margin: 20px 0 0; color: #969aa7; font-size: 13px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 28px; }
.footer-links a { color: #bec1ca; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; border-top: 1px solid #282b34; display: flex; justify-content: space-between; color: #9ca0ac; font-size: 11px; }

.catalog-hero { padding: 70px 0 55px; text-align: center; }
.catalog-hero h1 { max-width: 920px; margin: 18px auto; font-size: clamp(48px, 7vw, 82px); line-height: .95; letter-spacing: -.06em; }
.catalog-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 19px; line-height: 1.6; }
.catalog-grid { padding-bottom: 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.catalog-card { min-height: 250px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.catalog-card:hover { transform: translateY(-4px); border-color: #bfc3ce; }
.catalog-card .catalog-number { color: #6e727e; font-size: 11px; font-weight: 700; }
.catalog-card h2 { margin: auto 0 12px; font-size: 25px; letter-spacing: -.035em; }
.catalog-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.catalog-card b { margin-top: 18px; color: var(--blue); font-size: 12px; }

.home-hero { padding: 80px 0 100px; text-align: center; }
.home-hero h1 { max-width: 1040px; margin: 18px auto 24px; font-size: clamp(56px, 8vw, 96px); line-height: .9; letter-spacing: -.065em; }
.home-hero > p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 20px; line-height: 1.6; }
.home-hero .hero-action { justify-content: center; }
.home-stage { position: relative; min-height: 540px; margin-top: 65px; padding: 28px; border-radius: 32px; background: #11131a; box-shadow: 0 40px 80px rgba(25,28,37,.2); }
.home-window { min-height: 484px; border-radius: 20px; display: grid; grid-template-columns: 190px 1fr; overflow: hidden; text-align: left; background: #fff; }
.home-sidebar { padding: 22px 16px; color: #ccd0dc; background: #181b24; }
.home-sidebar b { display: block; margin-bottom: 28px; color: #fff; }
.home-sidebar span { display: block; margin: 8px 0; padding: 10px; border-radius: 8px; font-size: 10px; }
.home-sidebar span:first-of-type { color: #fff; background: #2d3240; }
.home-canvas { padding: 48px; display: grid; grid-template-columns: 1fr .85fr; gap: 40px; align-items: center; }
.home-canvas small { color: #606571; text-transform: uppercase; letter-spacing: .08em; }
.home-canvas h2 { margin: 18px 0; font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.home-canvas p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.home-graphic { aspect-ratio: 1; padding: 30px; display: flex; align-items: end; gap: 14px; border-radius: 50%; background: #eef2ff; }
.home-graphic i { flex: 1; height: 40%; border-radius: 30px 30px 5px 5px; background: #9fb9ff; }
.home-graphic i:nth-child(2) { height: 65%; }.home-graphic i:nth-child(3) { height: 85%; background: var(--blue); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-action, .trust-line { justify-content: center; }
  .feature-grid, .quality-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .story-stack { width: min(620px, 100%); margin: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .faq-intro { position: static; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { padding-top: 8px; }
  .header-inner { min-height: 60px; padding: 10px 10px 10px 15px; border-radius: 15px; gap: 12px; }
  .brand img { width: 112px; height: auto; }
  .header-nav { display: block; margin-left: auto; font-size: 11px; font-weight: 700; }
  .header-nav a:nth-child(2), .nav-full { display: none; }
  .nav-short { display: inline; }
  .header-inner .button { margin-left: 0; min-height: 39px; padding: 0 clamp(9px, 2.8vw, 15px); font-size: clamp(10px, 3vw, 13px); }
  .hero { padding: 44px 0 68px; }
  .hero-copy h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-subtitle { font-size: 16px; }
  .hero-action { flex-direction: column; }
  .hero-action .button { width: 100%; }
  .free-note { max-width: 320px; }
  .trust-line { gap: 10px 14px; }
  .generator-card { min-height: 520px; border-radius: 22px; }
  .hero-product-visual img { border-radius: 20px; }
  .generator-body { width: calc(100% - 24px); margin: 12px; padding: 16px; }
  .section { padding: 72px 0; }
  .section-heading h2, .result-copy h2, .faq-intro h2 { font-size: 36px; }
  .feature-grid, .quality-grid, .catalog-grid { grid-template-columns: 1fr; }
  .feature-visual { height: 230px; }
  .result-grid { gap: 45px; }
  .story-stack { min-height: 530px; }
  .story-slide { min-height: 220px; padding: 17px; grid-template-columns: 26px 1fr 86px; }
  .story-slide:nth-child(2) { top: 150px; left: 20px; }
  .story-slide:nth-child(3) { top: 300px; }
  .story-slide h3 { font-size: 17px; }
  .story-art { height: 135px; padding: 10px; }
  .benefit-list { grid-template-columns: 1fr; }
  .final-cta { width: calc(100% - 24px); margin-top: 72px; margin-bottom: 72px; padding: 60px 18px; border-radius: 24px; }
  .final-cta .button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .catalog-hero { padding-top: 50px; }
  .catalog-card { min-height: 210px; }
  .home-hero { padding-top: 50px; }
  .home-hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .home-hero > p { font-size: 16px; }
  .home-hero .hero-action { flex-direction: column; }
  .home-stage { min-height: 590px; padding: 12px; margin-top: 45px; }
  .home-window { min-height: 566px; grid-template-columns: 1fr; }
  .home-sidebar { display: none; }
  .home-canvas { padding: 28px 22px; grid-template-columns: 1fr; gap: 25px; }
  .home-canvas h2 { font-size: 38px; }
  .home-graphic { max-width: 260px; }
}

@media (max-width: 360px) {
  .header-inner { gap: 6px; }
  .brand img { width: 88px; }
  .header-inner .button { padding-inline: 9px; font-size: 10px; }
}

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