:root {
  --brand: #0b6b63;
  --brand-deep: #07544e;
  --brand-dark: #043d39;
  --brand-bright: #37b9ab;
  --mint: #84ddd2;
  --mint-pale: #dff3ef;
  --ink: #17312e;
  --muted: #5f716d;
  --line: #d8e3e0;
  --canvas: #f4f7f6;
  --surface: #ffffff;
  --soft: #e7f0ee;
  --warning: #ad5417;
  --completed: #1f7650;
  --shadow-sm: 0 14px 35px rgba(20, 64, 58, 0.08);
  --shadow-lg: 0 34px 90px rgba(4, 61, 57, 0.18);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 49, 46, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(4, 61, 57, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11, 107, 99, 0.23);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 680;
}

.site-nav > a {
  color: #3e5652;
  transition: color 160ms ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--brand);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 82px;
  padding: 6px 9px;
  border: 1px solid rgba(23, 49, 46, 0.11);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.language-switch span {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.language-switch button {
  padding: 0;
  color: #80908c;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  color: var(--brand);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 12px;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 860px;
  padding: 148px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(55, 185, 171, 0.15), transparent 26%),
    radial-gradient(circle at 14% 82%, rgba(132, 221, 210, 0.13), transparent 22%),
    linear-gradient(180deg, #f4faf8 0%, #ffffff 86%);
}

.hero::before {
  position: absolute;
  top: -230px;
  right: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(11, 107, 99, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(11, 107, 99, 0.025),
    0 0 0 145px rgba(11, 107, 99, 0.018);
  content: "";
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(11, 107, 99, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 107, 99, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, transparent 85%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.86fr);
  gap: 68px;
  align-items: center;
}

.hero-copy {
  padding-top: 20px;
}

.eyebrow,
.section-kicker,
.mini-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow {
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(11, 107, 99, 0.13);
  background: rgba(231, 240, 238, 0.78);
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(55, 185, 171, 0.14);
}

.hero h1 {
  max-width: 720px;
  margin: 26px 0 24px;
  font-size: clamp(50px, 5.7vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
}

.accent-text {
  color: var(--brand);
  background: linear-gradient(112deg, var(--brand-deep), var(--brand), var(--brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 28px rgba(11, 107, 99, 0.24);
}

.button-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 18px 34px rgba(11, 107, 99, 0.3);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: #b7ccc7;
  box-shadow: var(--shadow-sm);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding: 0;
  margin: 28px 0 0;
  color: #4d625e;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list li > span:first-child {
  display: grid;
  width: 20px;
  height: 20px;
  color: var(--brand);
  background: var(--mint-pale);
  border-radius: 50%;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.hero-product {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.focus-corner {
  position: absolute;
  z-index: 1;
  width: 106px;
  height: 106px;
  opacity: 0.42;
}

.focus-corner-top {
  top: 37px;
  right: 3px;
  border-top: 3px solid var(--brand-bright);
  border-right: 3px solid var(--brand-bright);
  border-radius: 0 24px 0 0;
}

.focus-corner-bottom {
  bottom: 19px;
  left: 7px;
  border-bottom: 3px solid var(--brand-bright);
  border-left: 3px solid var(--brand-bright);
  border-radius: 0 0 0 24px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: min(295px, calc(100vw - 64px));
  padding: 8px;
  background: #18322f;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 33px;
  box-shadow: var(--shadow-lg);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.workspace-preview {
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
}

.workspace-preview figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
}

.principles {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-grid > div {
  min-width: 0;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.principle-grid > div:first-child {
  padding-left: 0;
}

.principle-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-grid strong,
.principle-grid span {
  display: block;
}

.principle-grid strong {
  color: var(--brand);
  font-size: 17px;
}

.principle-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 112px 0;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading.centered {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.privacy-copy h2,
.support-grid h2 {
  margin: 14px 0 16px;
  font-size: clamp(35px, 4.2vw, 53px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p,
.support-grid > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.split-heading h2 {
  max-width: 760px;
}

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

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

.workflow-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.workflow-card::after {
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(11, 107, 99, 0.1);
  border-radius: 50%;
  content: "";
}

.step-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #adc1bc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-icon {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  margin: 26px 0 37px;
  color: var(--brand);
  background: var(--mint-pale);
  border-radius: 22px;
  place-items: center;
}

.camera-icon i {
  width: 36px;
  height: 26px;
  border: 3px solid var(--brand);
  border-radius: 8px;
}

.camera-icon i::before {
  position: absolute;
  top: 20px;
  left: 27px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--brand);
  border-radius: 50%;
  content: "";
}

.camera-icon i::after {
  position: absolute;
  top: 17px;
  left: 24px;
  width: 22px;
  height: 7px;
  background: var(--brand);
  border-radius: 5px 5px 0 0;
  content: "";
}

.mark-icon i {
  width: 34px;
  height: 29px;
  border: 3px solid var(--brand);
}

.mark-icon b {
  position: absolute;
  width: 35px;
  height: 3px;
  background: var(--brand);
  transform: rotate(-40deg);
}

.mark-icon b::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 3px solid var(--brand);
  border-right: 3px solid var(--brand);
  content: "";
  transform: rotate(45deg);
}

.document-icon i {
  width: 31px;
  height: 39px;
  border: 3px solid var(--brand);
  border-radius: 4px;
}

.document-icon b {
  position: absolute;
  top: 29px;
  left: 25px;
  width: 20px;
  height: 3px;
  background: var(--brand);
  box-shadow: 0 8px 0 var(--brand), 0 16px 0 var(--brand);
}

.share-icon i {
  display: grid;
  width: 35px;
  height: 31px;
  padding-bottom: 8px;
  border-right: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  border-left: 3px solid var(--brand);
  border-radius: 0 0 7px 7px;
  place-items: center;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.workflow-card h3,
.feature-tile h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.workflow-card p,
.feature-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.features-section {
  background: var(--canvas);
}

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

.feature-tile {
  position: relative;
  min-height: 355px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
}

.feature-wide {
  grid-column: 1 / -1;
  min-height: 390px;
}

.compare-feature,
.field-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
  gap: 52px;
  align-items: center;
}

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

.feature-tile h3 {
  margin-top: 12px;
  font-size: 29px;
}

.comparison-demo {
  display: grid;
  grid-template-columns: 1fr 42px 1fr;
  gap: 12px;
  align-items: center;
}

.demo-photo {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(20, 64, 58, 0.13);
}

.demo-photo span {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  padding: 4px 8px;
  color: #fff;
  background: rgba(4, 61, 57, 0.75);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.demo-before {
  background:
    linear-gradient(90deg, transparent 43%, rgba(96, 119, 113, 0.9) 44% 52%, transparent 53%),
    linear-gradient(153deg, #d9e1db 0 50%, #a2b3ad 51% 100%);
}

.demo-before i {
  position: absolute;
  top: 70px;
  left: 52px;
  width: 94px;
  height: 72px;
  border: 3px solid #e33434;
}

.demo-after {
  background:
    linear-gradient(90deg, transparent 43%, rgba(187, 205, 198, 0.9) 44% 52%, transparent 53%),
    linear-gradient(153deg, #f0f4ef 0 50%, #cbd8d3 51% 100%);
}

.demo-after b {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  place-items: center;
  font-size: 22px;
}

.comparison-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--brand);
  background: var(--mint-pale);
  border-radius: 50%;
  place-items: center;
  font-weight: 900;
}

.pdf-feature {
  background:
    radial-gradient(circle at 88% 8%, rgba(132, 221, 210, 0.25), transparent 34%),
    #fff;
}

.feature-badge {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 54px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: 22px;
  box-shadow: 0 14px 25px rgba(11, 107, 99, 0.21);
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.backup-feature {
  color: #fff;
  border-color: var(--brand-deep);
  background: linear-gradient(148deg, var(--brand), var(--brand-dark));
}

.backup-feature .mini-kicker,
.backup-feature p {
  color: #cfe8e4;
}

.backup-rings {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 22px;
}

.backup-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.backup-rings span:nth-child(2) {
  inset: 14px;
}

.backup-rings span:nth-child(3) {
  inset: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.backup-rings i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
}

.field-feature {
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
  background:
    linear-gradient(110deg, rgba(231, 240, 238, 0.92), #fff 56%),
    #fff;
}

.field-demo {
  display: grid;
  gap: 10px;
  padding: 23px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.field-demo > span {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  color: var(--muted);
  border: 1px solid #e4ece9;
  background: #fff;
  border-radius: 13px;
  font-size: 12px;
}

.field-demo b {
  color: var(--ink);
  font-weight: 750;
}

.field-demo i {
  font-style: normal;
}

.privacy-section {
  background: #fff;
}

.privacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.78fr);
  gap: 70px;
  align-items: center;
  padding: 68px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 18%, rgba(132, 221, 210, 0.18), transparent 28%),
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
}

.privacy-panel::after {
  position: absolute;
  right: -150px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
  content: "";
}

.privacy-copy,
.privacy-facts {
  position: relative;
  z-index: 2;
}

.light-kicker {
  color: var(--mint);
}

.privacy-copy h2 {
  max-width: 690px;
  margin-top: 15px;
}

.privacy-copy p {
  max-width: 660px;
  margin: 0;
  color: #cfe3df;
  font-size: 17px;
}

.button-light {
  margin-top: 29px;
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.privacy-facts {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.privacy-facts li {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 18px;
}

.privacy-facts li > span {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--mint);
  border: 1px solid rgba(132, 221, 210, 0.35);
  border-radius: 13px;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.privacy-facts strong,
.privacy-facts small {
  display: block;
}

.privacy-facts strong {
  font-size: 14px;
}

.privacy-facts small {
  margin-top: 3px;
  color: #c4dcd7;
  font-size: 11px;
}

.support-section {
  padding-top: 15px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
  align-items: center;
}

.support-grid h2 {
  max-width: 560px;
  margin-bottom: 0;
}

.support-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 24px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin: 0;
  color: var(--muted);
}

.contact-details dt {
  color: var(--ink);
  font-weight: 750;
}

.contact-details dd {
  margin: 0;
}

.contact-details a {
  color: var(--brand);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.use-notice {
  padding: 27px 0;
  color: #4c625e;
  border-top: 1px solid var(--line);
  background: var(--canvas);
  text-align: center;
}

.use-notice p {
  margin: 0;
  font-size: 13px;
}

.site-footer {
  padding: 42px 0;
  color: #3f5853;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 45px;
  align-items: center;
}

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

.footer-brand img {
  border-radius: 10px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand small,
.footer-inner > p {
  color: var(--muted);
  font-size: 11px;
}

.footer-inner nav {
  display: flex;
  gap: 25px;
  font-size: 12px;
  font-weight: 650;
}

.footer-inner nav a:hover {
  color: var(--brand);
}

.footer-inner > p {
  margin: 0;
}

/* Privacy policy */

.legal-page {
  background: var(--canvas);
}

.legal-hero {
  padding: 154px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(132, 221, 210, 0.17), transparent 26%),
    linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 80px;
  align-items: end;
}

.legal-hero h1 {
  margin: 14px 0 17px;
  font-size: clamp(50px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-hero p {
  max-width: 790px;
  margin: 0;
  color: #cbe0dc;
  font-size: 18px;
}

.policy-meta {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.policy-meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.policy-meta dt {
  color: #b8d4ce;
  font-size: 11px;
  font-weight: 650;
}

.policy-meta dd {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.legal-content {
  padding-top: 72px;
  padding-bottom: 95px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 68px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 112px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 19px;
  box-shadow: var(--shadow-sm);
}

.policy-toc > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
}

.policy-toc nav {
  display: grid;
  gap: 2px;
}

.policy-toc a {
  padding: 7px 9px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.35;
}

.policy-toc a:hover {
  color: var(--brand);
  background: var(--soft);
}

.policy-article {
  min-width: 0;
  padding: 10px 54px 50px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.policy-language {
  min-width: 0;
}

.policy-language section {
  position: relative;
  min-width: 0;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.policy-language section:last-child {
  border-bottom: 0;
}

.policy-number {
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.policy-article h2 {
  margin: 4px 0 20px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.policy-article h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.policy-article p {
  margin: 0 0 15px;
  color: #4e625e;
}

.policy-article ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: #4e625e;
}

.policy-callout {
  padding: 18px 20px;
  margin-top: 22px;
  color: var(--brand-deep);
  border-left: 4px solid var(--brand);
  background: var(--mint-pale);
  border-radius: 0 13px 13px 0;
  font-size: 14px;
}

.policy-table-wrap {
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  -webkit-overflow-scrolling: touch;
}

.policy-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
}

.policy-table th,
.policy-table td {
  padding: 14px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th:last-child,
.policy-table td:last-child {
  border-right: 0;
}

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

.policy-table th {
  color: var(--brand-deep);
  background: var(--soft);
  font-size: 11px;
  font-weight: 800;
}

.policy-table td {
  color: #526762;
}

.policy-table td:first-child {
  color: var(--ink);
  font-weight: 750;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.permission-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 16px;
}

.permission-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--brand);
  background: var(--mint-pale);
  border-radius: 11px;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
}

.permission-grid h3 {
  margin: 13px 0 6px;
}

.permission-grid p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1060px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.8fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(45px, 5.7vw, 63px);
  }

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

  .workflow-card {
    min-height: 310px;
  }

  .compare-feature,
  .field-feature {
    grid-template-columns: minmax(0, 0.8fr) minmax(370px, 1.2fr);
    gap: 32px;
  }

  .privacy-panel {
    padding: 52px;
    gap: 42px;
  }

  .legal-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 35px;
  }

  .policy-article {
    padding-right: 38px;
    padding-left: 38px;
  }
}

@media (max-width: 840px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .menu-button {
    display: block;
    cursor: pointer;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 4px;
    padding: 16px 18px 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 35px rgba(4, 61, 57, 0.1);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav > a {
    padding: 11px 9px;
    border-radius: 10px;
  }

  .site-nav > a:hover {
    background: var(--soft);
  }

  .language-switch {
    width: max-content;
    margin: 8px 9px 0;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 74px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .hero-copy {
    padding-top: 0;
    text-align: center;
  }

  .hero h1 {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-lede {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .trust-list {
    justify-content: center;
  }

  .hero-product {
    min-height: 570px;
  }

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

  .principle-grid > div,
  .principle-grid > div:first-child,
  .principle-grid > div:last-child {
    padding: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .principle-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .principle-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section {
    padding: 86px 0;
  }

  .split-heading,
  .support-grid,
  .privacy-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .split-heading {
    text-align: center;
  }

  .feature-wide,
  .compare-feature,
  .field-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-feature .field-demo {
    order: 2;
  }

  .privacy-panel {
    padding: 48px;
  }

  .support-section {
    padding-top: 0;
  }

  .legal-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-toc {
    position: static;
  }

  .policy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .hero {
    padding-top: 105px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    margin-top: 21px;
    font-size: clamp(39px, 12.5vw, 54px);
    letter-spacing: -0.055em;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 11px 18px;
  }

  .hero-product {
    min-height: 525px;
  }

  .focus-corner {
    width: 70px;
    height: 70px;
  }

  .principle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .principle-grid > div,
  .principle-grid > div:first-child,
  .principle-grid > div:last-child,
  .principle-grid > div:nth-child(2n),
  .principle-grid > div:nth-last-child(-n + 2) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .principle-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .privacy-copy h2,
  .support-grid h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .workflow-grid,
  .feature-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-card {
    min-height: auto;
  }

  .feature-wide {
    grid-column: auto;
  }

  .feature-tile {
    min-height: auto;
    padding: 27px;
    border-radius: 28px;
  }

  .feature-tile h3 {
    font-size: 25px;
  }

  .comparison-demo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
  }

  .comparison-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
  }

  .demo-photo {
    height: 190px;
  }

  .demo-before i {
    top: 64px;
    left: 28px;
    width: 67px;
    height: 56px;
  }

  .field-demo {
    padding: 15px;
  }

  .field-demo > span {
    gap: 11px;
    padding: 11px;
  }

  .privacy-panel {
    width: calc(100% - 28px);
    padding: 34px 24px;
    border-radius: 30px;
  }

  .button-light {
    width: auto;
  }

  .support-card {
    padding: 23px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    text-align: center;
  }

  .footer-brand,
  .footer-inner nav {
    justify-content: center;
  }

  .footer-inner > p {
    grid-column: auto;
  }

  .legal-hero {
    padding: 123px 0 66px;
  }

  .legal-hero h1 {
    font-size: 50px;
  }

  .legal-hero p {
    font-size: 16px;
  }

  .legal-content {
    padding-top: 35px;
  }

  .policy-toc nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-article {
    padding: 0 21px 24px;
    border-radius: 22px;
  }

  .policy-language section {
    padding: 38px 0;
  }

  .policy-article h2 {
    font-size: 27px;
  }

  .permission-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .policy-toc,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  body,
  .legal-page {
    color: #000;
    background: #fff;
  }

  .legal-hero {
    padding: 24px 0;
    color: #000;
    background: #fff;
    border-bottom: 1px solid #bbb;
  }

  .legal-hero p,
  .policy-meta dt {
    color: #333;
  }

  .legal-layout {
    display: block;
  }

  .policy-article {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .policy-language section {
    break-inside: avoid-page;
  }

  .policy-table-wrap {
    overflow: visible;
  }

  .policy-table {
    min-width: 0;
    font-size: 9px;
  }
}
