*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0a1020;
  --ink-2: #121b32;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #6b7385;
  --line: #dfe4ec;
  --line-dark: rgba(255,255,255,.13);
  --accent: #67e8b4;
  --accent-2: #9cf2d0;
  --blue: #66a6ff;
  --panel: #111827;
  --shadow: 0 30px 80px rgba(11, 19, 38, .18);
  --radius: 28px;
  --max: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.site-header {
  height: 84px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark rect {
  fill: var(--ink);
}

.brand-mark path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -.4px;
}

.brand-copy em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #536079;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a,
.text-button {
  font-size: 13px;
  font-weight: 650;
  color: #4e586b;
  transition: color .2s ease;
}

.site-nav a:hover,
.text-button:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.text-button {
  border: 0;
  background: transparent;
  padding: 10px 3px;
}

.button {
  border: 0;
  border-radius: 12px;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.button-primary {
  color: #04130e;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(68, 210, 157, .28);
}

.button-primary:hover {
  background: var(--accent-2);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255,255,255,.82);
  border: 1px solid #ccd4e0;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-dark-outline {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
}

.menu-button {
  display: none;
}

.hero {
  min-height: 720px;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 100px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  gap: 52px;
  align-items: center;
}

.hero-grid,
.cta-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(18, 27, 50, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 27, 50, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to right, black, transparent 85%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,232,180,.15), rgba(103,232,180,0) 68%);
  left: -230px;
  top: 50px;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #59647a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(103,232,180,.14);
}

.hero h1 {
  margin: 23px 0 22px;
  max-width: 700px;
  font-size: clamp(52px, 5.4vw, 86px);
  line-height: .96;
  letter-spacing: -5.2px;
  font-weight: 760;
}

.hero h1 span {
  color: #7b8393;
  font-weight: 650;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #5d6677;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 28px;
  color: #697286;
  font-size: 11px;
  font-weight: 650;
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span {
  color: #159a69;
  font-weight: 900;
}

.product-stage {
  min-width: 0;
  position: relative;
  z-index: 2;
  perspective: 1200px;
}

.stage-glow {
  position: absolute;
  inset: 6% 3% 2%;
  background: radial-gradient(circle at 50% 50%, rgba(102,166,255,.18), rgba(103,232,180,.09) 45%, transparent 72%);
  filter: blur(20px);
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(16, 29, 55, .13);
  border-radius: 20px;
  background: #0d1425;
  box-shadow: var(--shadow);
  transform: rotateY(-3deg) rotateX(1.2deg);
}

.app-topbar {
  height: 46px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #dfe8f7;
  background: #0b1020;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d3850;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
}

.mini-mark,
.tiny-sp {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  background: var(--accent);
  color: #07130f;
  font-weight: 900;
  font-size: 8px;
}

.app-status {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #8ea0bb;
}

.app-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(103,232,180,.8);
}

.app-toolbar {
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #151e31;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.tool {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #a7b4c8;
  background: #1c273d;
  font-size: 9px;
  font-weight: 800;
}

.tool.active {
  color: #05130e;
  background: var(--accent);
}

.tool.wide {
  width: 44px;
  font-size: 7px;
  letter-spacing: .5px;
}

.toolbar-rule {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: rgba(255,255,255,.09);
}

.toolbar-spacer {
  flex: 1;
}

.zoom {
  font-size: 8px;
  color: #8fa0b8;
}

.workspace {
  min-height: 430px;
  display: grid;
  grid-template-columns: 122px 1fr;
}

.layers-panel {
  padding: 16px 10px;
  color: #aeb9ca;
  background: #10182a;
  border-right: 1px solid rgba(255,255,255,.06);
}

.panel-label {
  margin: 2px 4px 9px;
  color: #64718a;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.panel-label.second {
  margin-top: 24px;
}

.layer-row {
  height: 27px;
  padding: 0 7px;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 5px;
  align-items: center;
  border-radius: 6px;
  color: #8190a8;
  font-size: 7px;
}

.layer-row.active {
  color: #dde5f0;
  background: #1b273c;
}

.layer-row .eye {
  color: var(--accent);
  font-size: 5px;
}

.layer-row b {
  color: #65728a;
  font-weight: 700;
}

.property {
  padding: 7px 5px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  color: #6e7c93;
  font-size: 7px;
}

.property strong {
  color: #aebbd0;
}

.canvas {
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #f9fbfd;
}

.drawing {
  width: 100%;
  height: 100%;
  display: block;
}

.grid-small {
  fill: none;
  stroke: #e9edf3;
  stroke-width: .7;
}

.grid-large {
  fill: none;
  stroke: #dfe5ee;
  stroke-width: 1;
}

.plan path {
  fill: none;
  stroke: #18243a;
  stroke-width: 4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.openings path {
  fill: none;
  stroke: #59708d;
  stroke-width: 2;
}

.dims line {
  stroke: #55708e;
  stroke-width: 1.2;
}

.dim-arrow {
  fill: none;
  stroke: #55708e;
  stroke-width: 1;
}

.dims text {
  fill: #3e5e7a;
  font-size: 12px;
  font-weight: 650;
  text-anchor: middle;
}

.labels text {
  fill: #7a8799;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  text-anchor: middle;
}

.snap-point circle,
.snap-point path {
  fill: #f9fbfd;
  stroke: #14a96e;
  stroke-width: 1.5;
}

.canvas-badge {
  position: absolute;
  right: 15px;
  bottom: 14px;
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d9e4e0;
  border-radius: 9px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(18,28,45,.08);
  color: #526276;
  font-size: 8px;
  font-weight: 700;
}

.badge-icon {
  color: #0d9f68;
  font-size: 14px;
}

.statusbar {
  min-height: 29px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0b1020;
  color: #62718b;
  font-size: 7px;
  letter-spacing: .4px;
}

.statusbar span:first-child {
  color: var(--accent);
}

.status-fill {
  flex: 1;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(15,26,47,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 45px rgba(15,27,52,.14);
  backdrop-filter: blur(10px);
}

.floating-card small {
  display: block;
  color: #8490a2;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.floating-card span {
  display: block;
  margin-top: 3px;
  color: #7a8493;
  font-size: 8px;
  line-height: 1.45;
}

.card-a {
  left: -40px;
  bottom: -34px;
}

.card-b {
  right: -18px;
  top: -30px;
}

.trust-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.trust-strip > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trust-strip strong {
  font-size: 13px;
}

.trust-strip span {
  color: #70798a;
  font-size: 10px;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 13px;
}

.trust-items i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aab2c0;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 28px;
}

.section-heading {
  margin-top: 18px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr .74fr;
  gap: 80px;
  align-items: end;
}

.section h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: -3px;
}

.split-heading p,
.workflow-copy > p,
.business-copy > p,
.about-copy > p {
  margin: 0;
  color: #687284;
  font-size: 15px;
  line-height: 1.75;
}

.feature-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 310px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.65);
}

.feature-large {
  grid-row: span 2;
  min-height: 636px;
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.feature-wide {
  grid-column: span 2;
  min-height: 220px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.feature-number {
  position: absolute;
  right: 24px;
  top: 22px;
  color: #a4adbb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.feature-large .feature-number {
  color: #516079;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 58px 0 34px;
  position: relative;
}

.crosshair-icon::before,
.crosshair-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.crosshair-icon::before {
  width: 58px;
  height: 1px;
  top: 28px;
}

.crosshair-icon::after {
  width: 1px;
  height: 58px;
  left: 28px;
}

.crosshair-icon {
  border: 1px solid rgba(103,232,180,.35);
  border-radius: 50%;
}

.layer-icon i {
  position: absolute;
  left: 8px;
  width: 43px;
  height: 25px;
  border: 1.5px solid #33435e;
  transform: rotate(-15deg) skewX(18deg);
  background: rgba(102,166,255,.06);
}

.layer-icon i:nth-child(1) { top: 3px; }
.layer-icon i:nth-child(2) { top: 14px; left: 4px; }
.layer-icon i:nth-child(3) { top: 25px; left: 0; border-color: #18a96f; }

.dimension-icon::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 1px;
  top: 29px;
  background: #18a96f;
}

.dimension-icon::after {
  content: "↔";
  position: absolute;
  inset: 10px -1px auto;
  color: #18a96f;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.trim-icon::before {
  content: "";
  position: absolute;
  width: 62px;
  height: 2px;
  top: 27px;
  left: -1px;
  background: #2b3a54;
  transform: rotate(-22deg);
}

.trim-icon::after {
  content: "";
  position: absolute;
  width: 37px;
  height: 37px;
  border: 2px solid #18a96f;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  left: 18px;
  top: 8px;
  transform: rotate(18deg);
}

.feature-card h3 {
  margin: 0 0 13px;
  font-size: 20px;
  letter-spacing: -.5px;
}

.feature-card p {
  margin: 0;
  color: #727c8d;
  font-size: 13px;
  line-height: 1.7;
}

.feature-large p {
  color: #8e9bb0;
}

.precision-demo {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 44px;
  height: 190px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 18px 18px;
}

.precision-line {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 2px;
  background: var(--accent);
  transform: rotate(-17deg);
}

.precision-node {
  width: 15px;
  height: 15px;
  position: absolute;
  top: calc(50% - 8px);
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--ink);
}

.precision-node::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.precision-node.n1 {
  left: 17%;
  transform: translateY(31px);
}

.precision-node.n2 {
  right: 17%;
  transform: translateY(-31px);
}

.precision-demo span {
  position: absolute;
  left: 46%;
  top: 35%;
  padding: 5px 7px;
  background: var(--ink);
  color: #d8e0eb;
  font-size: 9px;
}

.json-chip {
  min-width: 220px;
  padding: 18px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #d9e3df;
  border-radius: 13px;
  background: #f4faf7;
  color: #12945f;
}

.json-chip code {
  color: #40516a;
  font-size: 10px;
}

.workflow-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.workflow-copy h2 {
  margin: 18px 0 26px;
}

.workflow-copy > p {
  max-width: 560px;
}

.mode-list {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}

.mode-item {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.mode-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eef2f7;
  color: #4c5870;
  font-size: 10px;
  font-weight: 800;
}

.mode-item strong {
  font-size: 13px;
}

.mode-item p {
  margin: 4px 0 0;
  color: #7b8494;
  font-size: 11px;
  line-height: 1.5;
}

.mode-visual {
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid #ced6e2;
  border-radius: 20px;
  background: white;
  box-shadow: 0 30px 80px rgba(16,28,50,.12);
}

.browser-tabs {
  height: 44px;
  padding: 8px 10px 0;
  display: flex;
  align-items: end;
  gap: 5px;
  background: #e9edf3;
}

.browser-tab {
  height: 31px;
  min-width: 120px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px 9px 0 0;
  color: #657087;
  background: #dde3eb;
  font-size: 8px;
}

.browser-tab.active {
  color: #26334b;
  background: white;
}

.browser-tab.plus {
  min-width: 30px;
  width: 30px;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
}

.tiny-sp {
  width: 17px;
  height: 17px;
  font-size: 6px;
  border-radius: 5px;
}

.addressbar {
  height: 43px;
  padding: 0 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: white;
  border-bottom: 1px solid #e5e9ef;
}

.nav-icons {
  color: #9aa3b1;
  font-size: 11px;
}

.address-pill {
  flex: 1;
  height: 27px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 13px;
  background: #f2f4f7;
  color: #758094;
  font-size: 8px;
}

.browser-canvas {
  height: 390px;
  position: relative;
  background-color: #fbfcfe;
  background-image:
    linear-gradient(#edf0f4 1px, transparent 1px),
    linear-gradient(90deg, #edf0f4 1px, transparent 1px);
  background-size: 20px 20px;
}

.browser-toolbar {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 160px;
  height: 31px;
  border-radius: 8px;
  background: #101829;
}

.browser-canvas svg {
  width: 82%;
  height: 82%;
  margin: 44px 8% 0 10%;
}

.browser-canvas svg path {
  fill: none;
  stroke: #263852;
  stroke-width: 4;
}

.browser-canvas svg line {
  stroke: #52718f;
  stroke-width: 1.2;
}

.browser-canvas svg text {
  fill: #52718f;
  font-size: 11px;
  text-anchor: middle;
}

.browser-mode-label {
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--accent);
  color: #062017;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1px;
}

.business-section {
  max-width: 1360px;
}

.business-panel {
  padding: 74px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(103,232,180,.12), transparent 28%),
    var(--ink);
  color: white;
}

.section-kicker.light {
  color: #7f8ba1;
}

.business-copy h2 {
  margin: 18px 0 24px;
}

.business-copy > p {
  color: #8f9cb0;
  max-width: 520px;
}

.business-copy .button {
  margin-top: 30px;
}

.admin-preview {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: #141e31;
  box-shadow: 0 26px 60px rgba(0,0,0,.24);
}

.admin-head {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.admin-head div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-head small {
  color: #61708b;
  font-size: 7px;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.admin-head strong {
  font-size: 14px;
}

.admin-head button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #07170f;
  font-size: 8px;
  font-weight: 800;
}

.admin-row {
  min-height: 58px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(170px, 1.5fr) .65fr .7fr 24px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.admin-row > div:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #24324b;
  color: #9aacbe;
  font-style: normal;
  font-size: 7px;
  font-weight: 800;
}

.admin-row b,
.admin-row small {
  display: block;
}

.admin-row b {
  font-size: 9px;
  color: #dbe4f0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-row small {
  margin-top: 3px;
  color: #60708a;
  font-size: 7px;
}

.admin-labels {
  min-height: 32px;
  color: #5f6d84;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .8px;
}

.status {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 7px;
  font-weight: 800;
}

.status.active {
  background: rgba(103,232,180,.1);
  color: var(--accent);
}

.status.invited {
  background: rgba(102,166,255,.1);
  color: #89b9ff;
}

.device {
  color: #8996aa;
  font-size: 7px;
}

.dots {
  border: 0;
  background: transparent;
  color: #63718a;
  font-size: 8px;
}

.about-section {
  padding-top: 70px;
}

.about-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-copy .large-copy {
  color: #2d374b;
  font-size: 20px;
  line-height: 1.55;
}

.cta-section {
  max-width: 1360px;
  min-height: 350px;
  margin: 0 auto 70px;
  padding: 80px 74px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--ink);
  color: white;
}

.cta-grid {
  opacity: .25;
  mask-image: linear-gradient(to left, black, transparent);
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  right: -120px;
  top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,232,180,.24), transparent 65%);
}

.cta-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 34px;
  align-items: center;
}

.cta-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -1px;
}

.cta-content h2 {
  margin-top: 14px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}

footer {
  max-width: var(--max);
  min-height: 120px;
  margin: 0 auto;
  padding: 30px 28px 45px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 25px;
  color: #6f7889;
  font-size: 10px;
  font-weight: 650;
}

.footer-note {
  justify-self: end;
  color: #8a93a1;
  font-size: 9px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 20px;
  place-items: center;
  background: rgba(7,12,23,.65);
  backdrop-filter: blur(10px);
}

.modal-backdrop:not([hidden]) {
  display: grid;
}

.modal {
  width: min(460px, 100%);
  padding: 36px;
  position: relative;
  border-radius: 24px;
  background: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
  text-align: center;
}

.modal-close {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 15px;
  top: 15px;
  border: 0;
  border-radius: 50%;
  background: #f0f3f7;
  color: #657087;
  font-size: 20px;
}

.modal-mark {
  width: 52px;
  height: 52px;
  margin: 3px auto 22px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.modal h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -1px;
}

.modal p {
  margin: 15px 0 24px;
  color: #6e7787;
  font-size: 13px;
  line-height: 1.65;
}

.modal .button {
  width: 100%;
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-stage {
    margin-top: 40px;
  }

  .card-a {
    left: 10px;
  }

  .card-b {
    right: 10px;
  }

  .split-heading,
  .workflow-section,
  .business-panel,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .business-panel {
    padding: 54px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-large {
    grid-row: auto;
    min-height: 560px;
  }

  .feature-wide {
    grid-column: span 2;
  }

  .cta-content {
    grid-template-columns: 70px 1fr;
  }

  .cta-actions {
    grid-column: 2;
    flex-direction: row;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    justify-self: end;
  }

  .footer-note {
    grid-column: span 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .header-actions {
    display: none;
  }

  .menu-button {
    justify-self: end;
    width: 38px;
    height: 38px;
    padding: 9px;
    display: grid;
    gap: 4px;
    border: 0;
    border-radius: 10px;
    background: #edf1f6;
  }

  .menu-button span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: #45516a;
  }

  .site-nav.open {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 65px;
    padding: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: white;
    box-shadow: 0 20px 50px rgba(18,28,45,.13);
  }

  .site-nav.open a {
    padding: 12px 10px;
  }

  .hero {
    min-height: auto;
    padding: 60px 18px 95px;
  }

  .hero h1 {
    letter-spacing: -3px;
    font-size: clamp(45px, 14vw, 68px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 9px;
  }

  .app-window {
    transform: none;
    border-radius: 15px;
  }

  .workspace {
    grid-template-columns: 1fr;
    min-height: 310px;
  }

  .layers-panel {
    display: none;
  }

  .canvas {
    min-height: 310px;
  }

  .statusbar {
    gap: 9px;
    overflow: hidden;
  }

  .statusbar span:nth-child(3),
  .statusbar span:nth-child(4) {
    display: none;
  }

  .floating-card {
    display: none;
  }

  .trust-strip {
    padding: 22px 18px 50px;
    display: grid;
  }

  .trust-items {
    flex-wrap: wrap;
  }

  .section {
    padding: 82px 18px;
  }

  .section h2 {
    letter-spacing: -2px;
  }

  .split-heading {
    gap: 25px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    min-height: 520px;
  }

  .feature-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .json-chip {
    min-width: 0;
  }

  .workflow-section {
    gap: 45px;
  }

  .browser-tab:nth-child(3) {
    display: none;
  }

  .browser-tab {
    min-width: 98px;
  }

  .business-panel {
    padding: 42px 20px;
    border-radius: 24px;
  }

  .admin-row {
    grid-template-columns: 1fr auto;
  }

  .admin-row > :nth-child(3),
  .admin-labels > :nth-child(3) {
    display: none;
  }

  .admin-labels {
    grid-template-columns: 1fr auto;
  }

  .about-grid {
    gap: 30px;
  }

  .cta-section {
    margin: 0 12px 55px;
    padding: 55px 25px;
    border-radius: 25px;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

  .cta-mark {
    width: 58px;
    height: 58px;
  }

  .cta-actions {
    grid-column: 1;
    flex-direction: column;
  }

  footer {
    padding: 30px 18px 45px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-self: start;
    flex-wrap: wrap;
  }

  .footer-note {
    grid-column: 1;
  }
}


/* =========================================================
   V2 — HANDBOOK / MANUAL IDENTITY HERO
   Top section intentionally inherits the visual system of the
   Sketch Pad Pro Complete Handbook & Teacher's Guide.
   ========================================================= */

:root {
  --manual-navy: #0b1f3a;
  --manual-navy-2: #163759;
  --manual-navy-deep: #061221;
  --manual-gold: #d19a3e;
  --manual-gold-light: #e5b158;
  --manual-paper: #f4f1e9;
  --manual-ice: #dbe6f2;
}

.manual-hero-shell {
  min-height: 780px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(44,82,124,.95) 0, rgba(44,82,124,.18) 25%, transparent 42%),
    linear-gradient(145deg, var(--manual-navy-deep), var(--manual-navy) 55%, #12345b);
}

.manual-hero-shell::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(209,154,62,.50);
  pointer-events: none;
}

.manual-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .115;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 70%, transparent 100%);
}

.manual-hero-orb {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(209,154,62,.19);
  border-radius: 50%;
  pointer-events: none;
}

.manual-hero-orb.orb-one {
  width: 420px;
  height: 420px;
  right: -150px;
  top: 16%;
}

.manual-hero-orb.orb-two {
  width: 190px;
  height: 190px;
  left: -70px;
  bottom: 8%;
}

.manual-hero-shell .site-header {
  height: 84px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.11);
  background: rgba(5,17,31,.38);
  backdrop-filter: blur(16px);
}

.manual-hero-shell .brand-mark-sp {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #e7b45c, #be7d1f);
  color: #071629;
  box-shadow: 0 8px 24px rgba(226,170,77,.22);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -.05em;
}

.manual-hero-shell .brand-copy-manual {
  display: block;
  line-height: 1.08;
}

.manual-hero-shell .brand-copy-manual strong {
  display: block;
  color: #f4f7fb;
  font-size: 14px;
  letter-spacing: .02em;
}

.manual-hero-shell .brand-copy-manual em {
  display: block;
  margin-top: 5px;
  color: #8fa4bb;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-hero-shell .site-nav a,
.manual-hero-shell .text-button {
  color: #bac8d9;
}

.manual-hero-shell .site-nav a:hover,
.manual-hero-shell .text-button:hover {
  color: #fff;
}

.manual-hero-shell .button-small {
  color: #071629;
  background: var(--manual-gold);
  box-shadow: 0 9px 24px rgba(209,154,62,.20);
}

.manual-hero-shell .button-small:hover {
  background: #e1ad58;
}

.manual-hero-shell .hero {
  min-height: 695px;
  max-width: var(--max);
  padding: 64px 28px 88px;
  grid-template-columns: minmax(460px, .92fr) minmax(520px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.manual-hero-shell .hero::before,
.manual-hero-shell .hero-grid {
  display: none;
}

.manual-hero-shell .hero-copy {
  z-index: 2;
}

.manual-cover-card {
  max-width: 665px;
  position: relative;
  padding: 48px 48px 42px 44px;
  border-left: 8px solid var(--manual-gold);
  background:
    linear-gradient(135deg, rgba(7,20,38,.72), rgba(7,20,38,.42));
  box-shadow:
    0 34px 95px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(7px);
}

.manual-cover-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(transparent, rgba(209,154,62,.28), transparent);
}

.manual-eyebrow {
  color: var(--manual-gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
}

.manual-title {
  margin: 18px 0 20px !important;
  max-width: none !important;
  color: #fff;
  font-size: clamp(58px, 5.3vw, 90px) !important;
  line-height: .88 !important;
  letter-spacing: -.055em !important;
  font-weight: 820 !important;
}

.manual-title span {
  display: block;
}

.manual-title .title-sketch {
  color: #fff !important;
}

.manual-title .title-pad {
  margin-top: 6px;
  color: var(--manual-ice) !important;
  font-weight: 760 !important;
}

.manual-subtitle {
  max-width: 590px;
  margin: 0;
  color: #cfdae7;
  font-size: 17px;
  line-height: 1.55;
}

.manual-subtitle span {
  display: block;
  color: #a9bbce;
}

.manual-rule {
  width: 100%;
  height: 1px;
  margin: 25px 0 22px;
  background: linear-gradient(90deg, rgba(209,154,62,.85), rgba(255,255,255,.13) 55%, transparent);
}

.manual-hero-shell .hero-lead {
  max-width: 600px;
  color: #a9bbce;
  font-size: 14.5px;
  line-height: 1.7;
}

.manual-hero-shell .hero-actions {
  margin-top: 27px;
}

.manual-hero-shell .button-primary {
  color: #071629;
  background: var(--manual-gold);
  box-shadow: 0 14px 34px rgba(209,154,62,.22);
}

.manual-hero-shell .button-primary:hover {
  background: #e5b45e;
}

.manual-hero-shell .button-secondary {
  color: #e9eef5;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.055);
}

.manual-hero-shell .button-secondary:hover {
  background: rgba(255,255,255,.10);
}

.manual-edition {
  margin-top: 31px;
  padding-top: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #8fa4bb;
  font-size: 9.5px;
  line-height: 1.45;
}

.manual-edition span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.manual-edition strong {
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

/* Product preview now feels like the software emerging from the handbook cover. */
.manual-hero-shell .product-stage {
  z-index: 2;
}

.manual-hero-shell .stage-glow {
  inset: -7% -5% -4%;
  background:
    radial-gradient(circle at 50% 48%, rgba(77,145,237,.30), rgba(209,154,62,.12) 40%, transparent 68%);
  filter: blur(20px);
}

.manual-hero-shell .app-window {
  border-color: rgba(229,177,88,.18);
  box-shadow:
    0 36px 90px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.03);
  transform: rotateY(-2deg) rotateX(1deg);
}

.manual-hero-shell .mini-mark,
.manual-hero-shell .tool.active {
  background: var(--manual-gold);
  color: #071629;
}

.manual-hero-shell .app-status span {
  background: var(--manual-gold);
  box-shadow: 0 0 9px rgba(209,154,62,.75);
}

.manual-hero-shell .canvas-badge {
  border-color: #ead8b7;
  color: #58657a;
}

.manual-hero-shell .badge-icon {
  color: #a66e17;
}

.manual-hero-shell .floating-card {
  border-color: rgba(209,154,62,.22);
  background: rgba(247,244,235,.96);
}

.manual-hero-shell .floating-card small {
  color: #9b6512;
}

.manual-hero-shell .floating-card strong {
  color: var(--manual-navy);
}

.manual-hero-shell .floating-card span {
  color: #68758a;
}

.manual-hero-shell .card-a {
  left: -20px;
  bottom: -24px;
}

.manual-hero-shell .card-b {
  right: -10px;
  top: -24px;
}

/* A deliberate warm-paper transition out of the dark hero. */
.trust-strip {
  position: relative;
  margin-top: 0;
  padding-top: 34px;
  border-top: 0;
}

.trust-strip::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,31,58,.22), transparent);
}

@media (max-width: 1100px) {
  .manual-hero-shell .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .manual-cover-card {
    max-width: 780px;
  }

  .manual-hero-shell .product-stage {
    margin-top: 28px;
  }
}

@media (max-width: 760px) {
  .manual-hero-shell::after {
    inset: 10px;
  }

  .manual-hero-shell .site-header {
    height: 72px;
  }

  .manual-hero-shell .site-nav.open {
    background: rgba(7,20,38,.98);
    border-color: rgba(209,154,62,.25);
  }

  .manual-hero-shell .site-nav.open a {
    color: #d6e0eb;
  }

  .manual-hero-shell .menu-button {
    background: rgba(255,255,255,.08);
  }

  .manual-hero-shell .menu-button span:not(.sr-only) {
    background: #c6d4e3;
  }

  .manual-hero-shell .brand-copy-manual em {
    display: none;
  }

  .manual-hero-shell .hero {
    min-height: auto;
    padding: 44px 18px 80px;
  }

  .manual-cover-card {
    padding: 38px 26px 34px 26px;
    border-left-width: 6px;
  }

  .manual-eyebrow {
    font-size: 9px;
    line-height: 1.5;
  }

  .manual-title {
    font-size: clamp(52px, 17vw, 72px) !important;
  }

  .manual-subtitle {
    font-size: 15px;
  }

  .manual-edition {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .manual-hero-shell .product-stage {
    margin-top: 10px;
  }
}


/* Clean invitation landing — normal homepage with account panel already open */
.invite-overlay{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:28px 18px;
  background:rgba(5,16,31,.66);
  backdrop-filter:blur(9px);
  overflow:auto;
}
.invite-modal{
  width:min(520px,100%);
  border:1px solid rgba(255,255,255,.18);
  border-radius:22px;
  padding:30px;
  color:#fff;
  background:linear-gradient(155deg,rgba(7,25,48,.98),rgba(10,31,58,.98));
  box-shadow:0 36px 100px rgba(0,0,0,.38);
}
.invite-modal-brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  margin-bottom:28px;
  color:#fff;
}
.invite-modal-brand strong{
  display:block;
  font-size:14px;
}
.invite-modal-brand small{
  display:block;
  margin-top:3px;
  color:#90a6bd;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.invite-modal-mark{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:linear-gradient(145deg,#e7b45c,#be7d1f);
  color:#071629;
  font-size:11px;
  font-weight:950;
}
.invite-kicker{
  color:#e5b158;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.invite-modal h2{
  margin:9px 0 9px;
  font-size:31px;
  line-height:1.06;
  letter-spacing:-.035em;
}
.invite-lead{
  margin:0 0 22px;
  color:#adc0d4;
  font-size:14px;
  line-height:1.6;
}
.invite-lead strong{color:#fff}
.invite-form{
  display:grid;
  gap:13px;
}
.invite-form label{
  display:grid;
  gap:6px;
  color:#c0cede;
  font-size:11px;
  font-weight:750;
}
.invite-form input{
  width:100%;
  height:46px;
  border:1px solid #40516a;
  border-radius:9px;
  outline:none;
  padding:0 12px;
  color:#fff;
  background:#0f2741;
  font:inherit;
}
.invite-form input[readonly]{
  color:#b8c6d5;
  background:#0b2037;
  cursor:not-allowed;
}
.invite-form input:focus{
  border-color:#d19a3e;
  box-shadow:0 0 0 3px rgba(209,154,62,.12);
}
.invite-password-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.invite-password-wrap input{padding-right:62px}
.invite-password-toggle{
  position:absolute;
  right:7px;
  top:50%;
  transform:translateY(-50%);
  min-width:46px;
  height:32px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#9fb0c6;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.invite-password-toggle:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
}
.invite-submit,
.invite-primary-link{
  min-height:48px;
  border:0;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  background:#d19a3e;
  color:#071629;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.invite-submit:disabled{opacity:.7;cursor:wait}
.invite-footnote{
  margin:18px 0 0;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.11);
  color:#8298ae;
  font-size:10px;
  line-height:1.5;
}
.invite-message{
  display:none;
  margin:0 0 13px;
  padding:10px 12px;
  border-radius:9px;
  font-size:12px;
  line-height:1.45;
}
.invite-message.show{display:block}
.invite-message.error{
  color:#ffc2c2;
  border:1px solid rgba(229,100,100,.34);
  background:rgba(185,64,64,.16);
}
.invite-message.ok{
  color:#aef0cd;
  border:1px solid rgba(60,190,125,.3);
  background:rgba(22,131,83,.16);
}
.invite-modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.invite-secondary-link{
  min-height:48px;
  border:1px solid #40516a;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  color:#e2eaf2;
  font-size:13px;
  font-weight:800;
}
@media(max-width:560px){
  .invite-overlay{padding:14px}
  .invite-modal{padding:24px 20px}
  .invite-modal h2{font-size:27px}
}
