/*  Documents: Convert & Compress — site styles
 *  Palette and geometry are lifted from the app's own design tokens, so the
 *  site and the product read as one thing.
 */

:root {
  color-scheme: light;

  --ink: #0B0D12;
  --ink-2: #55606E;
  --ink-3: #8A94A2;

  --teal: #2C7189;
  --teal-deep: #16455A;
  --teal-soft: #E8F4F8;
  --sky: #C9E8F1;

  --ground: #F6FAFB;
  --surface: #FFFFFF;
  --line: #E3EDF1;

  --red: #E5322D;
  --green: #0E9F6E;

  --r-lg: 26px;
  --r: 16px;
  --r-sm: 11px;

  --shadow: 0 1px 2px rgba(11, 13, 18, .04), 0 10px 30px rgba(22, 69, 90, .06);
  --shadow-lg: 0 30px 70px rgba(22, 69, 90, .18);

  --maxw: 1120px;
  --gutter: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .wordmark, .btn {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.04; font-weight: 700; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 700; margin: 0 0 .5em; }
h3 { font-size: 1.16rem; line-height: 1.3; font-weight: 600; margin: 0 0 .35em; }

p { margin: 0 0 1.1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: "Instrument Sans", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .9em;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 250, 251, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8.5px; box-shadow: 0 2px 8px rgba(22, 69, 90, .22); }
.wordmark { font-weight: 600; font-size: 1.02rem; }
.wordmark span { color: var(--ink-3); font-weight: 500; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--teal); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  background: linear-gradient(180deg, #38849F, var(--teal-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 69, 90, .26);
  border: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn-ghost {
  background: var(--surface);
  color: var(--teal-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn-soon {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: none;
  font-weight: 500;
  cursor: default;
}
.btn-soon .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, #E4F2F7 38%, var(--ground) 82%);
  padding-block: clamp(48px, 8vw, 92px) clamp(40px, 7vw, 76px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero p.lead {
  font-size: 1.16rem;
  color: var(--ink-2);
  max-width: 34ch;
  margin-top: 1.1em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Phones */

.phones { position: relative; display: flex; justify-content: center; align-items: center; }

.phone {
  background: #0B0D12;
  padding: 8px;
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
  width: min(252px, 46vw);
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}
.phone img { border-radius: 34px; }
.phone.back {
  width: min(206px, 38vw);
  margin-right: -48px;
  transform: translateY(30px) rotate(-5deg);
  z-index: 1;
}

/* ---------- Sections ---------- */

section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 46ch; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head p { color: var(--ink-2); margin: 0; }

.tint { background: linear-gradient(180deg, #fff, var(--teal-soft)); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }

.card .glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #38849F, var(--teal-deep));
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(22, 69, 90, .22);
}
.card .glyph svg { width: 22px; height: 22px; }

/* Steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding-top: 22px; border-top: 2px solid var(--sky); }
.step .n {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  color: var(--teal);
  font-size: .82rem;
  letter-spacing: .14em;
  display: block;
  margin-bottom: 8px;
}
.step p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* Format chips */

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .04em;
}
.chip.pdf { color: var(--red); border-color: rgba(229, 50, 45, .28); }

/* Privacy band */

.band {
  background: linear-gradient(135deg, var(--teal-deep), #2C7189 70%, #3A8AA6);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 58px);
  box-shadow: var(--shadow-lg);
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .84); max-width: 52ch; margin: 0; }
.band .pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.band .pill {
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 600;
}

/* Pricing */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.plan.featured { border-color: var(--teal); box-shadow: 0 24px 50px rgba(22, 69, 90, .16); }
.plan .price {
  font-family: "Instrument Sans", sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.plan .per { color: var(--ink-3); font-size: .95rem; font-weight: 500; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); padding: 5px 0; }
.plan li svg { flex: 0 0 auto; margin-top: 4px; color: var(--teal); }
.badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* FAQ */

.faq { max-width: 760px; }
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details summary {
  cursor: pointer;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
details[open] summary::after { transform: rotate(-135deg); }
details p { margin: 12px 0 0; color: var(--ink-2); font-size: .99rem; }

/* ---------- Document pages ---------- */

.doc-head {
  background: linear-gradient(180deg, var(--sky), var(--ground) 88%);
  padding-block: clamp(42px, 6vw, 74px) clamp(26px, 4vw, 40px);
}
.doc-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.doc-head .updated { color: var(--ink-2); font-size: .93rem; margin: 14px 0 0; }

.doc-head.narrow .wrap { max-width: 78ch; }

.doc {
  max-width: 78ch;
  padding-block: clamp(30px, 4vw, 48px) clamp(56px, 8vw, 90px);
}
.doc h2 {
  font-size: 1.3rem;
  margin-top: 2.2em;
  padding-top: .2em;
}
.doc h2:first-of-type { margin-top: 1em; }
.doc h3 { margin-top: 1.6em; font-size: 1.04rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { padding-left: 1.15em; margin: 0 0 1.1em; }
.doc li { margin-bottom: .5em; }

.summary-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 2em;
}
.summary-box p:last-child { margin-bottom: 0; }
.summary-box p { color: var(--ink); }

.toc {
  background: var(--teal-soft);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  margin-bottom: 2.4em;
}
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: .3em; font-size: .93rem; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* Support */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.contact-card .mail {
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.01em;
  word-break: break-word;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, .72);
  padding-block: 52px 40px;
  font-size: .93rem;
}
.footer a { color: rgba(255, 255, 255, .86); }
.footer .brand { color: #fff; }
.footer .wordmark span { color: rgba(255, 255, 255, .55); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer .fine {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: rgba(255, 255, 255, .55);
  font-size: .86rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero p.lead { max-width: 46ch; }
  .phones { margin-top: 10px; }
  .cards, .steps, .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .9rem; }
  .wordmark span { display: none; }
  .cards, .steps, .plans { grid-template-columns: 1fr; }
  .phone.back { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
