:root {
  --surface: #F5F3EE;
  --surface-raised: #FFFFFF;
  --surface-sunken: #E9E6DF;
  --line: #DDD9CF;
  --ink: #14141B;
  --ink-muted: #5C5A55;
  --brand: #2447F5;
  --brand-strong: #1733C4;
  --brand-soft: #DDE3FE;
  --on-brand: #FFFFFF;
  --spark: #FFB224;
  --success: #1E7B4F;
  --focus: #2447F5;
  --gutter: 64px;
  --section-y: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--surface-raised);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul.plain, ol.plain { list-style: none; padding: 0; }
a { color: var(--brand-strong); }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus); }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.bg-raised { background: var(--surface-raised); }
.bg-surface { background: var(--surface); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn-p { background: var(--brand); color: var(--on-brand); height: 52px; padding: 0 24px; font-size: 16px; }
.btn-p:hover { color: var(--on-brand); filter: brightness(1.08); }
.btn-w { background: var(--on-brand); color: var(--brand-strong); }
.btn-w:hover { color: var(--brand); }
.btn-l { color: var(--on-brand); text-decoration: none; }
.btn-l:hover { color: var(--on-brand); text-decoration: underline; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-xl { height: 64px; padding: 0 36px; font-size: 19px; }

.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); }
.h2 { font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.stack { display: flex; flex-direction: column; }

/* Hero */
.hero { background: var(--brand); color: var(--on-brand); border-radius: 0 0 40px 40px; }
.header { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { width: 144.7px; height: 32px; display: block; }
.brand-link { display: flex; color: var(--on-brand); }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--on-brand); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.header-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; padding: 3px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; gap: 2px; }
.lang button { height: 36px; padding: 0 12px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 500; background: transparent; color: var(--on-brand); }
.lang button[aria-pressed="true"] { background: var(--on-brand); color: var(--brand-strong); }
.header .btn-w { height: 44px; padding: 0 20px; font-size: 15px; }
.header-right { position: relative; }
.lang-toggle { display: none; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: var(--on-brand); font-size: 14px; font-weight: 500; }

.hero-grid { padding: 56px 0 88px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero-copy .badge { background: var(--brand-strong); color: var(--on-brand); }
.hero h1 { font-size: 60px; line-height: 64px; font-weight: 700; letter-spacing: -0.035em; }
.hero-sub { font-size: 19px; line-height: 28px; max-width: 560px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pillars li { background: var(--surface-raised); color: var(--ink); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pillars b { font-size: 18px; line-height: 24px; }
.pillars span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-ctas .btn-l { display: flex; align-items: center; height: 56px; padding: 0 16px; font-size: 16px; font-weight: 500; }

/* Chat mock */
.chat { background: var(--surface-raised); color: var(--ink); border-radius: 28px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 40px; height: 40px; border-radius: 14px; display: block; }
.chat-body { background: var(--surface-sunken); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { align-self: flex-start; max-width: 88%; background: var(--surface-raised); border-radius: 18px 18px 18px 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; }
.msg-me { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-radius: 18px 18px 6px 18px; padding: 10px 14px; font-size: 14px; line-height: 20px; }
.kb { display: grid; gap: 6px; }
.kb span { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 500; text-align: center; padding: 8px 6px; border-radius: 10px; background: var(--surface-sunken); }
.kb .on { background: var(--brand-soft); color: var(--brand-strong); }
.msg ol { padding-left: 20px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.file { width: 80%; flex-direction: row; align-items: center; gap: 12px; }
.file-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.file-meta { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.ready { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--surface-sunken); color: var(--success); }

/* Goals */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.goals { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 48px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface-sunken); border-radius: 14px; }
.tabs button { height: 44px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 500; background: transparent; color: var(--ink-muted); }
.tabs button[aria-selected="true"] { background: var(--surface-raised); color: var(--ink); }
.chips { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.chips button { display: flex; justify-content: space-between; align-items: center; text-align: left; min-height: 52px; padding: 0 16px; border-radius: 14px; font-size: 16px; font-weight: 500; border: 1px solid transparent; background: transparent; color: var(--ink); }
.chips button:hover { background: var(--surface); }
.chips button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.goal-card { border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: var(--surface); min-height: 420px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; line-height: 18px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; font-size: 16px; line-height: 24px; }
.checks svg { margin-top: 2px; }
.panel { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--surface-raised); border: 1px solid var(--line); }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.strip span { aspect-ratio: 16 / 9; border-radius: 4px; background: var(--brand-soft); }
.strip span:first-child { background: var(--brand); }

.compare-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 64px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cmp { border: 1px solid var(--line); border-radius: 28px; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); }
.cmp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cmp-top b { font-size: 18px; line-height: 24px; }
.cmp-top span { font-size: 12px; line-height: 16px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); white-space: nowrap; }
.ph { aspect-ratio: 16 / 9; border-radius: 16px; border: 1px dashed var(--line); background: var(--surface-sunken); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-muted); font-size: 12px; font-weight: 500; text-align: center; padding: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thumbs span { aspect-ratio: 16 / 9; border-radius: 8px; border: 1px dashed var(--line); background: var(--surface-sunken); }
.cmp .shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-sunken); }
.cmp img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.thumbs img { border-radius: 8px; border: 1px solid var(--line); background: var(--surface-sunken); }
.dots { display: flex; flex-direction: column; gap: 8px; }
.dots li { display: flex; gap: 8px; font-size: 15px; line-height: 22px; }
.dots li::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--brand); flex-shrink: 0; margin-top: 8px; }

/* Steps */
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 16px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 28px; padding: 24px; }
.card-t { font-size: 20px; line-height: 28px; font-weight: 700; }
.card-d { font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.num { width: 44px; height: 44px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.num.spark { background: var(--spark); }

/* Quality */
.q-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.stats { display: flex; gap: 12px; }
.stat { background: var(--brand); color: var(--on-brand); border-radius: 24px; padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.stat.soft { background: var(--brand-soft); color: var(--brand-strong); }
.stat b { font-size: 44px; line-height: 48px; letter-spacing: -0.03em; }
.stat span { font-size: 15px; line-height: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery .ph { border-radius: 20px; font-size: 13px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery .shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-sunken); }
.gallery .shot-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery .shot-more img { border-radius: 10px; border: 1px solid var(--line); background: var(--surface-sunken); }
.gallery-more { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; border-radius: 20px; border: 1px dashed var(--line); background: var(--surface); color: inherit; text-decoration: none; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; line-height: 22px; }
.quality { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.quality .card { background: var(--surface); }
.ic { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; }

/* Price */
.split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; align-items: start; }
.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price .card { gap: 6px; }
.price .card.blue { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.price .card.blue .card-d { color: var(--on-brand); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 16px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 18px; line-height: 26px; font-weight: 500; }
.faq-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 999px; background: var(--surface-sunken); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.faq-item button[aria-expanded="true"] .faq-ic { background: var(--brand); color: var(--on-brand); }
.faq-item button[aria-expanded="true"] .v { display: none; }
.faq-item p { padding: 0 64px 20px 0; font-size: 16px; line-height: 25px; color: var(--ink-muted); }

/* CTA */
.cta { background: var(--brand); color: var(--on-brand); border-radius: 40px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
.cta h2 { font-size: 52px; line-height: 58px; font-weight: 700; letter-spacing: -0.035em; }
.cta .pillars li { background: var(--brand-strong); color: var(--on-brand); gap: 4px; }
.cta .pillars span { color: var(--on-brand); }
.qr-card { background: var(--surface-raised); color: var(--ink); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.qr { width: 208px; height: 208px; display: block; }

/* Footer */
.footer { background: var(--surface-sunken); padding: 40px 0; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.footer-l { display: flex; align-items: center; gap: 24px; }
.footer nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.footer nav a { color: var(--ink); text-decoration: none; }
.footer nav a:hover { color: var(--brand-strong); text-decoration: underline; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 32px; --section-y: 64px; }
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .chat { max-width: 480px; }
  .hero h1 { font-size: 48px; line-height: 54px; }
  .goals { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .cta { grid-template-columns: 1fr; }
  .qr-card { justify-self: start; }
  .quality, .gallery, .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 720px) {
  :root { --gutter: 16px; --section-y: 48px; }
  .hero { border-radius: 0 0 28px 28px; }
  .header { height: 64px; }
  .logo { width: 126.6px; height: 28px; }
  .header .btn-w { display: none; }
  .lang-toggle { display: flex; }
  .lang { display: none; position: absolute; right: 0; top: 52px; z-index: 5; flex-direction: column; min-width: 168px; padding: 6px; gap: 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(20,20,27,0.06), 0 8px 24px rgba(20,20,27,0.06); }
  .lang.open { display: flex; }
  .lang button { height: 44px; text-align: left; border-radius: 10px; font-size: 15px; color: var(--ink); }
  .lang button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
  .hero-grid { padding: 20px 0 40px; gap: 32px; }
  .hero-copy { gap: 24px; }
  .hero h1 { font-size: 38px; line-height: 42px; letter-spacing: -0.03em; }
  .hero-sub { font-size: 17px; line-height: 26px; }
  .pillars { gap: 8px; }
  .pillars li { padding: 12px; border-radius: 16px; }
  .pillars b { font-size: 15px; line-height: 20px; }
  .pillars span { font-size: 12px; line-height: 16px; }
  .hero-ctas .btn-w { width: 100%; justify-content: center; }
  .hero-ctas .btn-l { width: 100%; justify-content: center; }
  .h2 { font-size: 32px; line-height: 38px; }
  .h3 { font-size: 24px; line-height: 30px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .goals { margin-top: 32px; }
  .chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .chips button { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
  .chips button svg { display: none; }
  .goal-card { grid-template-columns: 1fr; padding: 20px; gap: 24px; min-height: 0; }
  .compare-head, .row-head { flex-direction: column; align-items: stretch; }
  .compare-head .btn, .row-head .btn { justify-content: center; }
  .cards3, .steps, .quality, .gallery, .price { grid-template-columns: 1fr; }
  .q-head { grid-template-columns: 1fr; gap: 24px; }
  .stat { flex: 1; min-width: 0; }
  .faq-item p { padding-right: 0; }
  .faq-item button { font-size: 17px; }
  .cta { padding: 28px 20px; border-radius: 28px; gap: 32px; }
  .cta h2 { font-size: 34px; line-height: 40px; }
  .cta .btn-xl { width: 100%; justify-content: center; }
  .qr-card { justify-self: stretch; }
  .footer .wrap, .footer-l { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer nav { flex-direction: column; gap: 12px; }
}
