:root {
  color-scheme: light;
  --ink: #172033;
  --ink-soft: #526077;
  --paper: #ffffff;
  --canvas: #f3f6fb;
  --canvas-deep: #e8eef8;
  --line: #d8e0ec;
  --blue: #1f6feb;
  --blue-dark: #124a9b;
  --blue-pale: #e8f0fe;
  --green: #188038;
  --amber: #d98b00;
  --coral: #c94b5d;
  --shadow: 0 24px 60px rgba(31, 55, 90, .14);
  --shadow-soft: 0 12px 30px rgba(31, 55, 90, .08);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--blue), #69a2ff);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform .1s linear;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(31, 111, 235, .18);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 34px rgba(23, 32, 51, .14);
  font: inherit;
  font-size: .82rem;
  font-weight: 780;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 12px, 0) scale(.94);
  transition: opacity .24s ease, transform .24s cubic-bezier(.2, .8, .2, 1), background .2s ease;
}

.back-to-top.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0) scale(1); }
.back-to-top:hover { background: white; transform: translate3d(0, -3px, 0) scale(1); }
.back-to-top span:first-child { font-size: 1.1rem; line-height: 1; }

:focus-visible {
  outline: 3px solid rgba(31, 111, 235, .35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(216, 224, 236, .78);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px) saturate(1.15);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: block;
  background: url("/assets/google-docs-logo.svg") center / contain no-repeat;
  filter: drop-shadow(0 4px 7px rgba(49, 134, 255, .18));
}


.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  color: white;
  background: var(--blue);
  font-size: .94rem;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(31, 111, 235, .22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(31, 111, 235, .28);
}

.button.secondary {
  color: var(--blue-dark);
  background: white;
  box-shadow: none;
}

.button:active { transform: translateY(0) scale(.98); }

.text-link {
  color: var(--blue-dark);
  font-weight: 740;
  text-underline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-pale);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 3.5rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 { font-size: 1.18rem; }

.lead {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    radial-gradient(circle at 82% 12%, rgba(31,111,235,.13), transparent 27%),
    linear-gradient(180deg, #fff, var(--canvas));
}

.hero::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  top: -190px;
  right: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 235, .14), rgba(31, 111, 235, 0) 68%);
  filter: blur(5px);
  animation: hero-glow 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -9% -120px 58%;
  height: 240px;
  border-radius: 50%;
  background: rgba(244,180,0,.10);
  filter: blur(50px);
  animation: hero-glow 15s ease-in-out 1.8s infinite alternate-reverse;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 62px;
}

.hero-copy { padding-bottom: 14px; }
.hero-copy .lead { max-width: 570px; margin-bottom: 30px; }

.hero-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: .84rem;
}

.hero-note span:first-child {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: .68rem;
}

.workspace {
  position: relative;
  min-height: 555px;
  border: 1px solid rgba(129, 151, 181, .28);
  border-radius: 28px;
  background: #dfe7f2;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: workspace-reveal .85s cubic-bezier(.2, .8, .2, 1) both;
}

.workspace-bar {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-bottom: 1px solid #d2dbe8;
  background: rgba(255,255,255,.92);
}

.tool-dot { width: 10px; height: 10px; border-radius: 50%; background: #b8c3d1; }
.file-name { margin-left: 10px; font-size: .82rem; font-weight: 720; }
.saved { margin-left: auto; color: var(--green); font-size: .75rem; font-weight: 700; animation: saved-pulse 3.8s ease-in-out 1.2s infinite; }

.paper-wrap {
  position: absolute;
  inset: 92px 112px 30px 38px;
  animation: paper-drift 7s ease-in-out 1s infinite alternate;
}

.paper {
  min-height: 430px;
  padding: 56px 48px;
  border: 1px solid #d4dbe5;
  background: white;
  box-shadow: 0 14px 34px rgba(23,32,51,.13);
}

.paper-kicker { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.paper-title { width: 78%; height: 18px; margin: 18px 0 12px; border-radius: 2px; background: var(--ink); }
.paper-title.short { width: 54%; }
.text-line { height: 6px; margin: 9px 0; border-radius: 4px; background: #cbd4e0; }
.text-line.dark { background: #8f9caf; }
.text-line.blue { background: #8eb8f8; }
.text-line.w92 { width: 92%; }
.text-line.w84 { width: 84%; }
.text-line.w73 { width: 73%; }
.text-line.w63 { width: 63%; }
.paper-gap { height: 20px; }

.highlight {
  position: relative;
  margin: 18px -10px;
  padding: 10px;
  border-left: 3px solid var(--amber);
  background: #fff7da;
  animation: highlight-breathe 4.5s ease-in-out 1.1s infinite;
}

.cursor {
  position: absolute;
  width: 2px;
  height: 22px;
  background: var(--coral);
  animation: cursor-write 4.8s cubic-bezier(.45, 0, .55, 1) .9s infinite;
}

.cursor::after {
  content: attr(data-person);
  position: absolute;
  left: 0;
  bottom: 100%;
  padding: 3px 7px;
  border-radius: 5px 5px 5px 0;
  color: white;
  background: var(--coral);
  font-size: .75rem;
  white-space: nowrap;
}

.cursor-one { top: 142px; left: 62%; }
.cursor-two { top: 276px; left: 34%; background: var(--green); animation-name: cursor-review; animation-delay: 1.6s; }
.cursor-two::after { background: var(--green); }

.comment {
  position: absolute;
  right: 18px;
  width: 136px;
  padding: 12px;
  border: 1px solid #d5deeb;
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 30px rgba(23,32,51,.12);
  font-size: .75rem;
  line-height: 1.35;
  transform-origin: 100% 50%;
}

.comment strong { display: block; margin-bottom: 5px; font-size: .75rem; }
.comment-one { top: 126px; animation: comment-arrive-one 6.4s ease-in-out .35s infinite; }
.comment-two { top: 258px; right: 28px; animation: comment-arrive-two 6.4s ease-in-out 1.15s infinite; }

.proof-strip {
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.proof-item {
  padding: 10px 30px;
  border-left: 1px solid var(--line);
}

.proof-item:first-child { padding-left: 0; border-left: 0; }
.proof-label { display: block; color: var(--ink-soft); font-size: .77rem; }
.proof-value { display: block; margin-top: 4px; font-size: 1rem; font-weight: 740; }

.section { padding: 104px 0; }
.section.compact { padding: 78px 0; }
.section-tint { background: var(--canvas); }
.section-dark { color: white; background: var(--ink); }
.section-dark .lead, .section-dark .muted { color: #d6e1f0; }
.section-dark .eyebrow { color: #a9d2ff; text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.section-dark .eyebrow::before { background: #8fc4ff; box-shadow: 0 0 0 5px rgba(143, 196, 255, .18); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 46px; }
.section-head > * { margin-bottom: 0; }

.section,
.proof-strip,
.final-cta {
  scroll-margin-top: 92px;
}

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

.copy-stack p { color: var(--ink-soft); }
.copy-stack .button { margin-top: 12px; }

.comment-stage {
  position: relative;
  min-height: 510px;
  padding: 56px 38px 42px;
  border-radius: 28px;
  background: var(--blue-pale);
  overflow: hidden;
}

.comment-stage .mini-paper {
  min-height: 385px;
  padding: 42px 36px;
  border-radius: 4px;
  background: white;
  box-shadow: 0 22px 44px rgba(31,55,90,.12);
}

.quote-block {
  margin: 34px 0 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  color: #294568;
  background: #edf4ff;
  font-family: Georgia, serif;
  font-size: 1.06rem;
}

.comment-card {
  position: absolute;
  right: 18px;
  bottom: 58px;
  width: 238px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 36px rgba(23,32,51,.16);
}

.comment-card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-size: .78rem; font-weight: 760; }
.avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--coral); font-size: .68rem; }
.comment-card p { margin: 0; color: var(--ink-soft); font-size: .78rem; }
.resolved { margin-top: 12px; color: var(--green); font-size: .75rem; font-weight: 740; }

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: workflow;
}

.workflow::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: #a6b6ca;
}

.workflow-card { position: relative; counter-increment: workflow; padding-top: 74px; transition: transform .24s ease; }
.workflow-card::before {
  content: counter(workflow, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue-dark);
  background: white;
  font-size: .8rem;
  font-weight: 800;
}

.workflow-card p { color: var(--ink-soft); }

.template-wall {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-auto-rows: 220px;
  gap: 18px;
}

.template-card {
  position: relative;
  min-height: 220px;
  padding: 25px;
  border: 1px solid #cad4e3;
  border-radius: 20px;
  background: white;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.template-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px rgba(31,55,90,.12); }
.template-card.tall { grid-row: span 2; }
.template-card.wide { grid-column: span 2; }
.template-card h3 { position: relative; z-index: 2; }
.visual-title { position: relative; z-index: 2; margin: 0; font-size: 1.18rem; font-weight: 760; line-height: 1.08; letter-spacing: -.04em; }
.template-card p { position: relative; z-index: 2; max-width: 270px; color: var(--ink-soft); font-size: .9rem; }

.doc-mini {
  position: absolute;
  right: 22px;
  bottom: -38px;
  width: 54%;
  height: 210px;
  padding: 24px;
  border: 1px solid #d7dfeb;
  background: #fff;
  box-shadow: 0 16px 30px rgba(23,32,51,.12);
  transform: rotate(-3deg);
}

.tall .doc-mini { left: 28px; right: 28px; bottom: -22px; width: auto; height: 260px; transform: rotate(2deg); }
.wide .doc-mini { width: 44%; }
.accent-blue { background: #edf4ff; }
.accent-yellow { background: #fff7dc; }
.accent-green { background: #e8f5ec; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  min-height: 400px;
  padding: 34px;
  border-radius: 24px;
  background: #28334a;
}

.compare-card.clean { background: #184f9c; }
.compare-card h3 { margin-bottom: 26px; }
.messy-note { margin: 10px 0; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.08); font-size: .82rem; transform: rotate(var(--tilt, 0deg)); }
.clean-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 14px; border-radius: 10px; background: rgba(255,255,255,.1); font-size: .84rem; }
.clean-row span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #184f9c; background: white; font-size: .68rem; font-weight: 800; }

.faq-list { max-width: 900px; margin: 38px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 740;
  text-align: left;
  cursor: pointer;
}

.faq-icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-pale); font-size: 1.25rem; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 740px; padding: 0 48px 24px 0; color: var(--ink-soft); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.final-cta { padding: 0 0 88px; }
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 58px 64px;
  border-radius: 28px;
  color: white;
  background: var(--blue-dark);
}

.cta-panel::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: 12%;
  top: -190px;
  border: 45px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.cta-panel h2 { position: relative; margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-panel p { position: relative; margin: 0; color: #d8e6ff; }
.cta-panel .button { position: relative; border-color: white; color: var(--blue-dark); background: white; }

.site-footer { padding: 52px 0 38px; border-top: 1px solid var(--line); background: #f8fafc; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-intro { max-width: 370px; color: var(--ink-soft); font-size: .9rem; }
.footer-title { margin-bottom: 13px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { width: fit-content; color: var(--ink-soft); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--blue-dark); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); color: #6a7688; font-size: .76rem; }

/* Interior pages */
.page-hero { padding: 82px 0 68px; background: linear-gradient(180deg, #fff, var(--canvas)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 80px; }
.page-hero h1 { max-width: 650px; }
.page-hero .lead { margin-bottom: 28px; }
.page-art { position: relative; isolation: isolate; min-height: 390px; overflow: hidden; border-radius: 28px; background: var(--blue-pale); box-shadow: inset 0 0 0 1px rgba(31,111,235,.12); }
.page-art::after { content: ""; position: absolute; inset: -35%; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,.8), transparent 58%); animation: art-glow 10s ease-in-out infinite alternate; }
.page-art > * { position: relative; z-index: 1; }
.page-art.center { display: grid; place-items: center; padding: 42px; }
.page-paper { width: min(100%, 420px); min-height: 300px; padding: 40px; background: white; box-shadow: var(--shadow); transform: rotate(1deg); }
.page-paper .stamp { width: fit-content; margin: 26px 0 20px auto; padding: 7px 10px; border: 2px solid var(--green); border-radius: 8px; color: var(--green); font-size: .72rem; font-weight: 800; transform: rotate(-4deg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.feature-number { margin-bottom: 42px; color: var(--blue); font-size: .78rem; font-weight: 800; }
.feature-card p { color: var(--ink-soft); }
.prose-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.prose-grid aside { position: sticky; top: 116px; align-self: start; padding: 22px; border-left: 3px solid var(--blue); color: var(--ink-soft); background: var(--canvas); }
.prose-grid article h2 { margin-top: 54px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.prose-grid article h2:first-child { margin-top: 0; }
.checklist { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e7f4eb; font-size: .72rem; font-weight: 900; }
.template-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.template-index article { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.template-thumb { min-height: 170px; padding: 18px; border: 1px solid #ced8e6; background: var(--canvas); box-shadow: 0 12px 28px rgba(23,32,51,.09); }
.steps-vertical { display: grid; gap: 0; max-width: 880px; margin-inline: auto; }
.step-row { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 0 0 50px; }
.step-row:last-child { padding-bottom: 0; }
.step-index { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: .78rem; font-weight: 800; }
.step-row:not(:last-child) .step-index::after { content: ""; position: absolute; top: 54px; left: 26px; width: 2px; height: calc(100% + 50px); background: var(--line); }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.help-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.help-card p { margin: 0; color: var(--ink-soft); }
.help-label { display: inline-block; margin-bottom: 26px; padding: 5px 9px; border-radius: 7px; color: var(--blue-dark); background: var(--blue-pale); font-size: .75rem; font-weight: 800; }
.not-found { min-height: 72vh; display: grid; place-items: center; padding: 80px 24px; text-align: center; background: var(--canvas); }
.not-found-code { font-family: Georgia, serif; font-size: clamp(6rem, 18vw, 12rem); line-height: .8; color: var(--blue); opacity: .16; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-cards article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 14px 30px rgba(23, 32, 51, .06); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.guide-cards h3 { margin: 6px 0 12px; font-size: 1.25rem; }
.guide-cards p:not(.guide-label) { margin: 0; color: var(--ink-soft); }
.guide-label { margin: 0; color: var(--blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-note { max-width: 760px; margin: 26px 0 0; color: var(--ink-soft); }
.seo-section { background: linear-gradient(180deg, #f8fbff 0%, var(--paper) 100%); }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.seo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 16px 36px rgba(23, 32, 51, .08); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.seo-card > div { padding: 24px 26px 28px; }
.seo-card h3 { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.28; }
.seo-card p { margin: 0; color: var(--ink-soft); }
.seo-visual { position: relative; aspect-ratio: 1 / .56; margin: 0; overflow: hidden; background: var(--canvas-deep); }
.seo-visual__image { position: static; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
/* The original four-panel illustrations are delivered as full landscape assets here,
   so the cards preserve every subject instead of stretching a cropped tile. */
.page-home .seo-card:nth-child(1) .seo-visual__image { content: url('/assets/seo/home-card-structure.png'); }
.page-home .seo-card:nth-child(2) .seo-visual__image { content: url('/assets/seo/home-card-share.png'); }
.page-home .seo-card:nth-child(3) .seo-visual__image { content: url('/assets/seo/home-card-comments.png'); }
.page-home .seo-card:nth-child(4) .seo-visual__image { content: url('/assets/seo/home-card-finish.png'); }
.page-capabilities .seo-card:nth-child(1) .seo-visual__image { content: url('/assets/seo/capabilities-structure.png'); }
.page-capabilities .seo-card:nth-child(2) .seo-visual__image { content: url('/assets/seo/capabilities-comments.png'); }
.page-capabilities .seo-card:nth-child(3) .seo-visual__image { content: url('/assets/seo/capabilities-suggestions.png'); }
.page-capabilities .seo-card:nth-child(4) .seo-visual__image { content: url('/assets/seo/capabilities-history.png'); }
.page-templates .seo-card:nth-child(1) .seo-visual__image { content: url('/assets/seo/templates-brief.png'); }
.page-templates .seo-card:nth-child(2) .seo-visual__image { content: url('/assets/seo/templates-meeting.png'); }
.page-templates .seo-card:nth-child(3) .seo-visual__image { content: url('/assets/seo/templates-research.png'); }
.page-templates .seo-card:nth-child(4) .seo-visual__image { content: url('/assets/seo/templates-plan.png'); }
.page-collaboration .seo-card:nth-child(1) .seo-visual__image { content: url('/assets/seo/collaboration-roles.png'); }
.page-collaboration .seo-card:nth-child(2) .seo-visual__image { content: url('/assets/seo/collaboration-deadline.png'); }
.page-collaboration .seo-card:nth-child(3) .seo-visual__image { content: url('/assets/seo/collaboration-feedback.png'); }
.page-collaboration .seo-card:nth-child(4) .seo-visual__image { content: url('/assets/seo/collaboration-final.png'); }
.page-help .seo-card:nth-child(1) .seo-visual__image { content: url('/assets/seo/help-create.png'); }
.page-help .seo-card:nth-child(2) .seo-visual__image { content: url('/assets/seo/help-share.png'); }
.page-help .seo-card:nth-child(3) .seo-visual__image { content: url('/assets/seo/help-edit.png'); }
.page-help .seo-card:nth-child(4) .seo-visual__image { content: url('/assets/seo/help-restore.png'); }
.seo-visual--single img { position: static; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }

/* A varied editorial rhythm keeps the practical guides from reading as one long wall of identical cards. */
@media (min-width: 769px) {
  .seo-card:nth-child(1),
  .seo-card:nth-child(6) {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: stretch;
  }

  .seo-card:nth-child(1) .seo-visual,
  .seo-card:nth-child(6) .seo-visual { aspect-ratio: auto; min-height: 260px; }
  .seo-card:nth-child(1) > div,
  .seo-card:nth-child(6) > div { display: grid; align-content: center; padding: 34px 38px; }
  .seo-card:nth-child(6) .seo-visual { order: 2; }
  .seo-card:nth-child(6) > div { order: 1; }
}

.practice-board { padding: 42px; border: 1px solid #cbd9ed; border-radius: 28px; background: linear-gradient(135deg, #f4f8ff, #fff 58%); box-shadow: 0 18px 42px rgba(23, 32, 51, .06); }
.practice-board__intro { max-width: 760px; margin-bottom: 30px; color: var(--ink-soft); font-size: 1.06rem; }
.practice-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice-step { position: relative; min-height: 190px; padding: 25px 24px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.9); }
.practice-step__number { display: grid; width: 30px; height: 30px; margin-bottom: 24px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: var(--blue-pale); font-size: .78rem; font-weight: 850; }
.practice-step h3 { margin: 0 0 10px; font-size: 1.13rem; }
.practice-step p { margin: 0; color: var(--ink-soft); }

/* Motion is intentionally quiet: it adds hierarchy and feedback without competing with the reading task. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .58s ease, transform .58s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (hover: hover) {
  .workflow-card:hover { transform: translateY(-4px); }
  .feature-card:hover, .help-card:hover, .guide-cards article:hover {
    transform: translateY(-4px);
    border-color: #b7cef0;
    box-shadow: var(--shadow-soft);
  }
  .seo-card:hover { transform: translateY(-5px); border-color: #b7cef0; box-shadow: 0 22px 46px rgba(31, 55, 90, .14); }
  .seo-card:hover .seo-visual__image { transform: scale(1.035); }
  .faq-question:hover { color: var(--blue-dark); }
  .faq-question:hover .faq-icon { transform: rotate(90deg); }
}

@media (hover: hover) and (pointer: fine) {
  .interactive-card {
    transform-style: preserve-3d;
    will-change: transform;
  }
  .interactive-card:hover {
    transform: perspective(920px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translate3d(0, -5px, 0);
  }
}

@keyframes hero-glow { from { transform: translate3d(-24px, 10px, 0) scale(.94); opacity: .62; } to { transform: translate3d(34px, -18px, 0) scale(1.1); opacity: 1; } }
@keyframes workspace-reveal { from { opacity: 0; transform: translate3d(20px, 18px, 0) scale(.97); } to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes saved-pulse { 0%, 100% { opacity: .68; } 48% { opacity: 1; text-shadow: 0 0 12px rgba(24, 128, 56, .24); } }
@keyframes paper-drift { from { transform: translate3d(0, 0, 0) rotate(-.15deg); } to { transform: translate3d(-5px, -9px, 0) rotate(.2deg); } }
@keyframes highlight-breathe { 0%, 100% { box-shadow: inset 0 0 0 rgba(217, 139, 0, 0); } 50% { box-shadow: inset 0 0 0 999px rgba(255, 226, 127, .16); } }
@keyframes cursor-write { 0%, 18%, 100% { transform: translateX(0); opacity: 0; } 24% { opacity: 1; } 58% { transform: translateX(72px); opacity: 1; } 64% { opacity: 0; } }
@keyframes cursor-review { 0%, 24%, 100% { transform: translateX(0); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateX(48px); opacity: 1; } 76% { opacity: 0; } }
@keyframes comment-arrive-one { 0%, 10%, 100% { transform: translate3d(26px, 5px, 0) rotate(1deg); opacity: .58; } 18%, 72% { transform: translate3d(0, 0, 0) rotate(1deg); opacity: 1; } 78% { transform: translate3d(3px, -3px, 0) rotate(1deg); } }
@keyframes comment-arrive-two { 0%, 18%, 100% { transform: translate3d(24px, -3px, 0) rotate(-1deg); opacity: .55; } 28%, 76% { transform: translate3d(0, 0, 0) rotate(-1deg); opacity: 1; } 82% { transform: translate3d(3px, 2px, 0) rotate(-1deg); } }
@keyframes art-glow { from { transform: translate3d(-4%, 5%, 0) scale(.9); opacity: .55; } to { transform: translate3d(7%, -6%, 0) scale(1.08); opacity: .95; } }

@media (max-width: 1024px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .workspace { min-height: 520px; }
  .page-art { min-height: 350px; }
  .split { gap: 54px; }
  .prose-grid { gap: 50px; }
}

@media (max-width: 768px) {
  .header-inner, .shell { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 64px; }
  .brand span:last-child { display: none; }
  .hero, .page-hero { padding: 62px 0 54px; }
  .hero-grid, .page-hero-grid { gap: 42px; }
  .workspace { min-height: 470px; border-radius: 20px; }
  .paper-wrap { inset: 82px 28px 24px; }
  .paper { min-height: 360px; padding: 42px 32px; }
  .comment { display: none; }
  .proof-grid, .workflow, .feature-grid, .guide-cards, .seo-grid, .practice-steps { grid-template-columns: 1fr; }
  .seo-card:nth-child(n) { display: block; }
  .proof-item { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof-item:first-child { border-top: 0; }
  .section { padding: 78px 0; }
  .section-head { display: block; margin-bottom: 34px; }
  .section-head .lead { margin-top: 12px; }
  .split, .prose-grid { grid-template-columns: 1fr; gap: 42px; }
  .split .copy-stack { order: -1; }
  .workflow::before { display: none; }
  .workflow-card { padding: 10px 0 10px 78px; }
  .workflow-card::before { top: 0; }
  .template-wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .template-card.tall { grid-row: span 1; }
  .template-card.wide { grid-column: span 2; }
  .compare-grid, .template-index, .help-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 44px 36px; }
  .practice-board { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .prose-grid aside { position: static; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.25rem, 12vw, 3rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .button { min-height: 44px; padding-inline: 18px; }
  .hero { padding-top: 48px; }
  .workspace { min-height: 430px; margin-inline: -4px; }
  .workspace-bar { height: 56px; padding-inline: 14px; }
  .saved { font-size: .65rem; }
  .paper-wrap { inset: 72px 14px 16px; }
  .paper { min-height: 340px; padding: 36px 24px; }
  .cursor-one { left: 68%; }
  .cursor-two { left: 28%; }
  .section { padding: 64px 0; }
  .comment-stage { min-height: 430px; padding: 26px 18px; }
  .comment-stage .mini-paper { min-height: 350px; padding: 34px 24px; }
  .comment-card { right: 12px; bottom: 26px; width: 210px; }
  .template-wall { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .template-card.wide { grid-column: span 1; }
  .compare-card { min-height: 350px; padding: 26px; }
  .final-cta { padding-bottom: 64px; }
  .cta-panel { gap: 24px; padding: 32px 24px; border-radius: 20px; }
  .cta-panel h2 { font-size: clamp(1.75rem, 8.5vw, 2.25rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: span 1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .page-art { min-height: 300px; }
  .page-art.center { padding: 24px; }
  .page-paper { min-height: 250px; padding: 28px; }
  .template-index article { grid-template-columns: 1fr; padding: 18px; }
  .template-thumb { min-height: 132px; padding: 18px; }
  .back-to-top { right: 16px; bottom: 16px; padding-inline: 13px; }
}

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