:root {
  color-scheme: light;
  --ink: #173c35;
  --muted: #4c625d;
  --line: #d6e2d8;
  --pale: #f5f8f1;
  --lime: #d4ed98;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: #317c67;
}
a:focus-visible {
  outline: 3px solid #b78320;
  outline-offset: 4px;
  border-radius: 3px;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 12ch;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  max-width: 19ch;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.23rem;
  margin-bottom: 10px;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 20;
  top: -70px;
  left: 14px;
  padding: 10px 15px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  background: #173c35;
  color: #fff;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #c3d9cf;
  margin-top: 4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.brand-mark span {
  font-size: 0.76rem;
  align-self: end;
  margin-bottom: 9px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 650;
}
.site-nav a {
  text-decoration: none;
}
.site-nav a:hover {
  text-decoration: underline;
}
.site-nav .nav-action {
  border: 1px solid #a5cdb9;
  border-radius: 7px;
  padding: 9px 14px;
  white-space: nowrap; /* keep "Avaa editori ↗" on one line in narrow headers */
}
.eyebrow {
  color: #267560;
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.52;
  color: #405c53;
  max-width: 58ch;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6%;
  padding-block: 84px 100px;
}
.hero-copy {
  padding-bottom: 12px;
}
.hero .lead {
  margin-bottom: 31px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 49px;
  padding: 11px 21px;
  border-radius: 7px;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
}
.button-primary {
  background: #176451;
  color: #fff;
}
.button-primary:hover {
  background: #0f4a3c;
  text-decoration: none;
}
.button-secondary {
  border: 1px solid #a4bcb0;
  color: #173c35;
  background: #fff;
}
.button-secondary:hover {
  background: #eff5ed;
  text-decoration: none;
}
.hero-note {
  font-size: 0.85rem;
  color: #5b7069;
  margin: 22px 0 0;
}
.hero-figure {
  margin: 0;
}
.hero-figure img {
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 70px #153b3428;
}
.hero-figure figcaption {
  font-size: 0.76rem;
  color: #647971;
  text-align: right;
  margin-top: 11px;
}
.section {
  padding-block: 86px;
}
.section-light {
  background: var(--pale);
}
.section-intro {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 57ch;
  margin-bottom: 34px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 27px;
  min-height: 235px;
}
.step-card p,
.feature-list p {
  color: var(--muted);
  margin-bottom: 0;
}
.step-number {
  display: block;
  color: #267560;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.feature-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 9%;
}
.feature-list {
  border-top: 1px solid var(--line);
}
.feature-list article {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  background: #e7f2e5;
  border-radius: 11px;
  color: #176451;
  font-size: 1.45rem;
}
.feature-list h3 {
  margin-top: 0;
}
.text-link {
  font-weight: 760;
  color: #176451;
}
.section-dark {
  background: #173c35;
  color: #fff;
}
.section-dark .eyebrow {
  color: var(--lime);
}
.ai-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 10%;
  align-items: center;
}
.ai-layout h2 {
  max-width: 14ch;
}
.ai-layout p {
  color: #d8e8df;
  max-width: 56ch;
}
.example-card {
  border: 1px solid #5c8b76;
  border-radius: 14px;
  background: #214c40;
  padding: 30px;
}
.example-card span {
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.example-card p {
  font-size: 1.3rem;
  font-weight: 680;
  line-height: 1.4;
  color: #fff;
  margin: 21px 0;
}
.example-card small {
  color: #c5ded0;
}
.privacy-section {
  background: #f7f9f4;
}
.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}
.privacy-layout p {
  color: var(--muted);
}
.closing {
  padding-block: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.closing h2 {
  margin-bottom: 0;
}
.site-footer {
  background: #11342e;
  color: #d0e1d7;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 110px;
  font-size: 0.88rem;
}
.footer-inner nav {
  display: flex;
  gap: 24px;
}
.help-hero {
  background: var(--pale);
  padding-block: 70px 78px;
}
.help-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}
.help-hero .lead {
  margin-bottom: 0;
}
.help-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 8%;
  padding-block: 60px 95px;
}
.help-nav {
  align-self: start;
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 0.9rem;
}
.help-nav strong {
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.help-nav a {
  text-decoration: none;
  color: #42665b;
}
.help-nav a:hover {
  text-decoration: underline;
}
.help-content {
  max-width: 710px;
}
.help-content section {
  padding: 16px 0 37px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 22px;
}
.help-content section + section {
  padding-top: 44px;
}
.help-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: none;
}
.help-content p,
.help-content li {
  color: #405c53;
}
.help-steps {
  padding-left: 24px;
}
.help-steps li {
  padding-left: 7px;
  margin-bottom: 14px;
}
.help-content strong {
  color: var(--ink);
}
.help-end {
  padding: 39px 0 0;
}
.help-end h2 {
  font-size: 2rem;
}
@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 620px);
  }
  .header-inner {
    min-height: 70px;
    gap: 12px;
  }
  .brand {
    font-size: 0.85rem;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .site-nav {
    gap: 12px;
    font-size: 0.81rem;
  }
  .site-nav a:first-child {
    display: none;
  }
  .site-nav .nav-action {
    padding: 8px 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 60px 70px;
  }
  .hero-figure {
    max-width: 540px;
  }
  .section {
    padding-block: 65px;
  }
  .steps,
  .feature-layout,
  .ai-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 12px;
  }
  .step-card {
    min-height: 0;
  }
  .step-number {
    margin-bottom: 20px;
  }
  .feature-layout,
  .ai-layout,
  .privacy-layout {
    gap: 28px;
  }
  .closing {
    padding-block: 62px;
    align-items: flex-start;
    flex-direction: column;
  }
  .help-hero {
    padding-block: 56px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 35px 75px;
  }
  .help-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .help-nav strong {
    grid-column: 1/-1;
  }
  .help-nav a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px;
  }
}
@media (max-width: 420px) {
  /* Phones: keep only the editor button in the header (links stay in body/footer). */
  .site-nav a:not(.nav-action) {
    display: none;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 24px;
  }
  .footer-inner nav {
    gap: 18px;
  }
  h1 {
    font-size: 2.7rem;
  }
}
@media (max-width: 350px) {
  .site-nav a:not(.nav-action) {
    display: none;
  }
  .help-hero h1 {
    font-size: 2.3rem;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
