:root {
  --background: #faf9f6;
  --surface: #ffffff;
  --surface-muted: #f5eee1;
  --surface-soft: #f4f3f1;
  --surface-container: #efeeeb;
  --surface-border: #d9d6cf;
  --surface-border-strong: #b8b3aa;
  --text: #1a1c1a;
  --text-muted: #444748;
  --text-soft: #747878;
  --primary: #002045;
  --primary-deep: #001226;
  --primary-panel: #062a52;
  --secondary: #006a61;
  --ink: #0a0a0a;
  --ink-panel: #111111;
  --accent: #b05a36;
  --accent-strong: #974725;
  --amber: #b05a36;
  --danger: #ba1a1a;
  --radius: 0;
  --container: 1180px;
  --container-narrow: 860px;
  --gutter: 24px;
  --shadow-soft: none;
  --font-body: "Hanken Grotesk", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-label: "Space Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ui-icon {
  --icon-size: 1rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size);
  height: var(--icon-size);
  min-width: var(--icon-size);
  line-height: 1;
  color: currentColor;
  transition: transform 160ms ease;
}

.ui-icon::before,
.ui-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-menu::before {
  top: 18%;
  left: 5%;
  width: 90%;
  height: 64%;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-menu::after {
  top: 50%;
  left: 5%;
  width: 90%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

.icon-photo::before {
  left: 6%;
  bottom: 8%;
  width: 88%;
  height: 72%;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-photo::after {
  top: 19%;
  left: 22%;
  width: 20%;
  height: 20%;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0.55em 0.5em 0 -0.15em currentColor;
}

.icon-add-photo::before {
  left: 11%;
  bottom: 13%;
  width: 78%;
  height: 58%;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.icon-add-photo::after {
  top: 42%;
  left: 36%;
  width: 28%;
  height: 28%;
  border: 3px solid currentColor;
  border-radius: 999px;
  background:
    linear-gradient(currentColor, currentColor) center / 70% 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 3px 70% no-repeat;
}

.icon-crop::before {
  top: 11%;
  left: 11%;
  width: 70%;
  height: 70%;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.icon-crop::after {
  right: 11%;
  bottom: 11%;
  width: 70%;
  height: 70%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-download::before {
  top: 12%;
  left: 50%;
  width: 36%;
  height: 48%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.icon-download::after {
  left: 12%;
  bottom: 14%;
  width: 76%;
  height: 22%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.icon-shield::before {
  top: 5%;
  left: 14%;
  width: 72%;
  height: 88%;
  background: currentColor;
  clip-path: polygon(50% 0, 88% 15%, 78% 68%, 50% 100%, 22% 68%, 12% 15%);
  opacity: 0.18;
}

.icon-shield::after {
  top: 38%;
  left: 31%;
  width: 38%;
  height: 20%;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.icon-high-res::before {
  inset: 10%;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-high-res::after {
  inset: 24%;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.icon-lock::before {
  left: 16%;
  bottom: 10%;
  width: 68%;
  height: 48%;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-lock::after {
  top: 10%;
  left: 27%;
  width: 46%;
  height: 44%;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.icon-ruler::before {
  top: 35%;
  left: 4%;
  width: 92%;
  height: 30%;
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: rotate(-18deg);
}

.icon-ruler::after {
  top: 29%;
  left: 28%;
  width: 44%;
  height: 42%;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-18deg);
}

.icon-print::before {
  left: 13%;
  top: 30%;
  width: 74%;
  height: 46%;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-print::after {
  left: 24%;
  top: 9%;
  width: 52%;
  height: 34%;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0.72em 0 -0.18em currentColor;
}

.icon-devices::before {
  left: 5%;
  top: 16%;
  width: 66%;
  height: 54%;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-devices::after {
  right: 7%;
  bottom: 10%;
  width: 30%;
  height: 60%;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: var(--surface-muted);
}

.icon-upload::before {
  top: 16%;
  left: 50%;
  width: 38%;
  height: 38%;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.icon-upload::after {
  left: 16%;
  bottom: 18%;
  width: 68%;
  height: 24%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.icon-expand::before {
  top: 34%;
  left: 31%;
  width: 38%;
  height: 38%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-reset::before {
  inset: 16%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  transform: rotate(-35deg);
}

.icon-reset::after {
  top: 17%;
  right: 12%;
  width: 30%;
  height: 30%;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(22deg);
}

.container,
.container-narrow {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - (var(--gutter) * 2), var(--container-narrow));
}

.centered {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 246, 0.94);
  border-bottom: 1px solid rgba(42, 43, 47, 0.12);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
}

.nav-cta:hover {
  background: #242424;
}

.nav-menu {
  display: none;
  color: var(--ink);
}

.hero {
  padding: 48px 0 24px;
  color: var(--text);
  background: var(--background);
}

.hero-copy {
  text-align: center;
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  margin-left: 4px;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
}

.hero-lede {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.trust-line {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-shell {
  border: 1px solid rgba(42, 43, 47, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.tool-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-label,
.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upload-zone {
  min-height: 160px;
  border: 1px dashed rgba(42, 43, 47, 0.28);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.upload-zone:hover,
.upload-zone:focus-visible,
.upload-zone.is-dragging {
  border-color: var(--ink);
  background: var(--surface-container);
}

.upload-zone:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.upload-zone.is-dragging {
  transform: translateY(-1px);
}

.upload-icon {
  --icon-size: 50px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 50px;
}

.upload-title {
  max-width: 210px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upload-meta {
  color: var(--text-soft);
  font-family: var(--font-label);
  font-size: 12px;
}

.upload-status {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.upload-status.is-info {
  color: var(--text-muted);
}

.upload-status.is-success {
  border-color: rgba(68, 71, 72, 0.3);
  background: #e9e8e5;
  color: var(--ink);
}

.upload-status.is-warning {
  border-color: rgba(176, 90, 54, 0.36);
  background: #ffdbce;
  color: #79300f;
}

.upload-status.is-error {
  border-color: rgba(186, 26, 26, 0.38);
  background: #ffdad6;
  color: #93000a;
}

.size-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.size-option {
  min-height: 52px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.size-option span,
.size-option small {
  display: block;
}

.size-option small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: currentColor;
  opacity: 0.7;
}

.size-option.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.preview-card {
  position: relative;
  height: 160px;
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  touch-action: none;
}

.preview-card.has-user-image {
  cursor: grab;
}

.preview-card.is-panning {
  cursor: grabbing;
}

.preview-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  filter: none;
  opacity: 0.94;
}

.preview-card.has-user-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: none;
  object-fit: initial;
  filter: none;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  transform-origin: 0 0;
  will-change: transform;
}

.crop-frame {
  position: absolute;
  top: 18px;
  left: 50%;
  height: calc(100% - 36px);
  aspect-ratio: 2 / 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 999px rgba(10, 10, 10, 0.5);
}

.crop-frame .ui-icon {
  --icon-size: 36px;
  font-size: 36px;
}

.crop-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 2px solid var(--ink);
}

.top-left {
  top: -7px;
  left: -7px;
}

.top-right {
  top: -7px;
  right: -7px;
}

.bottom-left {
  bottom: -7px;
  left: -7px;
}

.bottom-right {
  right: -7px;
  bottom: -7px;
}

.preview-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.82);
  color: #ffffff;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crop-control-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.crop-control-row label {
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crop-control-row input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}

.crop-control-row button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.crop-control-row button .ui-icon {
  font-size: 18px;
}

.download-stack {
  display: grid;
  gap: 10px;
}

.primary-download,
.secondary-actions button,
.cta-button {
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: default;
}

.primary-download {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: #ffffff;
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-actions button {
  min-height: 40px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--surface-border);
  font-size: 13px;
}

[data-download-action]:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

[data-crop-action]:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.secondary-actions button:not(:disabled),
.primary-download:not(:disabled),
[data-crop-action]:not(:disabled) {
  cursor: pointer;
}

.print-notice {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(176, 90, 54, 0.34);
  border-radius: var(--radius);
  background: #ffdbce;
  color: #79300f;
  font-size: 12px;
  line-height: 1.45;
}

.tool-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 13px;
}

.tool-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tool-trust .ui-icon {
  --icon-size: 16px;
  font-size: 16px;
}

.section {
  padding: 86px 0;
}

.section-white {
  background: var(--background);
}

.section-muted {
  background: var(--surface-muted);
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 42px;
}

.section-heading .eyebrow,
.copy-block .eyebrow {
  color: var(--accent-strong);
}

h2,
h3,
p {
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

.section-heading p:not(.eyebrow),
.copy-block p {
  margin: 14px 0 0;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card:nth-child(2) {
  background: var(--surface-muted);
}

.feature-card > .ui-icon {
  --icon-size: 38px;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--ink);
  justify-content: flex-start;
  font-size: 27px;
}

.feature-card p,
.step-card p,
.faq-list p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.split-layout,
.compare-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--surface-border);
}

th {
  background: var(--surface-container);
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td:first-child {
  color: var(--ink);
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 17%;
  right: 17%;
  height: 1px;
  background: var(--surface-border-strong);
}

.step-card {
  position: relative;
  text-align: center;
}

.step-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.step-icon .ui-icon {
  --icon-size: 34px;
  font-size: 34px;
}

.step-number {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
}

.compare-section {
  overflow: hidden;
}

.mini-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.mini-table div {
  padding: 16px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
}

.mini-table strong,
.mini-table span {
  display: block;
}

.mini-table strong {
  color: var(--ink);
}

.mini-table span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 13px;
}

.image-composition {
  position: relative;
  padding: 0 0 42px 44px;
}

.wallet-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--surface-border);
}

.comparison-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 178px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
}

.faq-container {
  max-width: 720px;
}

.simple-page {
  background: var(--background);
}

.simple-hero {
  padding: 70px 0;
  background: var(--background);
  color: var(--text);
  border-bottom: 1px solid var(--surface-border);
}

.simple-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
}

.simple-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.policy-content {
  max-width: 780px;
  padding-top: 64px;
  padding-bottom: 80px;
}

.policy-content section + section {
  margin-top: 34px;
}

.policy-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
}

.policy-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.policy-content a {
  color: var(--accent-strong);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--surface-border);
}

.faq-list details[open] summary .ui-icon {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: 0;
  padding: 18px 22px 22px;
}

.cta-section {
  padding: 86px 0;
  background: var(--background);
  color: var(--text);
  border-top: 1px solid var(--surface-border);
}

.cta-section h2 {
  color: var(--ink);
}

.cta-section p {
  max-width: 620px;
  margin: 16px auto 28px;
  color: var(--text-muted);
}

.cta-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: var(--ink);
  color: #ffffff;
}

.site-footer {
  padding: 42px 0 34px;
  background: var(--surface-soft);
  border-top: 1px solid var(--surface-border);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
}

.footer-brand {
  color: var(--ink);
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-note {
  border-top: 1px solid var(--surface-border);
  padding-top: 26px;
  text-align: center;
}

.footer-note p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 12px;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .copy-block {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }

  .nav {
    min-height: 58px;
  }

  .nav-links {
    display: none;
  }

  .nav-menu {
    display: inline-flex;
  }

  .brand {
    font-size: 15px;
  }

  .hero {
    padding: 46px 0 50px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h1 span {
    margin-top: 6px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .tool-shell {
    padding: 18px;
  }

  .tool-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .upload-zone,
  .preview-card,
  .preview-card img {
    height: 210px;
    min-height: 210px;
  }

  .secondary-actions,
  .crop-control-row,
  .mini-table {
    grid-template-columns: 1fr;
  }

  .tool-trust {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .section,
  .cta-section {
    padding: 62px 0;
  }

  h2 {
    font-size: 27px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .steps::before {
    display: none;
  }

  .image-composition {
    padding: 0;
  }

  .comparison-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(210px, 62%);
    margin: -34px 0 0 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 30px;
  }

  .size-selector {
    grid-template-columns: 1fr;
  }

  .primary-download {
    min-height: 58px;
    padding: 0 12px;
    text-align: center;
  }

  th,
  td {
    padding: 13px;
  }
}
