:root {
  --bg: #f6f7f9;
  --bg-2: #eef1f5;
  --surface: #ffffff;
  --ink: #16161a;
  --muted: #5c5d66;
  --line: rgba(22, 22, 26, .1);
  --red: #e10600;
  --red-2: #b10500;
  --white: #fff;
  --font: "Be Vietnam Pro", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-nav-in {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.logo img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; flex: 0 1 auto;
  gap: 8px 18px; color: var(--muted); font-size: 14.5px; font-weight: 500;
}
.nav-links a {
  display: inline-block;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  color: var(--ink); width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #16161a; color: #fff;
  padding: 11px 18px; border-radius: 8px;
  border: 0; cursor: pointer; font-weight: 650; font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: #c5c7ce; background: #f3f4f6; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* Homepage */
.home-hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.home-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px;
  right: -80px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,6,0,.12), transparent 68%);
  pointer-events: none;
}
.home-hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(225,6,0,.28); color: var(--red);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: #fff;
}
.home-hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.08; letter-spacing: -.03em;
  margin: 18px 0 16px; font-weight: 700; max-width: 14ch;
}
.home-hero h1 span { color: var(--red); }
.hero-lead { color: var(--muted); font-size: 17px; max-width: 38em; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px;
  color: var(--muted); font-size: 13.5px;
}
.trust-row span { display: flex; align-items: center; gap: 8px; }
.dot-ok {
  width: 16px; height: 16px; border-radius: 50%; background: var(--red);
  color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(22, 22, 26, .28);
}
.hero-card-bar {
  display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.hero-card-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d4da; display: block; }
.hero-card-bar i:first-child { background: var(--red); }
.hero-card-body { padding: 28px 24px 32px; min-height: 240px; }
.hero-card-body small { color: var(--red); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.hero-card-body h3 { margin: 8px 0 8px; font-size: 28px; }
.hero-card-body p { color: var(--muted); margin: 0 0 20px; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); margin-top: 56px;
}
.stat { background: var(--surface); padding: 22px 8px; text-align: center; }
.stat b { display: block; font-size: 28px; color: var(--red); }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.kicker { color: var(--red); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.h2 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0 12px; font-weight: 700; letter-spacing: -.02em; }
.sub { color: var(--muted); max-width: 42em; }

.why-grid, .step-grid { display: grid; gap: 16px; margin-top: 36px; }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.card h3 { margin: 10px 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(225,6,0,.12); color: var(--red);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.step-num { font-size: 28px; color: var(--red); font-weight: 700; }

.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.port-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.port-card:hover { transform: translateY(-4px); border-color: rgba(225,6,0,.45); }
.port-thumb { height: 168px; background: #222 center/cover no-repeat; }
.port-body { padding: 16px 18px 18px; }
.port-body small { color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }
.port-body h3 { margin: 6px 0 4px; font-size: 18px; }
.port-body .sub { color: var(--muted); }

.price-box {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 36px; margin-top: 28px;
}
.price-box .amount { font-size: clamp(40px, 6vw, 58px); margin: 8px 0; color: var(--red); font-weight: 750; }
.price-box ul { margin: 0; padding-left: 18px; color: var(--muted); }
.price-box li { margin: 8px 0; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.quote { background: var(--surface); border-radius: 14px; padding: 22px; border: 1px solid var(--line); }
.quote p { font-size: 17px; line-height: 1.45; font-weight: 500; margin: 0; }
.quote footer { color: var(--muted); font-size: 13px; margin-top: 14px; }

.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 18px 0; font-weight: 650; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; color: var(--ink);
}
.faq-item .a { display: none; color: var(--muted); padding: 0 0 16px; }
.faq-item.on .a { display: block; }

.cta-band {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -28px rgba(22,22,26,.2);
  border-radius: 16px; padding: 42px 40px;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
}
.cta-band h2 { font-size: 32px; margin: 0 0 8px; color: var(--ink); }
.cta-band p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  background: #2f2f2f;
  border-top: 0;
  padding: 48px 0 0;
  color: #c8c8c8;
}
.footer-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr .9fr 1fr;
  gap: 36px 28px;
  padding-bottom: 36px;
}
.footer-logo img { height: 48px; width: auto; margin-bottom: 12px; }
.footer-legal { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #d5d5d5; max-width: 34em; }
.footer-branch { margin-bottom: 16px; }
.footer-branch h5 {
  margin: 0 0 8px; color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}
.footer-branch p {
  display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-size: 13px; line-height: 1.45;
}
.footer-branch svg { flex-shrink: 0; margin-top: 2px; color: #e10600; }
.footer-branch a { display: inline; margin: 0; color: #c8c8c8; }
.footer-branch a:hover { color: #fff; }
.site-footer h4 {
  color: #fff; margin: 0 0 16px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.site-footer a { display: block; margin: 7px 0; font-size: 13.5px; color: #c8c8c8; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #9a9a9a;
}

/* Light pages: brief + result */
.brief-page, .result-page {
  background: #f6f7f9;
  color: #16161a;
}
.brief-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 60px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
.brief-card, .brief-side {
  background: #fff;
  border: 1px solid #e4e4ea;
  border-radius: 16px;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.25);
  color: #16161a;
}
.brief-card { padding: 32px 34px 40px; }
.brief-card .sub, .hint { color: #6d6d78; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 28px; }
.progress i { height: 4px; border-radius: 99px; background: #e6e6ec; display: block; }
.progress i.on { background: var(--red); }
.step-label { color: #6d6d78; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.brief-card h1 { font-size: 30px; margin: 0 0 8px; font-weight: 700; color: #111; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: 14px; }
label .req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], textarea, select {
  width: 100%; border: 1px solid #d8d8e0; background: #fafafa;
  border-radius: 10px; padding: 12px 14px; outline: none; color: #111;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(225,6,0,.12);
}

.industry-grid, .style-grid, .palette-grid, .chip-grid { display: grid; gap: 10px; }
.industry-grid { grid-template-columns: repeat(4, 1fr); }
.choice {
  border: 1px solid #d8d8e0; border-radius: 12px; padding: 12px;
  cursor: pointer; background: #fafafa; text-align: left; color: #111;
}
.choice.on, .chip.on { border-color: #111; background: #fff; box-shadow: 0 0 0 2px #111; }
.choice small { display: block; color: #6d6d78; font-size: 12px; }
.style-grid { grid-template-columns: repeat(3, 1fr); }
.style-preview { height: 92px; border-radius: 10px; margin-bottom: 10px; overflow: hidden; position: relative; }
.style-preview.modern { background: linear-gradient(#f4f1ec, #fff); }
.style-preview.modern::after { content:""; position:absolute; left:12px; right:40%; top:18px; height:10px; background:#1a1a1a; border-radius:4px; }
.style-preview.corporate { background: linear-gradient(180deg, #102033, #d7c48a 70%); }
.style-preview.creative { background: conic-gradient(from 200deg, #f3c6a0, #2c4a3e, #e10600, #f3c6a0); }
.chip-grid { grid-template-columns: repeat(4, 1fr); }
.chip {
  border: 1px solid #d8d8e0; border-radius: 999px; padding: 10px 8px;
  text-align: center; cursor: pointer; font-size: 13.5px; background: #fafafa; color: #111;
}
.palette-grid { grid-template-columns: repeat(6, 1fr); }
.swatch { display: flex; gap: 3px; margin-bottom: 8px; }
.swatch b { flex: 1; height: 18px; border-radius: 4px; }
.palette-grid .choice { padding: 10px 8px; font-size: 12px; text-align: center; }
.upload {
  border: 1.5px dashed #c9c9d4; border-radius: 14px; padding: 28px;
  text-align: center; background: #fafafa; cursor: pointer; color: #6d6d78;
}
.upload.on { border-color: var(--red); color: var(--red); }
.upload input { display: none; }
.offer-row { display: grid; grid-template-columns: .4fr .6fr auto; gap: 8px; margin-bottom: 8px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icon-field { position: relative; }
.icon-field span { position: absolute; left: 12px; top: 38px; color: #6d6d78; font-size: 13px; font-weight: 700; }
.icon-field input { padding-left: 52px; }
.brief-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.brief-page .btn-ghost, .result-page .btn-ghost {
  color: #111; border-color: #d8d8e0; background: #fff;
}
.brief-page .btn-ghost:hover, .result-page .btn-ghost:hover { background: #f4f4f6; }
.brief-side { padding: 22px; position: sticky; top: 90px; }
.live-mock { border-radius: 14px; overflow: hidden; border: 1px solid #e4e4ea; margin-bottom: 16px; }
.live-top { background: #111; color: #f4f4f5; padding: 18px; min-height: 140px; }
.live-top h3 { margin: 6px 0 4px; font-size: 22px; font-weight: 650; }
.live-top p { margin: 0; opacity: .75; font-size: 13px; }
.side-list { font-size: 13.5px; color: #6d6d78; display: grid; gap: 8px; }
.side-list b { color: #111; }

.gen-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.62);
  display: none; place-items: center; z-index: 80; padding: 20px;
}
.gen-overlay.show { display: grid; }
.gen-box { background: #fff; border-radius: 16px; padding: 32px; width: min(420px, 100%); text-align: center; color: #111; }
.gen-box h2 { margin: 0 0 8px; }
.spinner {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid #eee; border-top-color: var(--red);
  margin: 8px auto 16px; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.result-frame {
  border: 1px solid #e4e4ea; border-radius: 14px; overflow: hidden;
  height: 70vh; background: #fff; width: 100%;
}
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.copy-ok { color: #1a7f46; font-size: 13px; font-weight: 600; }
.err { color: var(--red); font-size: 13px; min-height: 1em; }
.result-page .h2, .result-page .kicker { color: inherit; }
.result-page .kicker { color: var(--red); }
.result-page .sub { color: #6d6d78; }

.nav-account {
  font-size: 14px; font-weight: 650; color: var(--ink);
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-account:hover { color: var(--red); }

.auth-page, .account-page { background: var(--bg); min-height: 70vh; }
.auth-page main.wrap, .account-wrap { padding: 40px 0 72px; }
.auth-card {
  width: min(440px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 40px -28px rgba(22, 22, 26, .25);
}
.auth-card h1 { margin: 0 0 8px; font-size: 28px; }
.auth-card .sub { margin: 0 0 8px; }
.auth-card label { display: block; font-weight: 650; font-size: 14px; margin: 14px 0 6px; }
.auth-card .btn { width: 100%; margin-top: 18px; }
.auth-switch { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.auth-switch a { color: var(--red); font-weight: 650; }
.auth-card .err { margin: 12px 0 0; }

.account-hero { margin-bottom: 28px; }
.account-empty { text-align: center; }
.account-empty h2 { margin: 0 0 8px; }
.account-empty .btn { width: auto; display: inline-flex; }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.account-grid .card small { color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.account-grid .card h3 { margin: 8px 0 6px; }
.account-grid .card p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.account-links { display: flex; gap: 8px; flex-wrap: wrap; }
.account-links .btn { padding: 10px 14px; font-size: 13px; }

/* User studio */
.studio-page { background: #f4f5f7; }
.studio {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  align-items: start;
}
.studio-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 14px 40px;
  min-height: calc(100vh - 72px);
  position: sticky;
  top: 72px;
}
.studio-user {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 10px 18px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.studio-avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: #fff1f0; color: var(--red);
  display: grid; place-items: center; font-weight: 750; flex-shrink: 0;
}
.studio-user strong { display: block; font-size: 14px; line-height: 1.3; }
.studio-user span { display: block; font-size: 12px; color: var(--muted); word-break: break-all; }
.studio-label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #8a8b94; font-weight: 700; margin: 16px 10px 8px;
}
.studio-nav { display: grid; gap: 4px; }
.studio-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-weight: 600; font-size: 14px;
}
.studio-nav a svg { flex-shrink: 0; }
.studio-nav a:hover { background: #f6f7f9; color: var(--ink); }
.studio-nav a.on { background: #fff1f0; color: var(--red); }
.studio-nav a.soon { opacity: .48; pointer-events: none; }
.studio-nav a em {
  margin-left: auto; font-style: normal; font-size: 10px;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 700;
  color: #8a8b94; background: #f3f4f6; padding: 2px 6px; border-radius: 999px;
}
.studio-main { padding: 28px 32px 48px; min-width: 0; }
.studio-hero {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 22px;
}
.studio-hero .h2 { margin: 6px 0 8px; }
.studio-hero .sub { margin: 0; }
.studio-hero .btn { flex-shrink: 0; }
.studio-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
}
.stat-card span { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat-card b { display: block; font-size: 28px; letter-spacing: -.03em; margin-top: 4px; }
.studio-block-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 8px 0 14px;
}
.studio-block-head h2 { margin: 0; font-size: 20px; }
.studio-block-head a { color: var(--red); font-weight: 650; font-size: 14px; }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.site-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.site-card-thumb {
  height: 132px; background: #e8eaef center/cover no-repeat; position: relative;
}
.site-card-logo {
  position: absolute; left: 12px; bottom: 12px; height: 36px; width: auto;
  background: #fff; border-radius: 8px; padding: 4px 8px;
  box-shadow: 0 8px 18px -12px rgba(0,0,0,.4);
}
.site-card-body { padding: 14px 16px 16px; }
.site-card-body small { color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.site-card-body h3 { margin: 6px 0 4px; font-size: 18px; }
.site-card-body p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.site-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.site-card-actions .btn { padding: 8px 12px; font-size: 13px; }
.site-del { display: inline; }
.btn-danger {
  background: transparent; color: var(--red); border: 1px solid #f3c4c4;
}
.btn-danger:hover { background: #fff1f0; }
.studio-empty {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 28px; text-align: center;
}
.studio-empty h2 { margin: 0 0 8px; }
.studio-empty .btn { display: inline-flex; margin-top: 8px; }
.flash {
  background: #ecf8ef; color: #1a7f46; border: 1px solid #b7e4c7;
  padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600;
}
.studio-err { margin: 0 0 16px; }
.studio-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px 24px; margin-bottom: 16px;
}
.studio-panel h2 { margin: 0 0 16px; font-size: 18px; }
.studio-form { max-width: 860px; }
.studio-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.check input { width: auto; }
.check.rewrite { align-items: flex-start; line-height: 1.5; margin-bottom: 16px; }
.logo-now {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
  padding: 10px 12px; background: #f6f7f9; border-radius: 12px;
}
.logo-now img { height: 40px; width: auto; }
.logo-now span { font-size: 13px; color: var(--muted); font-weight: 500; }
.studio-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.studio-form .offer-row { grid-template-columns: .4fr .6fr; }
.studio-foot {
  border-top: 1px solid var(--line); padding: 16px 32px 28px 282px;
  color: var(--muted); font-size: 13px;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .home-hero-grid, .why-grid, .step-grid, .portfolio, .quotes, .price-box,
  .brief-shell, .industry-grid, .style-grid, .chip-grid, .palette-grid,
  .field-grid, .social-grid, .cta-band, .stats, .account-grid,
  .studio, .studio-grid, .studio-stats, .studio-hero {
    grid-template-columns: 1fr;
  }
  .studio-side { position: static; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-foot { padding-left: 32px; }
  .studio-hero { align-items: flex-start; flex-direction: column; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    left: 0; right: 0; top: 72px; background: #fff;
    padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .nav-toggle { display: block; }
  .chip-grid { grid-template-columns: 1fr 1fr; }
  .palette-grid { grid-template-columns: 1fr 1fr 1fr; }
  .brief-side { position: static; }
  .logo img { height: 34px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
