﻿@import url("../fonts/space-grotesk.css");

:root {
  --brand: #ff6a2a;
  --brand-dark: #e94b1f;
  --brand-soft: #fff0e8;
  --brand-tint: #ffe6d8;
  --amber: #ffb000;
  --yellow: #ffe45c;
  --bg: #fff8f4;
  --surface: #fff;
  --surface-soft: #fffdfb;
  --surface-strong: #fff4ee;
  --text: #1f1f1f;
  --body: #333;
  --muted: #6f6a66;
  --weak: #9a928d;
  --line: #f0ddd3;
  --line-strong: #ffc7ad;
  --page-bg: radial-gradient(circle at 20% 0, #fff0e8 0, #fff8f4 34%, #fffdfb 100%);
  --header-bg: rgba(255, 248, 244, .78);
  --soft-section-bg: linear-gradient(180deg, rgba(255, 240, 232, .6), rgba(255, 253, 251, .4));
  --table-wrap-bg: rgba(255, 255, 255, .78);
  --table-head-bg: linear-gradient(135deg, #fff4ee, #fff8e1);
  --table-hover-bg: #fffdfb;
  --control-bg: #fff;
  --field-bg: #fff;
  --badge-bg: #fff4d6;
  --badge-text: #a16207;
  --status-no-bg: #f4f0ed;
  --input-line: #e8d8cf;
  --card-shadow: 0 14px 30px rgba(138, 90, 64, .08);
  --shadow: 0 22px 56px rgba(138, 90, 64, .14);
  --radius: 22px;
  --visual-border: rgba(255, 199, 173, .55);
  --visual-bg: radial-gradient(circle at 50% 48%, rgba(255, 106, 42, .16), transparent 34%), linear-gradient(160deg, #fff, #fff4ee 74%);
  --visual-shadow: 0 26px 70px rgba(138, 90, 64, .16);
  --visual-orb: rgba(255, 106, 42, .16);
  --showcase-bg: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 247, 241, .96));
  --showcase-border: rgba(255, 199, 173, .72);
  --showcase-shadow: 0 26px 68px rgba(138, 90, 64, .18);
  --showcase-line: rgba(240, 221, 211, .88);
  --showcase-title: rgba(31, 31, 31, .58);
  --showcase-muted: rgba(31, 31, 31, .5);
  --showcase-text: var(--text);
  --showcase-tile: rgba(255, 106, 42, .1);
  --showcase-tile-border: rgba(255, 199, 173, .62);
  --float-bg: rgba(255, 255, 255, .9);
  --float-border: rgba(255, 199, 173, .72);
  --float-shadow: 0 20px 42px rgba(138, 90, 64, .18);
  --float-label: var(--muted);
  --float-value: var(--text);
  --ring-one: rgba(255, 106, 42, .18);
  --ring-two: rgba(255, 176, 0, .22);
  --header-height: 68px;
  --anchor-offset: calc(var(--header-height) + 24px);
}

body.theme-dark {
  --brand-dark: #ff8a55;
  --brand-soft: rgba(255, 106, 42, .16);
  --brand-tint: rgba(255, 106, 42, .22);
  --bg: #0d0c0b;
  --surface: #171513;
  --surface-soft: #1f1b18;
  --surface-strong: #261f1a;
  --text: #fff8f3;
  --body: #eaded7;
  --muted: #d1c5bd;
  --weak: #aa9c94;
  --line: #342c27;
  --line-strong: rgba(255, 138, 85, .48);
  --page-bg: linear-gradient(115deg, #181411 0%, #11100f 46%, #070707 100%);
  --header-bg: rgba(13, 12, 11, .82);
  --soft-section-bg: linear-gradient(180deg, rgba(255, 106, 42, .1), rgba(255, 255, 255, .03));
  --table-wrap-bg: #171513;
  --table-head-bg: linear-gradient(135deg, rgba(255, 106, 42, .18), rgba(255, 176, 0, .1));
  --table-hover-bg: rgba(255, 255, 255, .04);
  --control-bg: #201c19;
  --field-bg: #11100f;
  --badge-bg: rgba(255, 176, 0, .14);
  --badge-text: #ffd37a;
  --status-no-bg: #2a2522;
  --input-line: #3a312c;
  --card-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  --shadow: 0 22px 56px rgba(0, 0, 0, .34);
  --visual-border: rgba(255, 199, 173, .28);
  --visual-bg: radial-gradient(circle at 50% 48%, rgba(255, 106, 42, .16), transparent 34%), linear-gradient(160deg, #141211, #070908 74%);
  --visual-shadow: 0 26px 70px rgba(82, 44, 26, .22);
  --visual-orb: rgba(255, 106, 42, .18);
  --showcase-bg: linear-gradient(145deg, rgba(35, 32, 30, .96), rgba(16, 17, 16, .96));
  --showcase-border: rgba(255, 255, 255, .09);
  --showcase-shadow: 0 26px 68px rgba(0, 0, 0, .36);
  --showcase-line: rgba(255, 255, 255, .08);
  --showcase-title: rgba(255, 255, 255, .58);
  --showcase-muted: rgba(255, 255, 255, .46);
  --showcase-text: #fff;
  --showcase-tile: rgba(255, 255, 255, .12);
  --showcase-tile-border: rgba(255, 255, 255, .08);
  --float-bg: rgba(27, 25, 24, .9);
  --float-border: rgba(255, 255, 255, .1);
  --float-shadow: 0 20px 42px rgba(0, 0, 0, .28);
  --float-label: rgba(255, 255, 255, .52);
  --float-value: #fff;
  --ring-one: rgba(255, 106, 42, .18);
  --ring-two: rgba(255, 176, 0, .18);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}
body {
  margin: 0;
  background: var(--page-bg);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--body);
  line-height: 1.6;
}

body.theme-dark {
  background: var(--page-bg);
  color: var(--body);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad { padding: 80px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.brand img { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--control-bg);
  color: var(--muted);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--brand-dark);
}

.theme-toggle-icon {
  font-size: 21px;
  font-variation-settings: "FILL" 1;
  line-height: 1;
}

.lang-links {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: var(--control-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-links a,
.lang-links span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lang-links span {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.lang-links a:hover {
  color: var(--brand-dark);
}

.locale-prompt {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 31, 31, .34);
  backdrop-filter: blur(8px);
}

.locale-prompt-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.locale-prompt-card h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.2;
}

.locale-prompt-card p {
  margin: 0;
  color: var(--muted);
}

.locale-prompt-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.locale-prompt-actions .btn {
  flex: 1;
  justify-content: center;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--control-bg);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: .18s ease;
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 106, 42, .22);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--control-bg);
  border-color: var(--line-strong);
  color: var(--brand-dark);
}

.btn-secondary:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.hero { padding-top: 76px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--brand), var(--amber));
}

.hero h1 {
  margin: 18px 0 18px;
  color: var(--text);
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
}

.hero-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 14px;
}

.hero-note {
  color: var(--weak);
  font-size: 14px;
}

body.theme-dark .hero-lead,
body.theme-dark .hero-note,
body.theme-dark .logos {
  color: var(--muted);
}

body.theme-dark .logos b {
  color: var(--text);
}

.product-stage {
  position: relative;
  height: 500px;
  border-radius: 34px;
}

.product-stage:before {
  content: "";
  display: none;
  position: absolute;
  inset: auto auto -120px -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--visual-orb), transparent 66%);
}

.floating-window {
  position: absolute;
  background: var(--control-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 106, 42, .18);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 400px;
  height: 400px;
}

.ring-two {
  width: 520px;
  height: 520px;
  border-style: dashed;
  border-color: rgba(255, 176, 0, .24);
}

.drawing-card {
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 310px;
  height: 240px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, #fff7f1);
  transform: translate(-50%, -50%);
  animation: floatCenter 7s ease-in-out infinite;
}

.drawing-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}

.drawing-top strong {
  margin-left: 6px;
  color: var(--muted);
  font-size: 14px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
}

.window-dot.red { background: #ff6a52; }
.window-dot.amber { background: #ffbd35; }
.window-dot.green { background: #38c96f; }

.canvas-area {
  position: relative;
  height: calc(100% - 48px);
  background:
    linear-gradient(rgba(255, 199, 173, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 199, 173, .18) 1px, transparent 1px),
    #fffdfb;
  background-size: 32px 32px;
}

.sketch-face {
  position: absolute;
  left: 70px;
  top: 36px;
  width: 100px;
  height: 118px;
  border: 4px solid rgba(255, 106, 42, .72);
  border-radius: 48% 52% 46% 54%;
}

.sketch-face:before,
.sketch-face:after {
  content: "";
  position: absolute;
  background: rgba(31, 31, 31, .58);
  border-radius: 99px;
}

.sketch-face:before {
  left: 28px;
  top: 38px;
  width: 9px;
  height: 9px;
  box-shadow: 34px 0 0 rgba(31, 31, 31, .58);
}

.sketch-face:after {
  left: 38px;
  top: 76px;
  width: 34px;
  height: 4px;
  background: rgba(255, 106, 42, .68);
}

.brush-stroke {
  position: absolute;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--amber));
  opacity: .78;
}

.stroke-one {
  right: 48px;
  top: 58px;
  width: 84px;
  transform: rotate(-10deg);
}

.stroke-two {
  right: 68px;
  top: 92px;
  width: 118px;
  background: linear-gradient(90deg, #ffe45c, #ff9d6b);
  transform: rotate(7deg);
}

.palette {
  position: absolute;
  right: 38px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255, 199, 173, .75);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
}

.palette span {
  width: 16px;
  height: 16px;
  border-radius: 99px;
}

.palette span:nth-child(1) { background: var(--brand); }
.palette span:nth-child(2) { background: var(--amber); }
.palette span:nth-child(3) { background: #1f1f1f; }

.reference-card {
  z-index: 3;
  width: 150px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

.reference-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ref-image {
  height: 96px;
  overflow: hidden;
  border-radius: 14px;
}

.portrait-ref {
  background:
    radial-gradient(circle at 52% 32%, #fff4d6 0 12%, transparent 13%),
    radial-gradient(circle at 50% 66%, rgba(31, 31, 31, .16) 0 17%, transparent 18%),
    linear-gradient(145deg, #ffcfba, #fff4d6);
}

.color-ref {
  background:
    radial-gradient(circle at 24% 32%, #ff6a2a 0 13%, transparent 14%),
    radial-gradient(circle at 64% 36%, #ffe45c 0 15%, transparent 16%),
    radial-gradient(circle at 43% 72%, #e94b1f 0 17%, transparent 18%),
    linear-gradient(145deg, #fffdfb, #ffe6d8);
}

.detail-ref {
  background:
    linear-gradient(135deg, transparent 42%, rgba(31, 31, 31, .18) 43% 49%, transparent 50%),
    linear-gradient(45deg, transparent 42%, rgba(255, 106, 42, .42) 43% 49%, transparent 50%),
    linear-gradient(145deg, #fff, #fff4d6);
}

.ref-one {
  left: 34px;
  top: 112px;
  animation: floatOne 6.5s ease-in-out infinite;
}

.ref-two {
  right: 34px;
  top: 72px;
  animation: floatTwo 7.5s ease-in-out infinite;
}

.ref-three {
  right: 72px;
  bottom: 56px;
  animation: floatThree 6.8s ease-in-out infinite;
}

@keyframes floatCenter {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 10px)); }
}

@keyframes floatOne {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}

@keyframes floatTwo {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 10px); }
}

@keyframes floatThree {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 8px); }
}

.hero-showcase {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 340px;
  height: 346px;
  transform: translate(-50%, -50%);
  animation: floatCenter 7s ease-in-out infinite;
}

.hero-showcase-glow {
  position: absolute;
  inset: -32px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(255, 106, 42, .3), transparent 68%);
  filter: blur(12px);
  opacity: .64;
}

.hero-showcase-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--showcase-border);
  border-radius: 24px;
  background: var(--showcase-bg);
  box-shadow: var(--showcase-shadow);
}

.hero-showcase-header {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--showcase-line);
}

.hero-showcase-dots {
  display: flex;
  gap: 8px;
}

.hero-showcase-dots span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
}

.hero-showcase-dots span:nth-child(1) { background: #ff6a52; }
.hero-showcase-dots span:nth-child(2) { background: #ffbd35; }
.hero-showcase-dots span:nth-child(3) { background: #38c96f; }

.hero-showcase-title {
  color: var(--showcase-title);
  font-size: 14px;
  font-weight: 800;
}

.hero-showcase-body {
  display: grid;
  height: calc(100% - 56px);
  padding: 24px;
}

.hero-showcase-metric {
  display: grid;
  align-content: start;
}

.hero-showcase-metric-label {
  color: var(--showcase-muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-showcase-metric-value {
  margin-top: 14px;
  color: var(--showcase-text);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
}

.hero-showcase-metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #ff9d6b;
  font-size: 13px;
  font-weight: 900;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, 44px);
  gap: 10px;
  margin-top: auto;
}

.hero-image-tile {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--showcase-tile-border);
  border-radius: 10px;
  background: var(--showcase-tile);
}

.tile-one {
  grid-column: 1 / span 4;
  grid-row: 1;
  background: linear-gradient(135deg, rgba(255, 106, 42, .78), rgba(255, 176, 0, .38));
}

.tile-two {
  grid-column: 3 / span 4;
  grid-row: 2;
  background: linear-gradient(135deg, rgba(255, 228, 92, .66), rgba(255, 157, 107, .34));
}

.hero-image-grid .tile-active {
  grid-column: 1 / span 3;
  grid-row: 2;
  border-color: rgba(255, 176, 0, .5);
  background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 106, 42, .54));
  box-shadow: 0 0 0 3px rgba(255, 106, 42, .14);
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 152px;
  padding: 14px 16px;
  border: 1px solid var(--float-border);
  border-radius: 16px;
  background: var(--float-bg);
  box-shadow: var(--float-shadow);
  backdrop-filter: blur(16px);
}

.hero-float-card-1 {
  right: 24px;
  top: 62px;
  animation: floatTwo 7.2s ease-in-out infinite;
}

.hero-float-card-2 {
  left: 24px;
  top: 226px;
  animation: floatOne 6.6s ease-in-out infinite;
}

.hero-float-card-3 {
  right: 44px;
  bottom: 48px;
  animation: floatThree 7s ease-in-out infinite;
}

.hero-float-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  color: #fff;
}

.hero-float-icon-purple {
  background: linear-gradient(135deg, #8b5cf6, var(--brand));
}

.hero-float-icon-green {
  background: linear-gradient(135deg, #10b981, var(--amber));
}

.hero-float-info {
  display: grid;
  gap: 2px;
}

.hero-float-label {
  color: var(--float-label);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.hero-float-value {
  color: var(--float-value);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-ring-1 {
  width: 400px;
  height: 400px;
  border: 1px solid var(--ring-one);
}

.hero-ring-2 {
  width: 520px;
  height: 520px;
  border: 1px dashed var(--ring-two);
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 22px 0;
  color: var(--muted);
}

.logos b { color: var(--text); }

.social-follow {
  display: grid;
  justify-items: center;
  gap: 12px;
  flex-basis: 100%;
  margin-top: 26px;
}

.social-follow-title {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--card-shadow);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--brand-soft);
}

.social-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 12px 0;
  color: var(--text);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.bento-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.bento-card.large {
  min-height: 230px;
}

.bento-card.wide,
.bento-card.large {
  grid-column: auto;
  grid-row: auto;
}

.bento-card h3 {
  margin: 16px 0 8px;
  color: var(--text);
  font-size: 21px;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--brand-soft);
}

.icon-wrap svg {
  width: 25px;
  height: 25px;
  fill: var(--brand);
}

.pro-card { background: linear-gradient(135deg, var(--surface), var(--brand-soft)); }

.pro-pill,
.card-badge {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 12px;
  font-weight: 900;
}

.soft-section {
  background: var(--soft-section-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 56px;
}

.step-card {
  position: relative;
  min-width: 0;
  text-align: center;
}

.step-card span {
  display: block;
  color: var(--brand);
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 900;
  line-height: .9;
}

.step-card h3 {
  margin: 18px 0 6px;
  color: var(--text);
  font-size: 23px;
}

.step-card p {
  max-width: 220px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.workflow-detail {
  display: grid;
  gap: 88px;
  margin-top: 88px;
}

.workflow-scene {
  display: grid;
  gap: 22px;
}

.workflow-scene-copy {
  max-width: 760px;
}

.home-page .workflow-scene-copy {
  margin: 0 auto;
  text-align: center;
}

.home-page .workflow-scene-copy .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.workflow-scene-copy h1 {
  margin: 12px 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.workflow-scene-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
  box-shadow: var(--card-shadow);
}

.workflow-scene-media img {
  width: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  background: var(--surface-soft);
}

.home-page .section-pad {
  padding: 112px 0;
}

.home-page .hero.section-pad {
  padding-top: 96px;
  padding-bottom: 124px;
}

.home-page .steps {
  gap: 88px;
  margin-top: 18px;
}

.home-page .workflow-detail {
  gap: 132px;
  margin-top: 240px;
}

.home-page .workflow-scene {
  gap: 36px;
}

.home-page .workflow-scene-media,
.home-page .workflow-scene-media img {
  min-height: 380px;
}

.home-page .logos {
  gap: 32px;
  padding: 54px 0 66px;
}

.home-page .social-follow {
  margin-top: 40px;
}

.assist-spotlight {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 28px;
  margin-top: 46px;
  padding: 30px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
  box-shadow: var(--card-shadow);
}

.inline-pill {
  position: static;
  display: inline-flex;
  margin-bottom: 14px;
}

.assist-spotlight h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.18;
}

.assist-spotlight p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.assist-spotlight ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assist-spotlight li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.assist-spotlight li:before {
  content: "\2713";
  margin-right: 8px;
  color: var(--brand);
}

.pricing-grid {
  display: grid;
  gap: 24px;
}

.pricing-copy {
  max-width: 720px;
  margin-bottom: 8px;
}

/* Pricing page */
.pricing-page-container {
  width: min(1280px, calc(100% - 40px));
}

.pricing-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.pricing-intro img {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(138, 90, 64, .2);
}

.pricing-intro p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 17px;
}

.pricing-hero-title {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(138, 90, 64, .1);
}

.plan-card.pro {
  border-color: rgba(255, 106, 42, .34);
  background: linear-gradient(145deg, #1f1f1f, #333);
  color: #fff;
  box-shadow: 0 22px 60px rgba(31, 31, 31, .24);
}

.plan-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.1;
}

.plan-card.pro h3,
.plan-card.pro .plan-price,
.plan-card.pro li {
  color: #fff;
}

.plan-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.plan-card.pro .plan-note {
  color: rgba(255, 255, 255, .74);
}

.plan-price {
  margin: 0;
  color: var(--text);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  color: var(--body);
  font-weight: 800;
  font-size: 15px;
}

.plan-card li:before {
  content: "\2713";
  margin-right: 9px;
  color: var(--brand);
  font-weight: 900;
}

.plan-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.plan-actions .btn {
  width: 100%;
}

.faq-section {
  width: min(1180px, 100%);
  margin: 64px auto 0;
}

.faq-section .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 900;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: transform .2s ease;
}

.faq-icon .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.faq-card[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-card p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--table-wrap-bg);
  box-shadow: var(--card-shadow);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--surface);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--text);
  font-weight: 900;
  text-align: left;
}

.comparison-table thead th {
  background: var(--table-head-bg);
  color: var(--text);
  font-size: 16px;
}

.comparison-table th:first-child,
.comparison-table tbody th {
  width: 48%;
  text-align: left;
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td {
  width: 26%;
  text-align: center;
}

.comparison-table .feature-group {
  vertical-align: middle;
  background: transparent;
  letter-spacing: 0;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr:hover {
  background: var(--table-hover-bg);
}

.comparison-table tbody th {
  color: var(--body);
  font-weight: 700;
}

.status {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 99px;
}

.status.yes {
  background: var(--brand-soft);
}

.status.yes:before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: translateY(-1px) rotate(-45deg);
}

.status.no {
  background: var(--status-no-bg);
}

.status.no:before,
.status.no:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 3px;
  border-radius: 99px;
  background: var(--weak);
}

.status.no:before { transform: rotate(45deg); }
.status.no:after { transform: rotate(-45deg); }

.comparison-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 18px;
}

.comparison-actions .btn {
  min-width: 150px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
  box-shadow: var(--shadow);
}

.download-card h2 {
  margin: 10px 0;
  color: var(--text);
  font-size: 34px;
  line-height: 1.2;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--input-line);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.form-status {
  min-height: 24px;
  font-weight: 800;
}

.form-status.ok { color: #067647; }
.form-status.error { color: #b42318; }

.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-inner {
  color: var(--muted);
}

.footer-menu {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--weak);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--body);
  font-size: 15px;
  font-weight: 650;
}

.footer-column a:hover {
  color: var(--brand-dark);
}

.footer-about {
  max-width: 260px;
}

.footer-about p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer-bottom a:hover {
  color: var(--brand-dark);
}

.legal-page {
  max-width: 820px;
  padding: 70px 0;
}

.legal-page h1 {
  color: var(--text);
  font-size: 40px;
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
}

.docs-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.docs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.docs-home-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.docs-home-link:hover {
  color: var(--brand-dark);
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-top: 54px;
  padding-bottom: 80px;
}

.docs-sidebar {
  position: sticky;
  top: var(--anchor-offset);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.docs-sidebar-title {
  margin-bottom: 10px;
  color: var(--weak);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.docs-sidebar nav {
  display: grid;
  gap: 6px;
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.docs-sidebar a:hover,
.docs-sidebar a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.docs-article {
  max-width: 820px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.docs-kicker {
  margin-bottom: 12px;
  color: var(--weak);
  font-size: 13px;
  font-weight: 800;
}

.docs-article h1 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.docs-lead {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
}

.docs-article section {
  scroll-margin-top: var(--anchor-offset);
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.docs-article h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 24px;
}

.docs-article h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.docs-article a {
  color: var(--brand-dark);
  font-weight: 800;
}

.docs-article p {
  margin: 0 0 14px;
  color: var(--body);
  font-size: 16px;
}

@media (max-width: 980px) {
  .bento-card { min-height: 220px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links,
  .nav-actions { display: none; }
  .nav-links.open,
  .nav-actions.open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .nav-actions.open { top: 245px; }
  .hero-grid,
  .support-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-intro,
  .plan-cards {
    grid-template-columns: 1fr;
  }
  .plan-cards {
    gap: 24px;
  }
  .plan-actions {
    flex-direction: column;
  }
  .product-stage { height: 460px; }
  .hero-showcase {
    width: 318px;
    height: 326px;
  }
  .hero-float-card {
    min-width: 140px;
    padding: 12px 14px;
  }
  .hero-float-card-1 {
    right: 22px;
    top: 54px;
  }
  .hero-float-card-2 {
    left: 22px;
    top: 214px;
  }
  .hero-float-card-3 {
    right: 34px;
    bottom: 38px;
  }
  .drawing-card {
    width: 300px;
    height: 230px;
  }
  .reference-card { width: 136px; }
  .ref-one {
    left: 34px;
    top: 116px;
  }
  .ref-two {
    right: 34px;
    top: 56px;
  }
  .ref-three {
    right: 58px;
    bottom: 42px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .workflow-detail {
    gap: 64px;
  }
  .home-page .section-pad {
    padding: 88px 0;
  }
  .home-page .hero.section-pad {
    padding-top: 72px;
    padding-bottom: 92px;
  }
  .home-page .steps {
    gap: 48px;
  }
  .home-page .workflow-detail {
    gap: 92px;
    margin-top: 68px;
  }
  .home-page .workflow-scene {
    gap: 30px;
  }
  .home-page .workflow-scene-media,
  .home-page .workflow-scene-media img {
    min-height: 340px;
  }
  .home-page .logos {
    gap: 26px;
    padding: 42px 0 54px;
  }
  .bento-grid {
    gap: 28px;
  }
  .assist-spotlight {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }
  .download-card { display: block; }
  .download-card .btn { margin-top: 18px; }
  .footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .footer-about {
    max-width: none;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
  }
  .docs-sidebar {
    position: static;
  }
  .docs-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .comparison-actions {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 62px 0; }
  .home-page .section-pad {
    padding: 74px 0;
  }
  .home-page .hero.section-pad {
    padding-top: 58px;
    padding-bottom: 78px;
  }
  .home-page .workflow-detail {
    gap: 76px;
    margin-top: 56px;
  }
  .home-page .workflow-scene-media,
  .home-page .workflow-scene-media img {
    min-height: 300px;
  }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .section-head h2,
  .download-card h2 { font-size: 30px; }
  .assist-spotlight {
    padding: 24px;
  }
  .assist-spotlight h3 {
    font-size: 24px;
  }
  .docs-header-inner {
    min-height: 62px;
  }
  .docs-layout {
    padding-bottom: 56px;
  }
  .docs-article {
    padding: 28px;
    border-radius: 20px;
  }
  .docs-sidebar nav {
    grid-template-columns: 1fr;
  }
  .footer-menu {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: flex-start;
    text-align: left;
  }
  .comparison-actions {
    flex-direction: column;
  }
  .comparison-actions .btn {
    width: 100%;
  }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card,
  .bento-card.large { min-height: 214px; }
  .product-stage { height: 420px; }
  .product-stage:before {
    inset: auto auto -108px -108px;
    width: 220px;
    height: 220px;
  }
  .hero-showcase {
    width: 252px;
    height: 286px;
  }
  .hero-showcase-header {
    height: 48px;
    padding: 0 16px;
  }
  .hero-showcase-body {
    height: calc(100% - 48px);
    padding: 18px;
  }
  .hero-showcase-metric-value {
    font-size: 24px;
  }
  .hero-image-grid {
    gap: 7px;
    grid-template-rows: repeat(2, 38px);
  }
  .hero-image-tile {
    border-radius: 8px;
  }
  .hero-float-card {
    min-width: 112px;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }
  .hero-float-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .hero-float-label {
    font-size: 11px;
  }
  .hero-float-value {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }
  .hero-float-card-1 {
    right: 10px;
    top: 46px;
  }
  .hero-float-card-2 {
    left: 10px;
    top: 214px;
  }
  .hero-float-card-3 {
    right: 18px;
    bottom: 28px;
  }
  .hero-ring-1 {
    width: 330px;
    height: 330px;
  }
  .hero-ring-2 {
    width: 430px;
    height: 430px;
  }
  .ring-one {
    width: 320px;
    height: 320px;
  }
  .ring-two {
    width: 420px;
    height: 420px;
  }
  .drawing-card {
    width: 246px;
    height: 204px;
  }
  .drawing-top {
    height: 42px;
    padding: 0 14px;
  }
  .canvas-area { height: calc(100% - 42px); }
  .sketch-face {
    left: 46px;
    top: 34px;
    width: 78px;
    height: 92px;
    border-width: 3px;
  }
  .sketch-face:before {
    left: 21px;
    top: 29px;
    box-shadow: 27px 0 0 rgba(31, 31, 31, .58);
  }
  .sketch-face:after {
    left: 28px;
    top: 58px;
    width: 28px;
  }
  .stroke-one {
    right: 30px;
    top: 54px;
    width: 62px;
  }
  .stroke-two {
    right: 34px;
    top: 84px;
    width: 88px;
  }
  .palette {
    right: 24px;
    bottom: 20px;
  }
  .reference-card {
    width: 118px;
    padding: 8px;
  }
  .ref-image { height: 74px; }
  .ref-one {
    left: 14px;
    top: 128px;
  }
  .ref-two {
    right: 12px;
    top: 50px;
  }
  .ref-three {
    right: 34px;
    bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawing-card,
  .reference-card,
  .hero-showcase,
  .hero-float-card {
    animation: none;
  }
}
