@font-face {
  font-family: "Bounded";
  src: url("fonts/bounded-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geologica";
  src: url("fonts/geologica-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  src: url("fonts/geologica-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #111111;
  --muted: #6d6d69;
  --paper: #f8f8f6;
  --card: #ffffff;
  --line: #dad9d3;
  --soft: #eae9e3;
  --display: "Geologica", sans-serif;
  --body: "Onest", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1320px, calc(100% - 80px)); margin: 0 auto; }
.section { padding: 132px 0; }
.templates { padding: 88px 0 68px; background: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,248,246,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(17,17,17,.08); }
.site-header .header-inner { width: 100%; max-width: none; margin: 0; padding: 0 48px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-family: "Bounded", var(--body);
  font-weight: 500;
  font-size: 22px;
}
.brand img { width: 26px; height: 26px; border-radius: 4px; }
.site-header .brand span { margin-top: 3px; }
.site-footer .brand span { margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.main-nav a, .login { font-weight: 600; color: #343431; transition: opacity .2s ease; }
.main-nav a:hover, .login:hover { opacity: .55; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 12px;
  font-weight: 600;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.button-small { min-height: 48px; padding: 0 19px; }
.button-outline { background: transparent; color: var(--ink); font-weight: 600; }
.button-inverse { background: white; border-color: white; color: var(--ink); }
.button-large { min-height: 62px; padding: 0 30px; }
.prerelease-button { cursor: default; user-select: none; }
.prerelease-button:hover { transform: none; box-shadow: none; }
.menu-button { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: white; align-items: center; justify-content: center; color: var(--ink); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 70%, transparent); }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; border: 1px solid rgba(17,17,17,.05); border-radius: 50%; left: 50%; top: 41%; transform: translate(-50%,-50%); box-shadow: 0 0 0 90px rgba(17,17,17,.018), 0 0 0 180px rgba(17,17,17,.012); }
.hero-showcase { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; transform: translateY(60px); }
.hero-site-card { position: absolute; display: block; aspect-ratio: 221 / 159; opacity: 1; will-change: transform, opacity, filter; }
.hero-site-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; box-shadow: 0 14px 28px rgba(17,17,17,.17); animation: hero-site-reveal .75s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--hero-card-delay, 0ms); }
.site-cultural-center { left: 1.7%; top: 8%; width: clamp(125px, 8.5vw, 165px); }
.site-dental-clinic { left: 11.4%; top: 1.2%; width: clamp(170px, 11vw, 215px); }
.site-architecture-studio { left: -7.5%; top: 28%; width: clamp(250px, 18vw, 345px); }
.site-seasonal-restaurant { left: 11.7%; top: 27%; width: clamp(130px, 8.9vw, 170px); }
.site-photography-school { left: 11.7%; top: 46%; width: clamp(125px, 8.6vw, 165px); }
.site-country-homes { left: 2.7%; top: 62%; width: clamp(120px, 8vw, 165px); }
.site-digital-conference { right: 1.7%; top: 8%; width: clamp(125px, 8.5vw, 165px); }
.site-volunteer-travel { right: 11.4%; top: 1.2%; width: clamp(170px, 11vw, 215px); }
.site-coworking { right: -7.5%; top: 28%; width: clamp(250px, 18vw, 345px); }
.site-botanical-cosmetics { right: 11.7%; top: 27%; width: clamp(130px, 8.9vw, 170px); }
.site-fashion-atelier { right: 11.7%; top: 46%; width: clamp(125px, 8.6vw, 165px); }
.site-veterinary-clinic { right: 2.7%; top: 62%; width: clamp(120px, 8vw, 165px); }
@keyframes hero-site-reveal { from { opacity: 0; transform: translateY(-10px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.hero-inner {
  position: relative;
  padding: 65px 0 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .hero-inner { z-index: 2; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
.hero .eyebrow { padding: 8px 14px; border: 1px solid #d3dce8; border-radius: 999px; background: #ffffff; color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 14px; box-shadow: 0 5px 16px rgba(17,17,17,.04); }
.hero .eyebrow svg { flex: none; }
/* AI-акцент, вариант №2: иконка #905fc0 → #3f80bf; текст #905fc0 → #6c6fc5 → #3f80bf. */
.hero .eyebrow span { background: linear-gradient(100deg, #9e55cf 0%, #7569d4 48%, #3689cf 100%); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero h1 {
  margin: 27px 0 18px;
  font-family: var(--display);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 600;
  max-width: 980px;
}
.hero-subtitle {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.2;
  font-weight: 450;
  max-width: 850px;
}
.niche-line {
  margin-top: 5px;
  min-height: 1.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(29px, 3.15vw, 47px);
  letter-spacing: -.03em;
  font-weight: 650;
  line-height: 1.3;
}
.rotating-niche { display: inline-flex; align-items: center; min-width: 13ch; min-height: 1.35em; justify-content: center; background: linear-gradient(90deg, #2f5bff 0%, #7452ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; overflow: hidden; }
.rotating-niche i { display: inline-block; width: 2px; height: .82em; margin-left: 4px; background: linear-gradient(180deg, #2f5bff, #7452ff); animation: cursor .72s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
.niche-count { margin: 17px 0 0; font-size: 17px; color: var(--muted); }
.niche-count b { color: var(--ink); }
.niche-search { margin-top: 40px; width: min(820px, 100%); min-height: 78px; padding: 10px 11px 10px 24px; display: flex; align-items: center; gap: 15px; background: white; border: 1px solid #d4d3ce; border-radius: 16px; box-shadow: 0 18px 60px rgba(17,17,17,.09); }
.niche-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.niche-search input::placeholder { color: #989892; }
.niche-search button { min-height: 56px; border: 0; border-radius: 10px; background: var(--ink); color: white; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 750; cursor: pointer; }
.niche-prompt { position: relative; margin-top: 40px; width: min(820px, 100%); min-height: 142px; padding: 20px 18px 14px 22px; display: flex; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid #d4d3ce; border-radius: 24px; box-shadow: 0 18px 60px rgba(17,17,17,.09); transition: border-color .2s ease, box-shadow .2s ease; }
.niche-prompt:focus-within { border-color: #aaa9a4; box-shadow: 0 20px 64px rgba(17,17,17,.12); }
.niche-prompt textarea { position: relative; z-index: 2; display: block; width: 100%; min-height: 58px; padding: 0 4px; border: 0; outline: 0; resize: none; overflow: auto; background: transparent; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.5; }
.niche-prompt textarea::placeholder { color: #989892; opacity: 1; }
.niche-prompt.has-rotating-placeholder textarea::placeholder { color: transparent; }
.niche-prompt-placeholder { position: absolute; z-index: 1; top: 20px; left: 26px; right: 26px; color: #989892; font-size: 17px; line-height: 1.5; text-align: left; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.niche-prompt.is-placeholder-visible .niche-prompt-placeholder { opacity: 1; }
.niche-prompt textarea:focus + .niche-prompt-placeholder,
.niche-prompt.is-focused .niche-prompt-placeholder { opacity: 0; transition: none; }
.niche-prompt-placeholder-cursor { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -.14em; border-radius: 2px; background: currentColor; animation: prompt-cursor-blink .72s steps(1) infinite; }
@keyframes prompt-cursor-blink { 50% { opacity: 0; } }
.niche-prompt-actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.niche-prompt button { width: 46px; height: 46px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; cursor: default; }
.niche-prompt-primary-actions { display: flex; align-items: center; gap: 4px; }
.niche-prompt-attach { border: 1px solid #d4d3ce; background: #fff; color: var(--ink); }
.niche-prompt .niche-prompt-mic { border: 0; background: transparent; color: #6d6d69; border-radius: 0; }
.niche-prompt-mic:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.niche-prompt-submit { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.hero-social-proof { margin-top: 26px; display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-align: left; }
.hero-social-proof-avatars { display: flex; align-items: center; padding-left: 2px; }
.hero-social-proof-avatars img { width: 48px; height: 48px; object-fit: cover; border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 5px 14px rgba(17,17,17,.13); }
.hero-social-proof-avatars img + img { margin-left: -16px; }
.hero-social-proof-copy { display: grid; gap: 2px; }
.hero-social-proof-copy strong { font-family: var(--display); font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -.025em; }
.hero-social-proof-copy span { color: var(--muted); font-size: 14px; font-weight: 560; line-height: 1.25; }
.hero-steps { width: min(1040px, 100%); margin-top: 48px; display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr; align-items: center; }
.hero-steps article { position: relative; display: flex; align-items: center; text-align: left; gap: 15px; min-width: 0; }
.step-number { position: absolute; z-index: 2; left: 40px; top: -9px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--ink); color: white; border: 3px solid var(--paper); border-radius: 50%; font-size: 10px; font-weight: 800; }
.step-icon { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 12px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(17,17,17,.08); }
.step-icon-success { background: var(--ink); color: white; border-color: var(--ink); }
.hero-steps b { display: block; font-size: 15px; line-height: 1.3; }
.hero-steps p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.step-line { height: 1px; border-top: 1px dashed #aaa9a4; margin: 0 12px; }

.section-heading h2, .system-copy h2, .pricing-copy h2, .faq-grid h2, .final-inner h2 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 540;
  font-size: clamp(39px, 4.7vw, 62px);
  line-height: 1.03;
  letter-spacing: -.03em;
}
.row-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 80px; margin-bottom: 62px; }
.row-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 470px; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 24px; }
.template-card { min-width: 0; }
.template-image { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; border: 1px solid rgba(17,17,17,.12); background: #ddd; box-shadow: 0 17px 38px rgba(17,17,17,.08); }
.template-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.template-card:hover img { transform: scale(1.025); }
.template-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px 0; }
.template-meta span:first-child { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.template-meta h3 { margin: 5px 0 0; font-family: var(--display); font-weight: 590; font-size: 24px; letter-spacing: -.03em; }
.round-arrow { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: background .2s ease, color .2s ease, transform .2s ease; }
.template-card:hover .round-arrow { background: var(--ink); color: white; transform: rotate(-8deg); }
.center-action { margin-top: 62px; display: flex; justify-content: center; }

.home-alt .home-category-template .template-meta { align-items: center; }
.home-alt .home-category-template .template-meta h3 { margin: 0; font-size: 27px; line-height: 1.12; }
.template-card-static { cursor: default; }
.template-card-static:hover img { transform: none; }
.template-status { flex: none; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.templates-note { margin: 0; color: var(--muted); font-size: 16px; text-align: center; }
.home-alt .system-section { background: var(--paper); }
.home-alt .feature-section { background: #fff; }
.home-alt .pricing-section { background: var(--paper); }
.home-alt .faq-section { background: #fff; }

.categories-section { padding: 72px 0 96px; background-color: var(--paper); background-image: url("images/categories/categories-pattern.svg"); background-repeat: repeat; background-size: 240px 240px; border-block: 1px solid var(--line); }
.categories-heading { max-width: 930px; margin-bottom: 52px; }
.categories-heading h2 { max-width: 900px; margin-inline: auto; }
.categories-heading p:last-child { max-width: 710px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card { --category-color: #111; --category-image: none; position: relative; min-width: 0; min-height: 250px; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; overflow: hidden; color: white; background-color: var(--category-color); background-image: var(--category-image); background-position: center; background-size: cover; border-radius: 14px; box-shadow: none; text-align: center; transition: transform .25s ease, box-shadow .3s ease; transform-style: preserve-3d; backface-visibility: hidden; }
.category-card:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0,0,0,.2); }
.category-card::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--category-color) 80%, transparent); pointer-events: none; }
.category-icon { position: relative; z-index: 1; flex: none; width: 56px; height: 56px; display: grid; place-items: center; }
.category-icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.category-card b { position: relative; z-index: 1; max-width: 330px; font-family: var(--body); font-size: 28px; font-weight: 500; line-height: 1.16; letter-spacing: -.035em; text-shadow: 1px 1px 1px rgba(0,0,0,.25); }
.category-food { --category-color: rgb(227,141,66); --category-image: url("images/categories/food.webp"); }
.category-health { --category-color: rgb(80,167,159); --category-image: url("images/categories/health.webp"); }
.category-construction { --category-color: rgb(158,108,87); --category-image: url("images/categories/construction.webp"); }
.category-production { --category-color: rgb(70,58,69); --category-image: url("images/categories/production.webp"); }
.category-goods { --category-color: rgb(50,116,191); --category-image: url("images/categories/goods.webp"); }
.category-services { --category-color: rgb(218,84,84); --category-image: url("images/categories/services.webp"); }
.category-education { --category-color: rgb(213,115,52); --category-image: url("images/categories/education.webp"); }
.category-auto { --category-color: rgb(29,74,103); --category-image: url("images/categories/auto.webp"); }
.category-leisure { --category-color: rgb(189,31,176); --category-image: url("images/categories/leisure.webp"); }
.category-sport { --category-color: rgb(66,195,227); --category-image: url("images/categories/sport.webp"); }
.category-travel { --category-color: rgb(6,99,206); --category-image: url("images/categories/travel.webp"); }
.category-finance { --category-color: rgb(31,189,65); --category-image: url("images/categories/finance.webp"); }

.system-section { background: #fff; border-block: 1px solid var(--line); }
.system-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; align-items: center; }
.system-copy .large-copy { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 30px 0; max-width: 570px; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 0 0 34px; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.check-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-weight: 800; }
.system-visual { min-width: 0; padding: 20px; border: 1px solid #cfcfc9; border-radius: 22px; background: var(--paper); box-shadow: 0 28px 80px rgba(17,17,17,.12); }
.visual-topbar { height: 43px; display: flex; align-items: center; gap: 7px; padding: 0 10px 15px; border-bottom: 1px solid var(--line); }
.visual-topbar span { width: 9px; height: 9px; background: #b6b5b0; border-radius: 50%; }
.visual-topbar b { margin-left: auto; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.visual-stack { position: relative; min-height: 470px; padding: 48px 10px 20px; display: grid; grid-template-columns: .75fr 1fr 1.3fr; align-items: center; gap: 14px; }
.visual-stack::before { content: ""; position: absolute; left: 13%; right: 10%; top: 50%; border-top: 1px dashed #a2a19c; }
.system-panel { position: relative; min-width: 0; z-index: 2; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 15px 35px rgba(17,17,17,.09); animation: float 6s ease-in-out infinite; }
.components-panel { animation-delay: -2s; }
.page-panel { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.panel-title { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 13px; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid var(--soft); }
.swatches { display: flex; gap: 7px; }
.swatches i { width: 30px; height: 30px; border-radius: 7px; background: #111; }
.swatches i:nth-child(2) { background: #858581; }
.swatches i:nth-child(3) { background: #d9d8d2; }
.swatches i:nth-child(4) { background: #f3f2ed; border: 1px solid var(--line); }
.type-lines { margin-top: 24px; display: grid; gap: 8px; }
.type-lines b { font-family: var(--display); font-size: 30px; }
.type-lines span { height: 5px; width: 80%; border-radius: 4px; background: #deddd7; }
.type-lines span:last-child { width: 54%; }
.mini-component { display: flex; gap: 9px; padding: 11px; margin-bottom: 8px; border: 1px solid var(--soft); border-radius: 9px; }
.mini-icon { width: 28px; height: 28px; border-radius: 7px; background: #111; }
.mini-icon.circle { border-radius: 50%; background: #bbb9b2; }
.mini-component div { flex: 1; display: grid; align-content: center; gap: 5px; }
.mini-component b, .mini-component i { height: 5px; border-radius: 5px; background: #d4d3cd; }
.mini-component i { width: 60%; }
.components-panel button { width: 100%; height: 34px; border: 0; border-radius: 7px; background: var(--ink); color: white; font-size: 10px; font-weight: 800; }
.mini-site-hero { height: 145px; padding: 22px 14px; background: #eeede8; border-radius: 9px; display: flex; flex-direction: column; align-items: flex-start; }
.mini-site-hero span { width: 22px; height: 6px; background: #aaa9a4; border-radius: 4px; }
.mini-site-hero b { width: 75%; height: 10px; margin-top: 24px; background: #111; border-radius: 4px; }
.mini-site-hero i { width: 50%; height: 6px; margin-top: 8px; background: #aaa9a4; border-radius: 4px; }
.mini-site-hero button { width: 60px; height: 20px; margin-top: 16px; border: 0; background: #111; border-radius: 4px; }
.mini-site-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 8px; }
.mini-site-cards i { height: 55px; border: 1px solid var(--line); border-radius: 6px; }
.system-caption { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; background: var(--ink); color: white; border-radius: 12px; font-weight: 720; font-size: 14px; text-align: center; padding: 10px 18px; }

.centered { text-align: center; max-width: 850px; margin: 0 auto 58px; }
.centered p:last-child { margin: 24px auto 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feature-card { min-height: 350px; padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.feature-card h3 { max-width: 520px; margin: 52px 0 14px; font-family: var(--display); font-size: 28px; line-height: 1.15; letter-spacing: -.03em; font-weight: 580; }
.feature-card p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 17px; }
.feature-large { grid-column: span 2; min-height: 460px; position: relative; padding-right: 50%; }
.prompt-demo { position: absolute; right: 38px; top: 38px; bottom: 38px; width: 42%; padding: 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 0 0 10px rgba(255,255,255,.5); }
.prompt-demo > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: white; border-radius: 10px; line-height: 1.55; }
.prompt-send { align-self: flex-end; width: 52px; height: 52px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 50%; }
.dark-card { background: var(--ink); color: white; border-color: var(--ink); }
.dark-card p { color: #b8b8b2; }
.dark-card .feature-icon { background: #2a2a28; border-color: #454541; }
.quality-meter { margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 13px; color: #ccc; }
.quality-meter i { grid-column: 1 / -1; height: 7px; border-radius: 5px; background: white; }

.pricing-section { background: #fff; border-block: 1px solid var(--line); }
.pricing-copy { text-align: center; max-width: 850px; margin: 0 auto 56px; }
.pricing-copy > p:last-child { max-width: 660px; margin: 24px auto 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.pricing-cards { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.pricing-cards article { padding: 38px; border: 1px solid #c8c7c1; border-radius: 18px; background: #f7f6f1; }
.pricing-cards article.pricing-featured { background: var(--ink); color: white; border-color: var(--ink); }
.price-label { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; color: var(--muted); }
.pricing-featured .price-label { color: #aaa; }
.pricing-cards h3 { margin: 18px 0 28px; font-family: var(--display); font-size: 27px; letter-spacing: -.03em; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--display); font-size: 38px; letter-spacing: -.03em; }
.price span { color: var(--muted); }
.pricing-featured .price span { color: #aaa; }
.pricing-cards ul { margin: 34px 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pricing-cards li { display: flex; align-items: center; gap: 10px; }
.pricing-cards li svg { width: 19px; }
.pricing-cards .button { width: 100%; }
.pricing-note { margin: 24px auto 0; max-width: 760px; text-align: center; color: #66665f; font-size: 13px; }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; min-height: 86px; padding: 0; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; cursor: pointer; font-weight: 750; font-size: 18px; }
.faq button svg { transition: transform .25s ease; }
.faq.open button svg { transform: rotate(180deg); }
.faq > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq > div p { min-height: 0; overflow: hidden; margin: 0; color: var(--muted); line-height: 1.7; }
.faq.open > div { grid-template-rows: 1fr; }
.faq.open > div p { padding: 0 45px 28px 0; }

.final-cta { padding: 140px 0; background: var(--ink); color: white; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.cta-star { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid #444; border-radius: 16px; }
.final-inner h2 { max-width: 1050px; }
.final-inner > p:not(.kicker) { max-width: 650px; margin: 25px 0 36px; color: #b6b6b1; font-size: 19px; line-height: 1.6; }
.launch-pill { display: inline-flex; min-height: 54px; align-items: center; padding: 0 22px; border: 1px solid #454545; border-radius: 999px; color: #fff; background: #242424; font-weight: 700; }
footer { background: var(--ink); color: white; border-top: 1px solid #333; }
footer .footer-main, footer .footer-bottom { width: calc(100% - clamp(28px, 4vw, 80px)); max-width: none; margin: 0 auto; }
.footer-main { padding: 56px 0 48px; display: grid; grid-template-columns: 1fr 1.2fr 1.5fr; align-items: center; gap: 40px; }
.footer-main p { color: #9c9c97; line-height: 1.55; }
.footer-links { display: flex; justify-content: flex-end; gap: 26px; font-size: 14px; font-weight: 700; }
.footer-status { color: #777; }
.footer-bottom { position: relative; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 0; color: #777; font-size: 12px; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: calc(clamp(28px, 4vw, 80px) / -2); width: calc(100% + clamp(28px, 4vw, 80px)); height: 1px; background: #333; }
footer .brand img { filter: brightness(0) invert(1); }

@media (min-width: 1600px) and (max-width: 1700px) {
  .site-cultural-center, .site-digital-conference { top: 69px; }
  .site-dental-clinic, .site-volunteer-travel { top: 30px; }
  .site-architecture-studio, .site-coworking { top: 210px; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { top: 190px; }
  .site-photography-school, .site-fashion-atelier { top: 330px; }
  .site-country-homes, .site-veterinary-clinic { top: 460px; }
}

@media (min-width: 1701px) {
  .site-cultural-center, .site-digital-conference { top: calc(8% - 18px); }
  .site-dental-clinic, .site-volunteer-travel { top: calc(1.2% - 18px); }
  .site-architecture-studio, .site-coworking { top: calc(28% - 6px); }
  .site-seasonal-restaurant, .site-botanical-cosmetics { top: calc(27% - 6px); }
  .site-photography-school, .site-fashion-atelier { top: calc(46% + 8px); }
  .site-country-homes, .site-veterinary-clinic { top: calc(62% + 52px); }
}

@media (min-width: 821px) and (max-width: 1599px) {
  .site-cultural-center, .site-digital-conference { top: 69px; }
  .site-dental-clinic, .site-volunteer-travel { top: 30px; }
  .site-architecture-studio, .site-coworking { top: 210px; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { top: 190px; }
  .site-photography-school, .site-fashion-atelier { top: 330px; }
  .site-country-homes, .site-veterinary-clinic { top: 460px; }
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .site-cultural-center { left: -3.3%; }
  .site-dental-clinic { left: 6.4%; }
  .site-architecture-studio { left: -12.5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 6.7%; }
  .site-digital-conference { right: -3.3%; }
  .site-volunteer-travel { right: 6.4%; }
  .site-coworking { right: -12.5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 6.7%; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .site-cultural-center, .site-digital-conference { width: 10vw; }
  .site-dental-clinic, .site-volunteer-travel { width: 10.8vw; }
  .site-architecture-studio, .site-coworking { width: 17.5vw; }
  .site-seasonal-restaurant, .site-botanical-cosmetics, .site-photography-school, .site-fashion-atelier { width: 8.5vw; }
  .site-country-homes, .site-veterinary-clinic { width: 10vw; }
  .site-country-homes, .site-veterinary-clinic { top: 440px; }
  .site-cultural-center { left: -5.3%; }
  .site-dental-clinic { left: 5.5%; }
  .site-architecture-studio { left: -13.5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 5.8%; }
  .site-country-homes { left: min(-3.5%, calc((100% - 1040px) / 2 - 10vw - 40px)); }
  .site-digital-conference { right: -5.3%; }
  .site-volunteer-travel { right: 5.5%; }
  .site-coworking { right: -13.5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 5.8%; }
  .site-veterinary-clinic { right: min(-3.5%, calc((100% - 1040px) / 2 - 10vw - 40px)); }
}

@media (min-width: 821px) and (max-width: 1199px) {
  .site-cultural-center, .site-digital-conference { width: 10vw; }
  .site-dental-clinic, .site-volunteer-travel { width: 13.5vw; }
  .site-architecture-studio, .site-coworking { width: 20vw; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { width: 10vw; }
  .site-photography-school, .site-fashion-atelier { width: 9.8vw; }
  .site-country-homes, .site-veterinary-clinic { width: 11vw; }
  .site-country-homes, .site-veterinary-clinic { top: 440px; }
  .site-cultural-center { left: -8.3%; }
  .site-dental-clinic { left: 2%; }
  .site-architecture-studio { left: -17.5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 3%; }
  .site-country-homes { left: -3.25%; }
  .site-digital-conference { right: -8.3%; }
  .site-volunteer-travel { right: 2%; }
  .site-coworking { right: -17.5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 3%; }
  .site-veterinary-clinic { right: -3.25%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .site-country-homes { left: calc((100% - 1040px) / 2 - 11vw - 40px); }
  .site-veterinary-clinic { right: calc((100% - 1040px) / 2 - 11vw - 40px); }
}

@media (max-width: 991px) {
  .hero-showcase { opacity: .12; filter: saturate(.55) contrast(.92); }
}

@media (max-width: 1100px) {
  .shell { width: min(100% - 48px, 1320px); }
  .site-header .header-inner { padding-inline: 24px; }
  .main-nav { gap: 20px; }
  .login { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-grid { grid-template-columns: 1fr; }
  .system-copy { max-width: 720px; }
  .faq-grid { gap: 50px; }
}
@media (max-width: 820px) {
  .section { padding: 96px 0; }
  .templates { padding: 72px 0 58px; }
  .categories-section { padding: 62px 0 80px; }
  .category-card { min-height: 220px; }
  .category-card b { font-size: 23px; }
  .category-icon { width: 48px; height: 48px; }
  .category-icon svg { width: 40px; height: 40px; }
  .shell { width: min(100% - 36px, 1320px); }
  .site-header .header-inner { padding-inline: 18px; }
  .header-actions { margin-left: auto; }
  .header-actions .button, .main-nav { display: none; }
  .menu-button { display: inline-flex; }
  .main-nav.open { position: absolute; display: flex; flex-direction: column; align-items: stretch; top: 84px; left: 18px; right: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 22px 50px rgba(0,0,0,.13); }
  .main-nav.open a { padding: 11px; }
  .site-cultural-center, .site-digital-conference { width: 60px; top: 8%; }
  .site-dental-clinic, .site-volunteer-travel { width: 78px; top: 3%; }
  .site-architecture-studio, .site-coworking { width: 120px; top: 18%; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { width: 64px; top: 16%; }
  .site-photography-school, .site-fashion-atelier { width: 60px; top: 28%; }
  .site-country-homes, .site-veterinary-clinic { width: 72px; top: 37%; }
  .site-cultural-center { left: 3%; }
  .site-dental-clinic { left: 18%; }
  .site-architecture-studio { left: -5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 18%; }
  .site-country-homes { left: 4%; }
  .site-digital-conference { right: 3%; }
  .site-volunteer-travel { right: 18%; }
  .site-coworking { right: -5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 18%; }
  .site-veterinary-clinic { right: 4%; }
  .hero-inner { padding-top: 82px; }
  .hero h1 { font-size: clamp(41px, 8.8vw, 58px); }
  .rotating-niche { min-width: 0; }
  .niche-search button { width: 56px; padding: 0; font-size: 0; }
  .niche-prompt { width: min(720px, 100%); }
  .hero-steps { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .step-line { display: none; }
  .hero-steps article { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.6); }
  .step-number { left: 54px; top: 5px; }
  .row-heading { grid-template-columns: 1fr; gap: 28px; }
  .template-grid { grid-template-columns: 1fr; gap: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; padding-right: 38px; padding-bottom: 340px; }
  .prompt-demo { top: auto; left: 38px; right: 38px; bottom: 38px; width: auto; height: 270px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1320px); }
  .categories-heading { margin-bottom: 38px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-card { min-height: 180px; padding: 20px 18px; }
  .category-icon { width: 42px; height: 42px; }
  .category-icon svg { width: 36px; height: 36px; }
  .category-card b { font-size: 21px; }
  .site-header .header-inner { padding-inline: 14px; }
  .brand { font-size: 19px; }
  .brand img { width: 26px; height: 26px; }
  .hero-showcase { opacity: .11; }
  .site-cultural-center, .site-digital-conference { width: 32px; top: 9%; }
  .site-dental-clinic, .site-volunteer-travel { width: 40px; top: 4.5%; }
  .site-architecture-studio, .site-coworking { width: 64px; top: 18%; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { width: 34px; top: 15%; }
  .site-photography-school, .site-fashion-atelier { width: 32px; top: 23%; }
  .site-country-homes, .site-veterinary-clinic { width: 44px; top: 31.5%; }
  .site-cultural-center { left: 6%; }
  .site-dental-clinic { left: 21%; }
  .site-architecture-studio { left: -3%; }
  .site-seasonal-restaurant, .site-photography-school { left: 16%; }
  .site-country-homes { left: 7%; }
  .site-digital-conference { right: 6%; }
  .site-volunteer-travel { right: 21%; }
  .site-coworking { right: -3%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 16%; }
  .site-veterinary-clinic { right: 7%; }
  .hero::before { transform: none; }
  .hero-inner { padding: 46px 0 64px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .hero h1 { margin-top: 22px; font-size: 36px; letter-spacing: -.03em; }
  .niche-line { font-size: 27px; }
  .rotating-niche { min-height: 40px; }
  .niche-search { min-height: 68px; padding-left: 16px; margin-top: 30px; }
  .niche-search input { font-size: 15px; }
  .niche-search button { min-height: 48px; height: 48px; flex: 0 0 48px; }
  .niche-prompt { min-height: 126px; margin-top: 30px; padding: 16px 14px 12px 16px; border-radius: 20px; }
  .niche-prompt textarea { min-height: 52px; font-size: 15px; }
  .niche-prompt-placeholder { top: 16px; left: 20px; right: 18px; font-size: 15px; }
  .niche-prompt button { width: 42px; height: 42px; }
  .hero-social-proof { margin-top: 24px; gap: 12px; }
  .hero-social-proof-avatars img { width: 44px; height: 44px; }
  .hero-social-proof-avatars img + img { margin-left: -15px; }
  .hero-social-proof-copy strong { font-size: 20px; }
  .hero-social-proof-copy span { max-width: 190px; font-size: 13px; }
  .hero-steps { margin-top: 38px; }
  .section-heading h2, .system-copy h2, .pricing-copy h2, .faq-grid h2, .final-inner h2 { font-size: 37px; }
  .template-meta h3 { font-size: 20px; }
  .visual-stack { min-height: 660px; grid-template-columns: 1fr; padding-top: 26px; }
  .visual-stack::before { top: 12%; bottom: 12%; left: 50%; right: auto; border-top: 0; border-left: 1px dashed #a2a19c; }
  .system-panel { width: 86%; }
  .components-panel { margin-left: auto; }
  .feature-card { min-height: 310px; padding: 26px; }
  .feature-card h3 { margin-top: 38px; font-size: 23px; }
  .feature-large { padding-bottom: 328px; }
  .prompt-demo { left: 22px; right: 22px; bottom: 22px; }
  .pricing-cards article { padding: 28px; }
  .price b { font-size: 32px; }
  .faq button { min-height: 76px; font-size: 16px; }
  .final-cta { padding: 105px 0; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-site-card, .hero-site-card img { animation: none; transition: none; }
  .niche-prompt-placeholder-cursor { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Template category page */
.template-category-page { overflow-x: clip; background: var(--paper); }
.template-category-page .template-cover-inner,
.template-category-page .template-catalog > .shell { width: calc(100% - clamp(28px, 4vw, 80px)); max-width: none; }
.template-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease, backdrop-filter .3s ease;
}
.template-site-header .brand img { filter: brightness(0) invert(1); transition: filter .3s ease; }
.template-site-header .main-nav a,
.template-site-header .login { color: #fff; }
.template-site-header .button { background: #fff; border-color: #fff; color: var(--ink); }
.template-site-header .menu-button { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }
.template-site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255,255,255,.9);
  border-bottom-color: transparent;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  backdrop-filter: blur(8px);
}
.template-site-header.is-scrolled .brand img { filter: none; }
.template-site-header.is-scrolled .main-nav a,
.template-site-header.is-scrolled .login { color: #343431; }
.template-site-header.is-scrolled .button { background: var(--ink); border-color: var(--ink); color: #fff; }
.template-site-header.is-scrolled .menu-button { color: var(--ink); background: #fff; border-color: var(--line); }

.template-cover { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #17130f; }
.template-cover-image { position: absolute; inset: -12px; background: url("images/categories/food.webp") center 47% / cover no-repeat; filter: blur(5px); transform: scale(1.025); }
.template-cover-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,6,.83) 0%, rgba(7,7,6,.64) 52%, rgba(7,7,6,.44) 100%); backdrop-filter: blur(2px); }
.template-cover-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 120px; padding-bottom: 100px; text-align: center; }
.template-breadcrumbs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-bottom: 44px; color: rgba(255,255,255,.67); font-size: 14px; font-weight: 650; }
.template-breadcrumbs a { transition: color .2s ease; }
.template-breadcrumbs a:hover { color: #fff; }
.template-cover-kicker {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.template-cover h1 {
  max-width: 1040px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -.03em;
}
.template-hero-tail { display: inline; }
.template-cover-lead { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.template-cover-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 650; }
.template-cover-meta span { position: relative; padding-left: 17px; }
.template-cover-meta span::before { content: ""; position: absolute; top: .55em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.template-type-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.template-type-tabs button { min-height: 48px; padding: 0 22px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; background: rgba(255,255,255,.06); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.template-type-tabs button:hover,
.template-type-tabs button.active { color: var(--ink); background: #fff; border-color: #fff; }

.template-catalog { padding: 72px 0 130px; background: var(--paper); }
.template-catalog-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 80px; align-items: end; margin-bottom: 72px; }
.template-catalog-heading .kicker { margin: 0 0 18px; }
.template-catalog-heading h2 { max-width: 850px; margin: 0; font-family: var(--display); font-size: clamp(40px, 4.7vw, 64px); font-weight: 540; line-height: 1.01; letter-spacing: -.03em; }
.template-catalog-heading > p { margin: 0 0 5px; color: #6d6d67; font-size: 17px; line-height: 1.65; }
.template-catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.template-category-nav { position: sticky; top: 112px; display: grid; gap: 5px; }
.template-category-nav > p {
  margin: 0 0 14px;
  color: #777770;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.template-category-nav a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 0 14px; border-radius: 10px; color: #55554f; font-size: 14px; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.template-category-nav a span { color: #9a9a94; font-size: 14px; }
.template-category-nav a:hover { color: var(--ink); background: rgba(17,17,17,.045); }
.template-category-nav a.active { color: #fff; background: var(--ink); }
.template-category-nav a.active span { color: #c8c8c3; }
.template-results { min-width: 0; }
.template-catalog-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 24px; color: #8a8a84; font-size: 14px; font-weight: 650; }
.template-catalog-breadcrumbs a { transition: color .2s ease; }
.template-catalog-breadcrumbs a:hover { color: var(--ink); }
.template-catalog-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.template-catalog-tabs button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: #4e4e49; background: transparent; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.template-catalog-tabs button:hover,
.template-catalog-tabs button.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.template-results-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.template-results-top p { margin: 0; color: #71716b; font-size: 14px; }
.template-results-top p strong { color: var(--ink); }
.template-results-top button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: #55554f; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ready-template-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.ready-template-card { position: relative; min-width: 0; overflow: visible; display: flex; flex-direction: column; border-radius: 16px; background: #fff; transition: transform .25s ease, box-shadow .3s ease; transform-style: preserve-3d; backface-visibility: hidden; box-shadow: none; border: 0; }
.ready-template-card:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0,0,0,.2); }
.ready-template-card-link { position: absolute; z-index: 4; inset: 0; border-radius: inherit; }
.ready-template-card-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.ready-template-preview { position: relative; aspect-ratio: 1 / 1; border-radius: 16px 16px 0 0; background: #14110e; }
.ready-template-desktop { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.ready-template-mobile { position: absolute; z-index: 2; right: -8px; bottom: -14px; width: 35%; max-width: none; aspect-ratio: 9 / 16; border: 3px solid #fff; border-radius: 14px; object-fit: cover; box-shadow: 0 9px 24px rgba(0,0,0,.24); }
.ready-template-body { min-height: 104px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 18px 18px; }
.ready-template-body p { margin: 0 0 7px; color: #777770; font-size: 14px; line-height: 1.45; }
.ready-template-body h3 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.ready-template-id { flex: none; padding-top: 2px; color: #9a9a94; font-size: 14px; }
.ready-template-actions { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; padding: 0 18px 18px; pointer-events: none; }
.ready-template-actions a { pointer-events: auto; }
.ready-template-actions .button { min-height: 44px; padding-inline: 14px; border-radius: 9px; font-size: 14px; }
.ready-template-demo { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 9px; font-size: 14px; font-weight: 750; transition: background-color .2s ease, color .2s ease; }
.ready-template-demo:hover { color: #fff; background: var(--ink); }
.template-category-page .footer-bottom { font-size: 14px; }

@media (min-width: 1650px) {
  .ready-template-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .template-catalog-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 1050px) {
  .ready-template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .template-site-header .main-nav.open { color: #fff; background: rgba(16,16,15,.9); border-color: rgba(255,255,255,.18); backdrop-filter: blur(14px); }
  .template-site-header .main-nav.open a { color: #fff; }
  .template-site-header.is-scrolled .main-nav.open { background: #fff; border-color: var(--line); }
  .template-site-header.is-scrolled .main-nav.open a { color: var(--ink); }
  .template-cover { min-height: 500px; }
  .template-cover-inner { padding-top: 108px; padding-bottom: 42px; }
  .template-breadcrumbs { margin-bottom: 38px; }
  .template-cover h1 { font-size: clamp(36px, 7vw, 50px); }
  .template-catalog { padding: 84px 0 100px; }
  .template-catalog-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 52px; }
  .template-catalog-heading > p { max-width: 660px; }
  .template-catalog-layout { grid-template-columns: 1fr; }
  .ready-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-category-nav { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .template-category-nav::-webkit-scrollbar { display: none; }
  .template-category-nav > p { display: none; }
  .template-category-nav a { flex: none; min-height: 42px; padding-inline: 13px; border: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .template-site-header .header-inner { height: 72px; }
  .template-site-header .main-nav.open { top: 72px; }
  .template-cover { min-height: 460px; }
  .template-cover-image { background-position: 58% center; }
  .template-cover-shade { background: rgba(7,7,6,.68); }
  .template-cover-inner { padding-top: 92px; padding-bottom: 90px; }
  .template-breadcrumbs { margin-bottom: 30px; font-size: 14px; }
  .template-cover-kicker { font-size: 14px; }
  .template-cover h1 { font-size: clamp(32px, 8vw, 40px); }
  .template-hero-tail { display: block; margin-top: .08em; font-size: .72em; }
  .template-cover-lead { margin-top: 22px; font-size: 16px; line-height: 1.55; }
  .template-cover-meta { gap: 9px 17px; margin-top: 24px; font-size: 14px; }
  .template-type-tabs { margin-top: 30px; gap: 7px; }
  .template-type-tabs button { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .template-catalog { padding: 66px 0 78px; }
  .template-catalog-heading { margin-bottom: 38px; }
  .template-catalog-heading h2 { font-size: 39px; }
  .template-catalog-heading > p { font-size: 15px; }
  .template-results-top { margin-bottom: 16px; }
  .ready-template-grid { grid-template-columns: 1fr; gap: 20px; }
  .ready-template-preview { aspect-ratio: 1 / 1; }
  .ready-template-mobile { right: 8px; bottom: -12px; width: 31%; }
  .ready-template-body { min-height: 96px; }
}

/* Template detail page */
.template-detail-page { overflow-x: clip; background: #fff; }
.template-detail-page .site-header { background: rgba(255,255,255,.92); }
.detail-hero { padding: 54px 0 52px; background: var(--paper); border-bottom: 1px solid var(--line); }
.detail-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 38px;
  color: #85857f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}
.detail-breadcrumbs a { transition: color .2s ease; }
.detail-breadcrumbs a:hover { color: var(--ink); }
.detail-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; align-items: end; }
.detail-heading h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(39px, 4.3vw, 52px);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.detail-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.detail-product { padding: 72px 0 118px; background: #fff; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 38px; align-items: start; }
.detail-main { min-width: 0; }
.detail-preview { position: relative; min-height: 650px; padding: 0 0 42px; overflow: hidden; border: 1px solid #cbc9c2; border-radius: 22px; background: #eeece5; box-shadow: 0 28px 70px rgba(17,17,17,.1); }
.detail-browser-bar { height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
.detail-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #b9b8b2; }
.detail-browser-bar b { margin-left: 11px; color: #777770; font-size: 12px; font-weight: 700; }
.detail-desktop-frame { height: 640px; overflow: hidden; background: #17130f; }
.detail-desktop-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.detail-mobile-frame { position: absolute; z-index: 2; right: 34px; bottom: 24px; width: 31%; max-width: 280px; aspect-ratio: 9 / 16; overflow: hidden; border: 7px solid #fff; border-radius: 27px; background: #17130f; box-shadow: 0 24px 55px rgba(0,0,0,.3); }
.detail-mobile-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.detail-phone-bar { position: absolute; z-index: 3; top: 8px; left: 50%; width: 34%; height: 14px; transform: translateX(-50%); display: grid; place-items: center; border-radius: 999px; background: #111; }
.detail-phone-bar span { width: 4px; height: 4px; border-radius: 50%; background: #464646; }
.detail-price-card-mobile { display: none; }
.detail-description { max-width: 900px; margin-top: 78px; }
.detail-description > h2, .detail-pages h2 { margin: 16px 0 0; font-family: var(--display); font-size: clamp(36px, 4vw, 54px); font-weight: 540; line-height: 1.05; letter-spacing: -.03em; }
.detail-lead { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.detail-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.detail-feature-grid article { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.detail-feature-grid svg { width: 26px; height: 26px; }
.detail-feature-grid h3 { margin: 40px 0 10px; font-size: 18px; line-height: 1.25; }
.detail-feature-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.detail-pages { display: grid; grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr); gap: 54px; margin-top: 88px; padding-top: 72px; border-top: 1px solid var(--line); }
.detail-pages ul { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.detail-pages li { min-height: 56px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.detail-pages li span { color: #989892; font-size: 13px; font-weight: 800; }
.detail-sidebar { position: sticky; top: 110px; display: grid; gap: 14px; }
.detail-price-card, .detail-sidebar-section, .detail-help { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.detail-price-card { background: #fff; box-shadow: 0 18px 50px rgba(17,17,17,.1); }
.detail-price-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #74746e; font-size: 14px; font-weight: 500; }
.detail-price-top > span:last-child { color: #9a9a94; }
.detail-site-badge { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border-radius: 999px; color: #60605a; background: #e7e7e3; font-size: 14px; font-weight: 600; line-height: 1; }
.detail-site-badge.is-free { color: #07883a; background: #d9ffe4; }
.detail-site-badge.is-premium { color: #2b2000; background: #ffe074; }
.detail-site-badge svg { flex: none; display: block; width: 16px; height: 16px; }
.detail-price { margin: 28px 0 16px; }
.detail-price del { display: block; color: #969690; font-size: 16px; }
.detail-price strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 44px; font-weight: 590; letter-spacing: -.055em; }
.detail-price-note { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.detail-price-card.type-free .detail-price-note { margin-top: 24px; }
.detail-sidebar-title { margin: 28px 0 18px; font-family: var(--display); font-size: 28px; font-weight: 590; line-height: 1.14; letter-spacing: -.035em; }
.detail-sidebar-copy { margin: 0 0 28px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.detail-order { width: 100%; padding-inline: 16px; }
.detail-demo-link {
  min-height: 54px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 600;
  transition: color .2s ease, background-color .2s ease;
}
.detail-demo-link:hover { color: #fff; background: var(--ink); }
.detail-trial { margin: 20px 0 0; color: #85857f; font-size: 14px; text-align: center; }
.detail-sidebar-section h2 { margin: 0 0 18px; font-size: 17px; }
.detail-capabilities { background: #fff; }
.detail-capabilities h2 { white-space: nowrap; }
.detail-sidebar-section > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.detail-included { display: grid; gap: 17px; padding: 0; margin: 0; list-style: none; }
.detail-included li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.detail-included li span { flex: none; width: 20px; height: 20px; display: grid; place-items: center; color: var(--ink); }
.detail-included li span svg { display: block; width: 20px; height: 20px; }
.detail-payment-methods { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-payment-methods span { min-height: 34px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid #cfcec7; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 850; }
.detail-help { display: flex; align-items: flex-start; gap: 13px; }
.detail-help-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-weight: 850; }
.detail-help b { font-size: 14px; }
.detail-help p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.template-detail-page .footer-bottom { font-size: 14px; }

/* Shared scroll-to-top control */
.scroll-to-top {
  position: fixed;
  z-index: 599;
  left: 30px;
  bottom: 50px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(17,17,17,.16);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: background-color .2s linear, opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.scroll-to-top:hover { background: #5e5e58; }
.scroll-to-top:active { transform: translateY(2px); }
.scroll-to-top:focus-visible { outline: 3px solid rgba(17,17,17,.24); outline-offset: 3px; }
.scroll-to-top svg { display: block; }

@media (max-width: 680px) {
  .scroll-to-top { left: 18px; bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-to-top { transition-duration: .01ms; }
}

@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; }
  .detail-preview { min-height: 560px; }
  .detail-desktop-frame { height: 550px; }
  .detail-price-card, .detail-sidebar-section, .detail-help { padding: 22px; }
  .detail-capabilities h2 { white-space: normal; }
}

@media (max-width: 900px) {
  .detail-heading { grid-template-columns: 1fr; gap: 24px; }
  .detail-heading > p { max-width: 680px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-main { grid-row: 1; }
  .detail-price-card-mobile { display: block; margin-top: 24px; }
  .detail-description { margin-top: 62px; }
  .detail-sidebar { position: static; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
  .detail-sidebar > .detail-price-card { grid-row: span 2; }
  .detail-help { grid-column: 2; }
}

@media (max-width: 680px) {
  .detail-hero { padding: 36px 0 38px; }
  .detail-breadcrumbs { margin-bottom: 28px; }
  .detail-heading > p { font-size: 15px; }
  .detail-product { padding: 42px 0 76px; }
  .detail-sidebar { grid-template-columns: 1fr; }
  .detail-price-card, .detail-help { grid-row: auto; grid-column: auto; }
  .detail-preview { min-height: 430px; border-radius: 16px; }
  .detail-browser-bar { height: 42px; padding-inline: 14px; }
  .detail-browser-bar b { display: none; }
  .detail-desktop-frame { height: 420px; }
  .detail-mobile-frame { right: 15px; bottom: 14px; width: 36%; border-width: 4px; border-radius: 18px; }
  .detail-price-card-mobile { margin-top: 18px; }
  .detail-description { margin-top: 54px; }
  .detail-description > h2, .detail-pages h2 { font-size: 36px; }
  .detail-lead { font-size: 16px; }
  .detail-feature-grid { grid-template-columns: 1fr; }
  .detail-feature-grid article { min-height: 190px; }
  .detail-feature-grid h3 { margin-top: 32px; }
  .detail-pages { grid-template-columns: 1fr; gap: 30px; margin-top: 62px; padding-top: 54px; }
}

/* Alternative template detail page */
.template-detail-v2-page { background: #fff; }
.detail2-hero { padding: 54px 0 52px; border-bottom: 1px solid var(--line); background: var(--paper); }
.detail2-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; align-items: end; }
.detail2-heading .kicker { margin: 0 0 18px; }
.detail2-heading h1 { max-width: 880px; margin: 0; font-family: var(--display); font-size: clamp(39px, 4.3vw, 52px); font-weight: 560; line-height: 1.02; letter-spacing: -.03em; }
.detail2-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.detail2-product { padding: 72px 0 118px; background: #fff; }
.detail2-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px 38px; align-items: start; }
.detail2-preview-wrap { min-width: 0; grid-column: 1; grid-row: 1; }
.detail2-sidebar { position: sticky; top: 104px; grid-column: 2; grid-row: 1 / span 3; display: grid; gap: 14px; }
.detail2-package-selector, .detail2-sidebar-note, .detail2-sidebar-payments { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.detail2-package-selector { overflow: hidden; box-shadow: 0 18px 50px rgba(17,17,17,.1); }
.detail2-package-selector > .kicker { margin: 0; padding: 25px 24px 8px; }
.detail2-package-selector > h2 { margin: 0; padding: 0 24px 23px; font-size: 22px; letter-spacing: -.03em; }
.detail2-package-list { border-top: 1px solid var(--line); }
.detail2-package-option + .detail2-package-option { border-top: 1px solid var(--line); }
.detail2-package-toggle { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; border: 0; color: var(--ink); background: #fff; text-align: left; cursor: pointer; transition: background-color .2s ease; }
.detail2-package-toggle:hover { background: #f6f6f2; }
.detail2-package-toggle > span { min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.detail2-package-toggle strong { font-family: var(--display); font-size: 22px; font-weight: 570; letter-spacing: -.045em; }
.detail2-package-toggle b { font-size: 15px; }
.detail2-package-toggle svg { flex: none; transition: transform .25s ease; }
.detail2-package-option.is-active .detail2-package-toggle { background: var(--paper); }
.detail2-package-option.is-active .detail2-package-toggle svg { transform: rotate(180deg); }
.detail2-package-option[data-package="premium"] .detail2-package-toggle strong { color: #9a7000; }
.detail2-package-option[data-package="start"] .detail2-package-toggle strong { color: #07883a; }
.detail2-package-panel { padding: 4px 20px 20px; background: var(--paper); }
.detail2-package-panel > p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.detail2-package-time { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; font-size: 14px; font-weight: 750; }
.detail2-package-time svg { flex: none; }
.detail2-package-panel ul { display: grid; gap: 11px; padding: 0; margin: 0 0 21px; list-style: none; }
.detail2-package-panel li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.4; }
.detail2-package-panel li span { flex: none; color: #07883a; font-weight: 900; }
.detail2-order { width: 100%; min-height: 54px; padding-inline: 14px; font-size: 14px; }
.detail2-demo { min-height: 48px; display: flex; align-items: center; justify-content: center; margin-top: 8px; border: 1px solid var(--ink); border-radius: 11px; background: #fff; font-size: 14px; font-weight: 750; transition: color .2s ease, background-color .2s ease; }
.detail2-demo:hover { color: #fff; background: var(--ink); }
.detail2-sidebar-note { display: flex; align-items: flex-start; gap: 13px; padding: 21px; background: var(--paper); }
.detail2-sidebar-note-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); }
.detail2-sidebar-note b { font-size: 14px; }
.detail2-sidebar-note p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.detail2-sidebar-payments { padding: 22px; background: var(--paper); }
.detail2-sidebar-payments h2 { margin: 0 0 13px; font-size: 17px; }
.detail2-sidebar-payments > p { margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.detail2-comparison { min-width: 0; grid-column: 1; grid-row: 2; padding-top: 8px; }
.detail2-comparison > .kicker { margin: 0 0 15px; }
.detail2-comparison-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); gap: 40px; align-items: end; margin-bottom: 31px; }
.detail2-comparison-heading h2, .detail2-description-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4vw, 54px); font-weight: 540; line-height: 1.05; letter-spacing: -.03em; }
.detail2-comparison-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.detail2-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; scrollbar-width: thin; }
.detail2-table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.detail2-table th, .detail2-table td { height: 58px; padding: 12px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; transition: background-color .2s ease; }
.detail2-table tr > :last-child { border-right: 0; }
.detail2-table tfoot tr:last-child > * { border-bottom: 0; }
.detail2-table th:first-child { width: 28%; text-align: left; }
.detail2-table thead th { height: 88px; background: var(--paper); }
.detail2-table thead th b, .detail2-table thead th span { display: block; }
.detail2-table thead th b { margin-bottom: 6px; font-size: 16px; }
.detail2-table thead th span { color: var(--muted); font-weight: 650; }
.detail2-table [data-package-column].is-active { background: #f3f3ed; }
.detail2-table thead [data-package-column].is-active { box-shadow: inset 0 3px 0 var(--ink); }
.detail2-check { width: 25px; height: 25px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: #07883a; font-size: 13px; font-weight: 900; }
.detail2-table tfoot td { padding: 10px; }
.detail2-table tfoot button { width: 100%; min-height: 42px; border: 1px solid var(--ink); border-radius: 9px; color: var(--ink); background: #fff; font-weight: 800; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.detail2-table tfoot [data-package-column].is-active button, .detail2-table tfoot button:hover { color: #fff; background: var(--ink); }
.detail2-description { min-width: 0; grid-column: 1; grid-row: 3; padding-top: 12px; }
.detail2-description-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 46px; align-items: end; }
.detail2-description-heading .kicker { margin: 0 0 15px; }
.detail2-description-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.detail2-description .detail-feature-grid { margin-top: 42px; }

@media (max-width: 1100px) {
  .detail2-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 52px 26px; }
  .detail2-package-toggle { padding-inline: 17px; }
  .detail2-package-toggle > span { display: grid; gap: 2px; }
  .detail2-package-panel { padding-inline: 17px; }
}

@media (max-width: 900px) {
  .detail2-heading { grid-template-columns: 1fr; gap: 24px; }
  .detail2-heading > p { max-width: 680px; }
  .detail2-layout { grid-template-columns: 1fr; gap: 46px; }
  .detail2-preview-wrap { grid-column: 1; grid-row: 1; }
  .detail2-sidebar { position: static; grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); align-items: start; }
  .detail2-package-selector { grid-row: span 2; }
  .detail2-comparison { grid-column: 1; grid-row: 3; }
  .detail2-description { grid-column: 1; grid-row: 4; }
  .detail2-comparison-heading, .detail2-description-heading { grid-template-columns: 1fr; gap: 22px; }
  .detail2-description-heading > p { max-width: 720px; }
}

@media (max-width: 680px) {
  .detail2-hero { padding: 36px 0 38px; }
  .detail2-heading > p { font-size: 15px; }
  .detail2-product { padding: 42px 0 76px; }
  .detail2-layout { gap: 38px; }
  .detail2-sidebar { grid-template-columns: 1fr; }
  .detail2-package-selector { grid-row: auto; }
  .detail2-comparison-heading h2, .detail2-description-heading h2 { font-size: 36px; }
  .detail2-table-wrap { margin-right: calc(var(--side) * -1); border-radius: 14px 0 0 14px; }
  .detail2-table { min-width: 700px; }
  .detail2-description .detail-feature-grid { margin-top: 32px; }
}

/* Shared agent widget */
.gpt-widget-backdrop {
  position: fixed;
  z-index: 899;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.gpt-widget-backdrop.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.gpt-widget {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: 18px;
  width: min(420px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: width .12s cubic-bezier(.2,.75,.25,1), opacity .24s ease, transform .24s cubic-bezier(.2,.75,.25,1), visibility 0s linear .24s;
}
.gpt-widget.is-ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.gpt-widget.is-open { width: min(520px, calc(100vw - 32px)); }
.gpt-widget-bar {
  position: relative;
  z-index: 2;
  min-height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 9px 9px 9px 15px;
  border: 1px solid #d4d3ce;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 36px rgba(17,17,17,.2);
  backdrop-filter: blur(16px);
  transition: border-color .12s ease, box-shadow .14s ease, border-radius .07s ease;
}
.gpt-widget-bar.is-multiline { align-items: flex-end; padding-top: 13px; border-radius: 23px; }
.gpt-widget.is-open .gpt-widget-bar { border-color: #bcbab3; box-shadow: 0 13px 42px rgba(17,17,17,.24); }
.gpt-widget-bar textarea {
  min-width: 0;
  min-height: 44px;
  max-height: 204px;
  flex: 1;
  padding: 10px 3px 7px;
  border: 0;
  outline: 0;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
}
.gpt-widget-bar textarea::-webkit-scrollbar { display: none; }
.gpt-widget:not(.is-open) .gpt-widget-bar:not(.is-multiline) textarea { overflow-y: hidden; white-space: nowrap; }
.gpt-widget-bar.is-scrollable textarea { scrollbar-width: thin; scrollbar-color: #a7a7a1 transparent; }
.gpt-widget-bar.is-scrollable textarea::-webkit-scrollbar { display: block; width: 5px; }
.gpt-widget-bar.is-scrollable textarea::-webkit-scrollbar-thumb { border-radius: 999px; background: #a7a7a1; }
.gpt-widget-bar textarea::placeholder { color: #8f8f89; opacity: 1; }
.gpt-widget-mic, .gpt-widget-attach, .gpt-widget-send, .gpt-widget-close {
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}
.gpt-widget-send { width: 44px; height: 44px; margin-left: 8px; }
.gpt-widget-mic, .gpt-widget-attach {
  width: 0;
  height: 40px;
  margin: 4px 0;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: width .1s ease, opacity .08s ease, transform .1s ease, background-color .12s ease, visibility 0s linear .1s;
}
.gpt-widget.is-open .gpt-widget-mic, .gpt-widget.is-open .gpt-widget-attach {
  width: 40px;
  margin-left: 4px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}
.gpt-widget-mic:hover, .gpt-widget-attach:hover { background: #f0f0ec; }
.gpt-widget-send { border: 1px solid var(--ink); color: #fff; background: var(--ink); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.gpt-widget-send:hover, .gpt-widget-bar.has-value .gpt-widget-send { border-color: #5e5e58; background: #5e5e58; }
.gpt-widget-send:active { transform: translateY(1px); }
.gpt-widget-dialog {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: 100%;
  height: 520px;
  max-height: calc(100dvh - var(--gpt-bar-height, 64px) - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(155deg, rgba(44,43,41,.97), rgba(94,93,89,.94));
  box-shadow: 0 24px 70px rgba(17,17,17,.32);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(.975);
  transform-origin: bottom center;
  transition: opacity .28s ease, transform .42s cubic-bezier(.2,.78,.25,1), visibility 0s linear .42s;
}
.gpt-widget.is-open .gpt-widget-dialog {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.gpt-widget-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
}
.gpt-widget-mark, .gpt-widget-avatar { flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.gpt-widget-mark { width: 44px; height: 44px; }
.gpt-widget-mark img, .gpt-widget-avatar img { width: 24px; height: 24px; }
.gpt-widget-header > div { min-width: 0; display: grid; gap: 3px; }
.gpt-widget-header b { font-size: 16px; }
.gpt-widget-header span { overflow: hidden; color: rgba(255,255,255,.68); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.gpt-widget-close { width: 42px; height: 42px; margin-left: auto; border: 1px solid rgba(255,255,255,.15); color: #fff; background: rgba(255,255,255,.06); transition: background-color .2s ease, transform .25s ease; }
.gpt-widget-close:hover { background: rgba(255,255,255,.14); }
.gpt-widget.is-open .gpt-widget-close svg { transform: none; }
.gpt-widget-conversation { min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 22px 18px 20px; overflow-y: auto; }
.gpt-widget-agent-row { display: flex; align-items: flex-start; gap: 11px; }
.gpt-widget-avatar { width: 38px; height: 38px; border-radius: 9px; }
.gpt-widget-avatar img { width: 21px; height: 21px; }
.gpt-widget-message { max-width: 82%; padding: 14px 16px; border-radius: 5px 17px 17px 17px; background: rgba(255,255,255,.12); }
.gpt-widget-message b { display: block; margin-bottom: 5px; font-size: 14px; }
.gpt-widget-message p { margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.55; }
.gpt-widget-empty-state { max-width: 270px; display: grid; justify-items: center; gap: 11px; margin: auto; color: rgba(255,255,255,.42); text-align: center; }
.gpt-widget-empty-state p { margin: 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 560px) {
  .gpt-widget { bottom: 8px; width: calc(100vw - 40px); }
  .gpt-widget.is-open { width: calc(100vw - 20px); }
  .gpt-widget-bar { min-height: 56px; padding: 7px 7px 7px 13px; border-radius: 999px; }
  .gpt-widget-bar.is-multiline { padding-top: 11px; border-radius: 20px; }
  .gpt-widget-bar textarea { min-height: 40px; max-height: 178px; padding: 9px 3px 6px; font-size: 14px; line-height: 1.45; }
  .gpt-widget-send { width: 40px; height: 40px; margin-left: 6px; }
  .gpt-widget-mic, .gpt-widget-attach { height: 36px; margin-block: 3px; }
  .gpt-widget.is-open .gpt-widget-mic, .gpt-widget.is-open .gpt-widget-attach { width: 36px; }
  .gpt-widget-dialog { height: 520px; max-height: calc(100dvh - var(--gpt-bar-height, 56px) - 32px); border-radius: 22px; }
  .gpt-widget-header { min-height: 70px; padding: 12px 13px; }
  .gpt-widget-mark { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .gpt-widget, .gpt-widget-dialog { transition-duration: .01ms; }
}
