:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --surface-soft: #f0f5f1;
  --surface-strong: #e7efe9;
  --ink: #12201a;
  --ink-soft: #33463d;
  --muted: #617168;
  --line: #d9e2dc;
  --line-strong: #c6d3cb;
  --brand: #087f5b;
  --brand-dark: #056646;
  --brand-soft: #dff3e9;
  --blueprint: #2358d6;
  --measure: #df3b32;
  --shadow-sm: 0 10px 26px rgba(22, 48, 36, 0.08);
  --shadow-lg: 0 28px 80px rgba(22, 48, 36, 0.14);
  --max: 1180px;
  --reading: 760px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }

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

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container.narrow { max-width: var(--reading); }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 750;
}

.skip:focus { top: 16px; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
}

.locale-suggest {
  background: var(--brand-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  color: var(--ink-soft);
  font-size: 15px;
}

.locale-suggest-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.locale-suggest-text { flex: 1 1 auto; }

.locale-suggest-cta {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.locale-suggest-dismiss {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.locale-suggest-dismiss:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.locale-suggest-dismiss:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.navlinks > a:not(.btn) {
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.navlinks > a:not(.btn):hover {
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.navlinks a[aria-current="page"] { color: var(--brand-dark); }

.language-picker { display: inline-flex; align-items: center; }
.language-picker select {
  min-height: 38px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.language-picker select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blueprint) 28%, transparent);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before { position: absolute; transform: translateY(-6px); }
.nav-toggle-icon::after { position: absolute; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: rotate(-45deg); }

.navlinks a:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
summary:focus-visible,
input[type="email"]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blueprint) 28%, transparent);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn.primary {
  border-color: var(--brand-dark);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 127, 91, 0.2);
}

.btn.primary:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; }
.btn.small { min-height: 42px; padding: 9px 14px; border-radius: 12px; font-size: 14px; }
.btn svg { flex: 0 0 auto; }

.hero {
  position: relative;
  overflow: clip;
  padding: 76px 0 64px;
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 720px;
  background:
    radial-gradient(circle at 86% 16%, rgba(35, 88, 214, 0.12), transparent 34%),
    radial-gradient(circle at 18% 10%, rgba(8, 127, 91, 0.12), transparent 30%);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #b8ddcc;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-soft) 75%, #fff);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 780;
}

.eyebrow b { color: inherit; }

h1, h2, h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin: 20px 0 16px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 0.99;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

h3 { line-height: 1.2; }

.lead {
  max-width: 61ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin: 24px 0 12px;
}

.fineprint, .notice {
  color: var(--muted);
  font-size: 13px;
}

.fineprint { margin: 10px 0 0; }
.notice { margin: 10px 0 0; }
.muted { color: var(--muted); }

.subcta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.subcta a { color: var(--ink-soft); font-weight: 750; }

.hero-visual {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(198, 211, 203, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-lg);
}

.hero-visual::after {
  position: absolute;
  right: 28px;
  bottom: -17px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  content: "Native iPad workflow";
  font-size: 12px;
  font-weight: 800;
}

.hero-visual img,
.card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.media img { display: block; width: 100%; height: auto; }
.media .caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.media .play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: var(--shadow-lg);
}

.media .play::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  content: "";
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.trust-item {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { color: var(--muted); font-size: 12px; }

.section {
  position: relative;
  padding: 88px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head > div { max-width: 700px; }
.section-head p, .section > .container > p { margin: 0; color: var(--ink-soft); }

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

.feature,
.outcome,
.usecase-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.feature h3,
.outcome h3,
.usecase-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.feature h3::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
  vertical-align: 2px;
}

.feature p,
.outcome p,
.usecase-card p { margin: 0; color: var(--ink-soft); }

.usecase-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.usecase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); text-decoration: none; }
.usecase-card .arrow { margin-top: 24px; color: var(--brand-dark); font-weight: 850; }

.icon-tile {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}

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

.workflow-step {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.workflow-step h3 { margin: 0 0 8px; font-size: 19px; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 14px; }

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.product-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.product-shot img { display: block; width: 100%; height: auto; }
.product-shot figcaption { padding: 14px 16px; color: var(--ink-soft); font-size: 13px; font-weight: 750; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.bullets,
.check-list {
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--ink-soft);
}

.bullets li,
.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 25px;
}

.bullets li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.08em;
  color: var(--brand);
  content: "✓";
  font-weight: 900;
}

.pillrow,
.kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
}

.logos { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.logos .label { color: var(--muted); font-size: 13px; font-weight: 800; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.logo {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.comparison-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.comparison-copy { padding: clamp(28px, 5vw, 56px); }
.comparison-copy h2 { color: #fff; }
.comparison-copy p { color: #cad6d0; }
.comparison-points { display: grid; grid-template-columns: repeat(2, 1fr); background: #183128; }
.comparison-point { padding: 26px; border: 1px solid rgba(255, 255, 255, 0.09); }
.comparison-point strong { display: block; margin-bottom: 5px; }
.comparison-point span { color: #b8c9c1; font-size: 13px; }

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card { padding: clamp(28px, 5vw, 48px); }
.pricing-card.featured { border-color: #9fcdb9; box-shadow: var(--shadow-lg); }
.price { margin: 20px 0 4px; font-size: clamp(38px, 4vw, 54px); line-height: 1; font-weight: 900; letter-spacing: -0.05em; }
.price small { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.plan-label { color: var(--brand-dark); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; background: var(--surface); }
.table th, .table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--ink); font-size: 13px; }
.table td { color: var(--ink-soft); font-size: 14px; }
.table tr:last-child td { border-bottom: 0; }

.faq-list { max-width: 860px; margin: 30px auto 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--brand); content: "+"; font-size: 24px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 70ch; margin: -2px 0 22px; color: var(--ink-soft); }

.callout { padding: clamp(26px, 4vw, 42px); }
.callout h2 { margin-top: 0; }
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.final-cta::after {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 58ch; margin: 0 auto; color: #dff3e9; }
.final-cta .cta-row { position: relative; z-index: 1; justify-content: center; }
.final-cta .btn.primary { border-color: #fff; background: #fff; color: var(--brand-dark); }

.formrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
input[type="email"] {
  min-width: 220px;
  min-height: 48px;
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
input::placeholder { color: var(--muted); }

footer {
  padding: 54px 0 64px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footgrid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footlinks a { color: var(--muted); font-size: 14px; font-weight: 700; }

::selection { background: var(--brand-soft); color: var(--ink); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > :first-child { max-width: 740px; }
  .hero-visual { max-width: 800px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .outcomes-grid, .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-card, .pricing-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav { min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-enhanced .navlinks {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }
  .nav-enhanced .navlinks.is-open { display: flex; }
  .navlinks > a:not(.btn), .navlinks .btn { justify-content: flex-start; width: 100%; min-height: 48px; padding-inline: 14px; }
  .language-picker, .language-picker select { width: 100%; }
  .hero { padding: 48px 0 46px; }
  .hero-grid { gap: 34px; }
  h1 { max-width: 11ch; margin-top: 16px; font-size: clamp(40px, 12vw, 58px); }
  .hero-visual { padding: 9px; border-radius: 22px; }
  .hero-visual img { border-radius: 15px; }
  .hero-visual::after { right: 14px; bottom: -15px; }
  .section { padding: 66px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .grid-3, .outcomes-grid, .usecase-grid, .product-gallery { grid-template-columns: 1fr; }
  .comparison-points { grid-template-columns: 1fr; }
  .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .footgrid { grid-template-columns: 1fr; }
  .footlinks { justify-content: flex-start; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .cta-row { align-items: stretch; flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step { min-height: 0; }
  .step-number { margin-bottom: 20px; }
  .pricing-card { padding: 24px; }
  .final-cta { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
