.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);
}

.btn-light {
  border-color: rgba(255, 255, 255, .78);
  background: #fff;
  color: #1f1f1f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
}

.btn-light:hover {
  border-color: var(--brand);
  background: #fff4ee;
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.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-static,
.social-icon-static:hover {
  transform: none;
  cursor: default;
}

.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: minmax(0, 1fr);
  gap: 44px;
  width: min(680px, 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.featured {
  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.featured h3,
.plan-card.featured .plan-price,
.plan-card.featured li {
  color: #fff;
}

.plan-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.plan-card.featured .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;
  flex-direction: column;
  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;
}


.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: 600;
}

.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;
  }
}


/* GEO pages */
.geo-page .geo-hero {
  padding-top: calc(var(--header-height, 76px) + 56px);
}
.geo-page .geo-hero .container {
  max-width: 980px;
}
.geo-page .geo-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
}
.geo-page .hero-lead {
  max-width: 860px;
}
.geo-page .hero-actions {
  margin-top: 28px;
}
.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.geo-card,
.faq-item,
.related-links {
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--surface-color);
  box-shadow: var(--soft-shadow);
}
.geo-card {
  padding: 26px;
}
.geo-card h2,
.faq-item h3 {
  margin-top: 0;
}
.geo-card ul,
.geo-card ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted-color);
}
.geo-card li + li {
  margin-top: 8px;
}
.geo-faq .faq-list {
  display: grid;
  gap: 16px;
}
.faq-item {
  padding: 22px 24px;
}
.faq-item p {
  margin-bottom: 0;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px;
}
.related-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 106, 42, .1);
  color: var(--text-color);
  font-weight: 700;
}
.geo-note {
  margin-top: 18px;
  color: var(--muted-color);
  font-size: 14px;
}

.geo-purchase-note {
  margin: 14px 0 0;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 800;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-color);
  box-shadow: var(--soft-shadow);
}
.comparison-table th,
.comparison-table td {
  border: 1px solid var(--border-color);
  padding: 16px;
  text-align: left;
  vertical-align: top;
}
.comparison-table th {
  background: rgba(255, 106, 42, .1);
}
@media (max-width: 900px) {
  .geo-grid {
    grid-template-columns: 1fr;
  }
}

/* Editorial product layout inspired by the pacing of PureRef's homepage.
   Brand colors remain sourced entirely from the existing PhotoAny tokens. */
.container,
.nav-shell {
  width: min(1280px, calc(100% - 64px));
}

.site-header {
  padding: 10px 0;
}

.nav-shell {
  min-height: 52px;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  padding: 8px 4px;
  border-radius: 0;
}

.nav-links a:hover {
  background: transparent;
}

.home-page .hero.section-pad {
  min-height: auto;
  padding: clamp(84px, 10vw, 140px) 0 clamp(90px, 10vw, 140px);
}

.hero-stack {
  display: grid;
  justify-items: center;
  gap: 0;
}

.hero-stack .hero-copy {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: left;
}

.hero-stack .eyebrow,
.statement-copy .eyebrow {
  justify-content: flex-start;
}

.hero-stack h1 {
  margin: 22px 0 28px;
  color: var(--text);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .94;
}

.hero-stack .hero-lead {
  max-width: 680px;
  margin: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.hero-stack .hero-actions {
  justify-content: flex-start;
  align-items: center;
  margin: 36px 0 16px;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--control-bg);
  color: var(--brand-dark);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(138, 90, 64, .08);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.hero-text-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.media-slot {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: none;
}

.media-slot-hero {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.feature-section {
  padding-top: clamp(110px, 13vw, 190px);
  padding-bottom: clamp(110px, 13vw, 190px);
}

.home-page .workflow-detail {
  gap: clamp(120px, 16vw, 240px);
  margin-top: 0;
}

.home-page .workflow-scene {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
}

.home-page .workflow-scene:nth-child(even) {
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
}

.home-page .workflow-scene:nth-child(even) .workflow-scene-copy {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.home-page .workflow-scene:nth-child(even) .workflow-scene-media {
  grid-column: 1;
  grid-row: 1;
}

.home-page .workflow-scene-copy {
  max-width: 470px;
  margin: 0;
  text-align: left;
}

.feature-index {
  display: block;
  margin-bottom: 32px;
  color: var(--brand);
  font-size: clamp(72px, 8.4vw, 124px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .78;
}

.home-page .workflow-scene-copy h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.home-page .workflow-scene-copy .hero-lead {
  margin: 0;
  font-size: 18px;
}

.home-page .workflow-scene-media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.home-page .workflow-media-tabs {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(57, 38, 28, .12);
}

.home-page .workflow-media-stage {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 106, 42, .11), transparent 38%),
    linear-gradient(145deg, var(--surface-soft), var(--surface));
  transition: background-position .24s ease, opacity .18s ease;
}

.home-page .workflow-media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface);
}

.home-page .workflow-media-image[hidden] {
  display: none;
}

.home-page .workflow-tab-list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.home-page .workflow-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.home-page .workflow-tab:hover {
  border-color: var(--line);
  color: var(--text);
}

.home-page .workflow-tab.is-active {
  border-color: rgba(255, 106, 42, .28);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.home-page .workflow-tab:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.home-page .workflow-media-triptych {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(57, 38, 28, .12);
}

.home-page .workflow-media-demo {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 42, .18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 106, 42, .08), transparent 38%),
    var(--surface-soft);
}

.home-page .workflow-media-demo-primary {
  grid-row: 1 / 3;
}

.home-page .workflow-media-demo > img,
.home-page .workflow-media-demo > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .logos {
  padding-top: 92px;
  padding-bottom: 92px;
}

.site-footer {
  padding-top: 70px;
}

/* Secondary pages use the same wide, text-first rhythm. */
.geo-page .geo-hero {
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(90px, 11vw, 150px);
}

.geo-page .geo-hero .container {
  max-width: 1080px;
  text-align: center;
}

.geo-page .geo-hero h1 {
  max-width: 1000px;
  margin: 20px auto 28px;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: .98;
}

.geo-page .hero-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}

.geo-page .hero-actions {
  justify-content: center;
}

.geo-card,
.faq-item,
.related-links {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: none;
}

.geo-card ul,
.geo-card ol,
.geo-note {
  color: var(--muted);
}

.comparison-table {
  background: var(--surface);
  box-shadow: none;
}

.comparison-table th,
.comparison-table td {
  border-color: var(--line);
}

@media (max-width: 900px) {
  .container,
  .nav-shell {
    width: min(1280px, calc(100% - 40px));
  }

  .home-page .hero.section-pad {
    min-height: auto;
  }

  .home-page .workflow-scene,
  .home-page .workflow-scene:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-page .workflow-scene:nth-child(even) .workflow-scene-copy,
  .home-page .workflow-scene:nth-child(even) .workflow-scene-media {
    grid-column: 1;
  }

  .home-page .workflow-scene:nth-child(even) .workflow-scene-copy {
    grid-row: 1;
  }

  .home-page .workflow-scene:nth-child(even) .workflow-scene-media {
    grid-row: 2;
  }

  .home-page .workflow-scene-copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell {
    width: min(1280px, calc(100% - 28px));
  }

  .hero-stack h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-stack h1 br {
    display: none;
  }

  .hero-stack .hero-actions {
    flex-direction: column;
  }

  .hero-stack .hero-actions .btn,
  .hero-text-link {
    width: 100%;
    justify-content: center;
  }

  .home-page .workflow-scene-copy h2 {
    font-size: 38px;
  }

  .home-page .workflow-media-triptych {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 10px;
    padding: 10px;
  }

  .home-page .workflow-media-demo-primary {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .home-page .workflow-detail {
    gap: 112px;
  }

  .home-page .workflow-tab-list {
    padding: 10px;
  }

  .home-page .workflow-tab {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}
