:root {
  --ink: #171d2d;
  --muted: #626b7d;
  --line: #e3e7ed;
  --surface: #f6f7fa;
  --accent: #4659d3;
  --accent-soft: #eef0ff;
  --green: #186e55;
  --green-soft: #edf7f2;
  --shadow: 0 10px 36px #20294308;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
input,
select,
textarea {
  max-width: 100%;
  border: 1px solid #cdd3df;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  min-height: 44px;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  min-height: auto;
  accent-color: var(--accent);
}
input[type="range"] {
  padding: 0;
  accent-color: var(--accent);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 3.7rem;
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 650;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 640;
}
h3 {
  font-size: 1.05rem;
  font-weight: 650;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #687ce8;
  outline-offset: 4px;
}
svg.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
.small,
small {
  font-size: 0.8125rem;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: 88px;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 48px;
  background: white;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 730;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-name > span {
  color: #788194;
}
.brand-symbol {
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
  flex: 0 0 40px;
  margin-right: 10px;
}
.brand-symbol img {
  position: absolute;
  width: 72px;
  height: 72px;
  max-width: none;
  left: -11px;
  top: -10px;
}
.topbar nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.875rem;
}
.topbar nav a {
  color: #515969;
}
.topbar nav a.active {
  color: var(--accent);
}
.new-label {
  font-size: 0.625rem;
  vertical-align: top;
  margin-left: 3px;
  color: var(--accent);
  font-weight: 750;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-link {
  font-size: 0.875rem;
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 8px;
  font-weight: 580;
}
.icon-button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 40px;
  min-width: 40px;
  display: inline-grid;
  place-items: center;
}
#mobile-menu {
  display: none;
}
.mobile-nav {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 10px;
}
.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 680;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  padding: 6px 9px;
  white-space: nowrap;
}
.badge .icon {
  height: 14px;
  width: 14px;
}
.badge.neutral {
  background: var(--surface);
  color: var(--muted);
}
.hero {
  padding: 65px 0 45px;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 65px;
  align-items: center;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  font-size: 1.0625rem;
  max-width: 440px;
  margin-top: 22px;
  line-height: 1.75;
}
.hero-proof {
  display: flex;
  gap: 22px;
  font-size: 0.8125rem;
  color: #596375;
  margin-top: 27px;
}
.hero-proof span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero-proof .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.primary,
.secondary,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 12px 20px;
  min-height: 46px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 3px 6px #4659d31a;
}
.primary:hover {
  background: #3547bc;
}
.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}
.secondary:hover {
  background: var(--surface);
}
.text-button {
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  min-height: 40px;
}
.text-button:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.primary .icon,
.secondary .icon {
  height: 17px;
  width: 17px;
}
.choose-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 9px;
  background: white;
}
.drop-zone {
  border: 1px dashed #cbd1e4;
  background: #fafbff;
  border-radius: 13px;
  padding: 31px 18px;
  text-align: center;
  transition: background 0.15s;
  min-height: 262px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.drop-zone.dragging {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.drop-symbol {
  height: 51px;
  width: 51px;
  border: 1px solid #e0e5f0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--accent);
  margin-bottom: 14px;
  box-shadow: 0 3px 5px #20294304;
}
.drop-symbol .icon {
  height: 25px;
  width: 25px;
}
.drop-zone h3 {
  font-size: 1.0625rem;
}
.drop-zone p {
  font-size: 0.875rem;
  margin: 5px 0 19px;
}
.drop-zone .small {
  margin: 14px 0 0;
  font-size: 0.75rem;
}
.choose-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 8px 6px;
  color: var(--green);
  font-size: 0.75rem;
}
.choose-foot .icon {
  width: 15px;
  height: 15px;
}
.home-search {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  align-items: center;
  padding: 0 16px;
  max-width: 100%;
  margin: 5px 0 36px;
}
.home-search input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 16px 0;
  box-shadow: none;
  font-size: 0.875rem;
}
.home-search .icon {
  color: #7c879c;
}
.key {
  font-size: 0.75rem;
  border: 1px solid #dbe0e9;
  border-radius: 4px;
  padding: 0 6px;
  color: #8b93a1;
  background: white;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.section-head h2 {
  font-size: 1.55rem;
}
.section-head p {
  font-size: 0.875rem;
  margin-top: 6px;
}
.section-head a {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 550;
}
.tools-section {
  padding: 12px 0 48px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tool-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px 22px;
  display: block;
  position: relative;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.tool-card:hover {
  box-shadow: 0 6px 20px #24346409;
  transform: translateY(-2px);
  border-color: #c3cbe9;
}
.tool-icon {
  width: 37px;
  height: 37px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}
.tool-icon.teal {
  background: #eaf5f5;
  color: #267979;
}
.tool-icon.rose {
  background: #fcf0ee;
  color: #b66250;
}
.tool-card h3 {
  font-size: 0.9375rem;
}
.tool-card p {
  font-size: 0.8125rem;
  margin: 5px 0 2px;
  line-height: 1.65;
  max-width: 255px;
}
.card-arrow {
  position: absolute;
  right: 20px;
  top: 24px;
  color: #9ba5b7;
}
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: white;
  font-size: 0.8125rem;
  color: var(--muted);
}
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.privacy-strip {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 65px;
  background: #f5f7fc;
  border-radius: 16px;
  padding: 34px 38px;
  margin: 0 0 55px;
}
.privacy-strip h2 {
  font-size: 1.65rem;
  max-width: 290px;
}
.privacy-strip p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 10px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-num {
  font-size: 0.75rem;
  color: #8b96ab;
  margin-bottom: 10px;
  display: block;
}
.steps h3 {
  font-size: 0.875rem;
}
.steps p {
  font-size: 0.8125rem;
}
.page-heading {
  padding: 42px 0 30px;
}
.page-heading h1 {
  font-size: 2.65rem;
  letter-spacing: -0.045em;
}
.page-heading p {
  margin-top: 12px;
  max-width: 680px;
}
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.workspace-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.tool-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.side-label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: #8b93a1;
  font-weight: 700;
  padding: 8px 12px 14px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  margin-bottom: 4px;
  color: #5d6678;
}
.side-link .icon {
  width: 17px;
  height: 17px;
}
.side-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}
.side-privacy {
  margin-top: 24px;
  padding: 18px 12px;
  border-top: 1px solid var(--line);
}
.side-privacy p {
  font-size: 0.75rem;
  margin-top: 8px;
  line-height: 1.7;
}
.tool-surface {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.surface-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.surface-heading h2 {
  font-size: 1.2rem;
}
.file-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.file-info {
  min-width: 0;
  flex: 1;
}
.file-name {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 550;
}
.file-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.file-row .icon-button {
  border: 0;
  background: transparent;
  min-width: 30px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 550;
  color: #505a6e;
}
.field small {
  font-weight: 400;
}
.settings-grid > .wide {
  grid-column: 1/-1;
}
.option-note {
  font-size: 0.8125rem;
  line-height: 1.7;
  border-left: 2px solid #d0d9f5;
  padding-left: 12px;
  margin-top: 15px;
}
.range-field {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfe;
  padding: 17px;
  transition: opacity 0.15s;
}
.range-field.is-disabled {
  opacity: 0.5;
}
.range-heading,
.range-number-row,
.range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.range-heading output {
  color: var(--accent);
  font-weight: 650;
  font-size: 0.8125rem;
}
.range-number-row input[type="range"] {
  flex: 1;
  min-width: 80px;
  height: 44px;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.range-number-row input[type="range"]::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) var(--range-progress),
    #dfe3ed var(--range-progress)
  );
}
.range-number-row input[type="range"]::-moz-range-track {
  height: 7px;
  border-radius: 999px;
  background: #dfe3ed;
}
.range-number-row input[type="range"]::-moz-range-progress {
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}
.range-number-row input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -7.5px;
  appearance: none;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 1px #4353c8,
    0 3px 8px #27368340;
}
.range-number-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 1px #4353c8,
    0 3px 8px #27368340;
}
.range-number-row input[type="range"]:focus-visible {
  outline: 3px solid #8393f0;
  outline-offset: 2px;
}
.range-number-row input[type="range"]:disabled {
  cursor: not-allowed;
}
.range-value {
  width: 82px;
  flex: 0 0 82px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.range-scale {
  font-size: 0.6875rem;
  font-weight: 450;
  color: var(--muted);
  padding-right: 96px;
}
.range-field small {
  line-height: 1.5;
}
.crop-editor {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.crop-editor-heading,
.crop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}
.crop-editor-heading {
  border-bottom: 1px solid var(--line);
}
.crop-editor-heading .eyebrow {
  margin-bottom: 5px;
}
.crop-editor-heading h3 {
  font-size: 1.05rem;
}
.crop-editor-heading p {
  font-size: 0.8125rem;
  margin-top: 3px;
}
.crop-editor-heading .secondary {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 13px;
}
.crop-editor-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}
.crop-editor-actions [aria-pressed="true"] {
  border-color: var(--accent);
  background: #eef0ff;
  color: var(--accent);
}
.crop-toolbar {
  background: #fafbfe;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.crop-page-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.crop-page-nav .icon-button {
  min-width: 38px;
  min-height: 38px;
}
.crop-apply {
  flex-direction: row;
  align-items: center;
  margin-left: auto;
}
.crop-apply select {
  min-height: 38px;
  padding: 6px 30px 6px 10px;
}
.crop-help {
  color: var(--muted);
  font-size: 0.75rem;
}
.crop-stage-wrap {
  padding: 24px;
  background:
    linear-gradient(45deg, #e8ebf2 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(-45deg, #e8ebf2 25%, transparent 25%) 0 9px / 18px 18px,
    linear-gradient(45deg, transparent 75%, #e8ebf2 75%) 9px -9px / 18px 18px,
    linear-gradient(-45deg, transparent 75%, #e8ebf2 75%) -9px 0 / 18px 18px,
    #f3f5f9;
}
.crop-stage {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 40px #1a233229;
  touch-action: none;
  user-select: none;
}
.crop-stage.is-drawing,
.crop-stage.is-drawing .crop-box,
.crop-stage.is-drawing .crop-handle {
  cursor: crosshair;
}
.crop-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.crop-shade {
  position: absolute;
  z-index: 2;
  background: #11182794;
  pointer-events: none;
}
.crop-shade-top {
  inset: 0 0 auto;
}
.crop-shade-bottom {
  inset: auto 0 0;
}
.crop-shade-left {
  left: 0;
}
.crop-shade-right {
  right: 0;
}
.crop-box {
  position: absolute;
  z-index: 3;
  border: 2px solid white;
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  cursor: move;
  box-shadow: inset 0 0 0 1px #1720334d;
}
.crop-box:focus-visible {
  outline: 3px solid #8393f0;
  outline-offset: 2px;
}
.crop-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px #18204059;
}
.crop-handle-nw,
.crop-handle-w,
.crop-handle-sw {
  left: -7px;
}
.crop-handle-ne,
.crop-handle-e,
.crop-handle-se {
  right: -7px;
}
.crop-handle-n,
.crop-handle-s {
  left: calc(50% - 7px);
}
.crop-handle-nw,
.crop-handle-n,
.crop-handle-ne {
  top: -7px;
}
.crop-handle-sw,
.crop-handle-s,
.crop-handle-se {
  bottom: -7px;
}
.crop-handle-w,
.crop-handle-e {
  top: calc(50% - 7px);
}
.crop-handle-nw,
.crop-handle-se {
  cursor: nwse-resize;
}
.crop-handle-ne,
.crop-handle-sw {
  cursor: nesw-resize;
}
.crop-handle-n,
.crop-handle-s {
  cursor: ns-resize;
}
.crop-handle-e,
.crop-handle-w {
  cursor: ew-resize;
}
.crop-size-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 5px;
  background: #121827d9;
  color: white;
  padding: 4px 7px;
  font-size: 0.6875rem;
  pointer-events: none;
}
.crop-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f7f8fbea;
  color: var(--muted);
  font-size: 0.8125rem;
}
.crop-stats {
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.error {
  padding: 13px 16px;
  border: 1px solid #efcccc;
  background: #fff5f4;
  color: #9d3d39;
  border-radius: 8px;
  font-size: 0.875rem;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  padding: 17px;
  border-radius: 10px;
  margin: 20px 0;
}
.progress p {
  font-size: 0.8125rem;
}
.progress .text-button {
  margin-left: auto;
}
.spinner {
  width: 21px;
  height: 21px;
  border: 2px solid #d0d7fb;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.result {
  background: var(--green-soft);
  border: 1px solid #cce5d7;
  border-radius: 12px;
  padding: 22px;
  margin-top: 22px;
}
.result h3 {
  color: var(--green);
  font-size: 1.25rem;
}
.result p {
  font-size: 0.875rem;
  margin: 6px 0 18px;
}
.result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.workspace-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
}
.workspace-foot .icon {
  width: 14px;
  height: 14px;
}
.sample-link {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 0.8125rem;
  margin-top: 14px;
  padding: 8px;
}
.faq-block {
  margin: 24px 0 40px;
}
.faq-block details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.faq-block summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 550;
}
.faq-block p {
  font-size: 0.875rem;
  margin-top: 10px;
  line-height: 1.8;
}
.analytics-empty {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  margin: 0 0 55px;
  align-items: start;
}
.analytics-benefits {
  display: grid;
  gap: 20px;
  padding-top: 20px;
}
.benefit {
  display: flex;
  gap: 15px;
}
.benefit p {
  font-size: 0.875rem;
  margin-top: 4px;
}
.benefit .tool-icon {
  flex-shrink: 0;
}
.analysis-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
}
.analysis-toolbar h2 {
  font-size: 1.3rem;
  word-break: break-word;
}
.toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab-bar {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  overflow: auto;
}
.tab-button {
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 13px 2px;
  font-size: 0.875rem;
  color: var(--muted);
}
.tab-button.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: white;
}
.kpi span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.kpi strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 600;
  margin-top: 7px;
  letter-spacing: -0.035em;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  background: white;
  margin: 18px 0;
}
.panel h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.panel p {
  font-size: 0.875rem;
}
.admin-enquiry {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.admin-enquiry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.admin-enquiry .small {
  margin: 5px 0 10px;
  line-height: 1.65;
}
.admin-enquiry > p:last-child {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow: auto;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 11px 15px;
  border-bottom: 1px solid #eef0f4;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}
th {
  color: #5d6679;
  background: #f7f8fb;
  font-weight: 550;
  position: sticky;
  top: 0;
  z-index: 1;
}
tbody tr:hover {
  background: #fafbff;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
  font-size: 0.8125rem;
}
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 12px;
  align-items: end;
}
.chart-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.chart-area {
  min-height: 300px;
  position: relative;
}
.chart-area svg {
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
}
.chart-area svg text {
  font-family: inherit;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.chart-grid .panel {
  margin: 0;
  min-width: 0;
}
.chart-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}
.command-row {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}
.command-row input {
  flex: 1;
  min-width: 0;
}
.empty-state {
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.empty-state p {
  margin: 8px 0 20px;
  font-size: 0.875rem;
}
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 35px 0;
}
.price-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--accent);
}
.popular {
  font-size: 0.6875rem;
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 0.06em;
  position: absolute;
  top: -11px;
  background: white;
  padding: 0 6px;
}
.price {
  font-size: 2.2rem;
  letter-spacing: -0.06em;
  font-weight: 650;
  margin: 23px 0 0;
}
.price small {
  font-size: 0.8125rem;
  letter-spacing: 0;
  font-weight: 400;
}
.price-card > p {
  font-size: 0.8125rem;
  min-height: 44px;
  margin-top: 8px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  font-size: 0.8125rem;
  color: #596376;
}
.price-card li {
  margin: 12px 0;
}
.price-card li:before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
}
.price-card .primary,
.price-card .secondary {
  width: 100%;
}
.narrow {
  max-width: 780px;
  margin: auto;
  padding: 40px 28px 70px;
}
.about-page {
  padding-top: 52px;
  padding-bottom: 72px;
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 72px;
  padding: 16px 0 70px;
}
.about-hero h1 span {
  color: var(--accent);
}
.about-hero > div:first-child > p {
  max-width: 660px;
  margin: 22px 0 28px;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.about-logo-card {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #f8f9ff, #fff8ed);
  display: grid;
  place-items: center;
  align-content: center;
  padding: 34px;
  box-shadow: var(--shadow);
}
.about-logo-card img {
  width: min(270px, 80%);
  height: auto;
}
.about-logo-card p {
  max-width: 310px;
  margin-top: 6px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.about-story,
.difference-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}
.about-story p,
.difference-strip p {
  font-size: 0.9375rem;
  line-height: 1.85;
}
.about-story p + p,
.difference-strip p + p {
  margin-top: 18px;
}
.about-values {
  padding: 55px 0 68px;
}
.about-values .eyebrow {
  margin-bottom: 10px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.value-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  background: white;
}
.value-grid h3 {
  margin-top: 18px;
}
.value-grid p {
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-top: 7px;
}
.difference-strip {
  border: 0;
  border-radius: 18px;
  background: #f5f7fc;
  padding: 42px;
}
.founder-card,
.about-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
.founder-card p {
  max-width: 650px;
  margin-top: 10px;
  line-height: 1.75;
}
.founder-links {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.about-cta {
  border: 0;
  padding-bottom: 0;
}
.about-cta .eyebrow,
.founder-card .eyebrow {
  margin-bottom: 10px;
}
.contact-page {
  padding-top: 46px;
  padding-bottom: 76px;
}
.contact-heading {
  max-width: 800px;
  margin-bottom: 40px;
}
.contact-heading h1 {
  font-size: 3.1rem;
}
.contact-heading .lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
}
.contact-details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 28px;
}
.contact-details {
  background: #f7f8fc;
}
.contact-owner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.contact-owner img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
.contact-owner h2 {
  font-size: 1.25rem;
  margin-top: 4px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: white;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-method small,
.contact-method strong {
  display: block;
}
.contact-method strong {
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}
.contact-method:hover strong {
  color: var(--accent);
}
.contact-note {
  font-size: 0.75rem;
  line-height: 1.7;
  margin-top: 20px;
}
.contact-form {
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-form > div:first-child > p {
  font-size: 0.875rem;
  margin-top: 6px;
}
.contact-form .eyebrow {
  margin-bottom: 8px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 22px;
}
.contact-form-grid .wide {
  grid-column: 1 / -1;
}
.form-privacy {
  line-height: 1.65;
  margin-top: 15px;
}
.narrow h1 {
  font-size: 2.6rem;
}
.narrow .lead {
  font-size: 1.0625rem;
  margin: 18px 0 30px;
}
.prose h2 {
  font-size: 1.3rem;
  margin: 29px 0 12px;
}
.prose p,
.prose li {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}
.prose ul {
  padding-left: 23px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
}
.notice {
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.8125rem;
  color: #626b7d;
  margin: 20px 0;
}
.auth-card {
  max-width: 470px;
  margin: 60px auto 80px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 2rem;
}
.auth-card p {
  font-size: 0.9375rem;
  margin: 16px 0 24px;
}
.auth-card .primary {
  width: 100%;
}
.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
  margin: 35px 0 70px;
}
.account-nav a {
  display: flex;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 5px;
}
.account-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row p {
  font-size: 0.8125rem;
  margin-top: 5px;
}
.setting-row .secondary {
  flex-shrink: 0;
}
.danger {
  color: #a63e3e;
  border-color: #e6c3c3;
}
.progress-track {
  height: 6px;
  background: #e6eaf5;
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
}
.flex {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.spacer {
  height: 20px;
}
.status-label {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 650;
  color: #4b5588;
  background: #eff1fb;
}
.status-label.live {
  color: var(--green);
  background: var(--green-soft);
}
footer {
  border-top: 1px solid var(--line);
  padding: 42px max(5vw, 24px) 36px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}
footer .brand {
  font-size: 1.25rem;
}
footer .brand-symbol {
  transform: scale(0.86);
  transform-origin: left center;
  margin-right: 4px;
}
footer p {
  font-size: 0.8125rem;
  margin: 12px 0 22px;
}
footer > div > strong {
  display: block;
  font-size: 0.8125rem;
  margin: 0 0 14px;
}
footer > div > a:not(.brand) {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 9px 0;
}
footer a:hover {
  color: var(--accent);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 9px;
  padding: 12px 20px;
  box-shadow: var(--shadow);
  z-index: 100;
  max-width: 90vw;
  font-size: 0.875rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .topbar,
  footer {
    padding-left: calc((100vw - 1240px) / 2);
    padding-right: calc((100vw - 1240px) / 2);
  }
}
@media (max-width: 1000px) {
  .topbar {
    gap: 30px;
    padding: 0 25px;
  }
  .topbar nav {
    gap: 19px;
  }
  .topbar nav .nav-company {
    display: none;
  }
  .hero {
    gap: 35px;
  }
  h1 {
    font-size: 3.2rem;
  }
  .workspace-layout {
    grid-template-columns: 175px 1fr;
    gap: 20px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .privacy-strip {
    gap: 30px;
    padding: 30px;
  }
  .steps {
    gap: 15px;
  }
  .hero-proof {
    gap: 14px;
    font-size: 0.75rem;
  }
  .about-hero {
    gap: 38px;
  }
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-layout {
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 72px;
    padding: 0 20px;
    gap: 10px;
  }
  .topbar nav {
    display: none;
  }
  #mobile-menu {
    display: inline-grid;
  }
  .account-link {
    padding: 8px 11px;
    font-size: 0.75rem;
  }
  .brand {
    font-size: 1.3rem;
  }
  .brand-symbol {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    margin-right: 7px;
  }
  .brand-symbol img {
    width: 64px;
    height: 64px;
    left: -10px;
    top: -9px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 36px 0 30px;
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero p {
    margin-top: 16px;
    font-size: 1rem;
  }
  .eyebrow {
    margin-bottom: 17px;
  }
  .hero-proof {
    margin-top: 20px;
  }
  .drop-zone {
    min-height: 242px;
    padding: 24px 15px;
  }
  .home-search {
    margin-bottom: 28px;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tool-card {
    padding: 18px 16px;
  }
  .card-arrow {
    right: 13px;
    top: 20px;
  }
  .privacy-strip {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
    margin-bottom: 35px;
  }
  .privacy-strip h2 {
    max-width: none;
  }
  .steps {
    gap: 18px;
  }
  .section-head h2 {
    font-size: 1.35rem;
  }
  .section-head a {
    font-size: 0.8125rem;
  }
  .page-heading {
    padding: 29px 0 24px;
  }
  .page-heading h1 {
    font-size: 2.3rem;
  }
  .page-heading p {
    font-size: 0.9375rem;
  }
  .workspace-layout {
    display: block;
    margin-bottom: 40px;
  }
  .tool-sidebar {
    display: none;
  }
  .tool-surface {
    padding: 20px;
  }
  .crop-editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .crop-editor-actions,
  .crop-editor-heading .secondary {
    width: 100%;
  }
  .crop-editor-actions {
    flex-direction: column;
  }
  .crop-toolbar {
    align-items: flex-start;
  }
  .crop-apply {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .crop-stage-wrap {
    padding: 14px;
  }
  .crop-help {
    display: none;
  }
  .surface-heading {
    gap: 10px;
  }
  .surface-heading .badge {
    font-size: 0.6875rem;
  }
  .analytics-empty {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi {
    padding: 17px;
  }
  .filter-row,
  .chart-controls {
    grid-template-columns: 1fr 1fr;
  }
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  .account-layout {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .account-nav {
    display: flex;
    gap: 6px;
    overflow: auto;
  }
  .account-nav a {
    white-space: nowrap;
  }
  .setting-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer {
    padding: 32px 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  footer p {
    margin: 10px 0;
  }
  .auth-card {
    margin: 35px 20px 50px;
    padding: 28px;
  }
  .narrow {
    padding: 30px 20px 50px;
  }
  .narrow h1 {
    font-size: 2.25rem;
  }
  .about-page,
  .contact-page {
    padding-top: 30px;
    padding-bottom: 50px;
  }
  .about-hero,
  .about-story,
  .difference-strip,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-hero {
    gap: 30px;
    padding-bottom: 50px;
  }
  .about-hero h1,
  .contact-heading h1 {
    font-size: 2.65rem;
  }
  .about-logo-card {
    min-height: 320px;
  }
  .about-story {
    gap: 24px;
    padding: 42px 0;
  }
  .difference-strip {
    gap: 20px;
    padding: 28px;
  }
  .founder-card,
  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-heading {
    margin-bottom: 28px;
  }
  .contact-details,
  .contact-form {
    padding: 24px;
  }
  .toolbar-actions .secondary {
    padding: 9px 12px;
  }
  .command-row {
    flex-wrap: wrap;
  }
  .command-row input {
    min-width: 100%;
  }
  .command-row .primary {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.85rem;
  }
  .tool-grid {
    gap: 9px;
  }
  .tool-card {
    padding: 16px 13px;
  }
  .tool-card h3 {
    font-size: 0.875rem;
  }
  .tool-card p {
    font-size: 0.75rem;
  }
  .card-arrow {
    display: none;
  }
  .steps,
  .pricing-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .hero-proof {
    gap: 8px;
    font-size: 0.6875rem;
  }
  .surface-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .range-number-row {
    gap: 9px;
  }
  .range-value {
    flex-basis: 72px;
    width: 72px;
  }
  .range-scale {
    padding-right: 81px;
  }
  .brand {
    font-size: 1.2rem;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .brand-symbol img {
    width: 58px;
    height: 58px;
    left: -9px;
    top: -8px;
  }
  .account-link {
    padding: 8px;
  }
  footer {
    gap: 20px;
  }
  .value-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-grid .wide {
    grid-column: auto;
  }
  .founder-links {
    width: 100%;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .topbar,
  footer,
  .toolbar-actions,
  .tab-bar,
  .analysis-toolbar button,
  .chart-controls,
  .account-nav,
  #toast {
    display: none !important;
  }
  .container {
    max-width: none;
  }
  .chart-grid {
    display: block;
  }
  .chart-grid .panel {
    break-inside: avoid;
    margin: 20px 0;
  }
  .chart-area {
    min-height: 200px;
  }
}
