:root {
  color-scheme: light;
  --brand: #3e5c8a;
  --brand-dark: #2f496f;
  --ink: #1c1c1a;
  --muted: #5f625f;
  --background: #f7f6f2;
  --surface: #fffefa;
  --line: #d9d7cf;
  --soft-brand: #e9eef5;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(62, 92, 138, 0.35);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

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

.wordmark {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

.header-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page {
  padding-block: 82px 96px;
}

.hero {
  margin-bottom: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 4.5rem);
  font-weight: 600;
}

.intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3f413f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.35rem);
  line-height: 1.58;
}

.effective-date {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-sections {
  counter-reset: policy;
}

.policy-section {
  counter-increment: policy;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
  font-size: clamp(1.42rem, 4vw, 1.75rem);
  font-weight: 600;
}

.policy-section h2::before {
  content: counter(policy, decimal-leading-zero);
  flex: 0 0 auto;
  padding-top: 0.35em;
  color: var(--brand);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.policy-section p {
  margin: 0;
}

.policy-section p + p {
  margin-top: 12px;
}

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

.summary-card {
  min-height: 175px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.summary-card h2 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.48;
}

.content-section {
  padding-block: 44px;
  border-top: 1px solid var(--line);
}

.content-section > h2,
.contact-box h2 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 600;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(steps);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--soft-brand);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 680;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: -4px 44px 22px 0;
  color: #444642;
}

.contact-box {
  margin-top: 48px;
  padding: clamp(28px, 6vw, 46px);
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
}

.contact-box p,
.contact-box ul {
  max-width: 620px;
}

.contact-box ul {
  padding-left: 1.2em;
}

.contact-box a {
  color: #fff;
  font-weight: 700;
}

.contact-box .warning {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark) !important;
  text-decoration: none;
}

.privacy-link {
  margin: 32px 0 0;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .page,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content-width));
  }

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

  .page {
    padding-block: 56px 72px;
  }

  .hero {
    margin-bottom: 46px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .summary-card {
    min-height: 0;
  }

  .footer-inner {
    display: block;
    padding-block: 28px;
  }

  .footer-inner p + p {
    margin-top: 6px;
  }
}

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

/* Cofus marketing page */

.marketing-body {
  --marketing-width: 1180px;
  overflow-x: hidden;
}

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

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid rgba(217, 215, 207, 0.85);
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.marketing-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--marketing-width));
  min-height: 76px;
  margin-inline: auto;
}

.marketing-nav-inner > .wordmark {
  justify-self: start;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-links a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

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

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
}

.store-button-small {
  justify-self: end;
  min-height: 42px;
  max-width: 235px;
  padding: 8px 14px;
  font-size: 0.75rem;
}

.marketing-hero {
  padding-block: clamp(70px, 10vw, 132px) clamp(72px, 10vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.marketing-eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(3.1rem, 6.3vw, 6.15rem);
  line-height: 0.99;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: #4e504c;
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
  margin-top: 34px;
}

.text-link {
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--brand);
}

.platform-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.screenshot-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cac8c0;
  border-radius: 14px;
  background-color: #eeece6;
  background-image: linear-gradient(#dedcd5 1px, transparent 1px), linear-gradient(90deg, #dedcd5 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: 0 30px 65px rgba(40, 44, 51, 0.12);
}

.placeholder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 26px;
  background: #263e61;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.placeholder-content {
  display: grid;
  place-items: center;
  align-content: center;
  flex: 1;
  gap: 8px;
  padding: 48px;
  text-align: center;
}

.placeholder-kicker {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-content strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
}

.placeholder-content small {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.8rem;
}

.screenshot-placeholder figcaption {
  padding: 11px 18px;
  border-top: 1px solid #cac8c0;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.73rem;
}

.marketing-section {
  padding-block: clamp(84px, 11vw, 142px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 690px;
}

.section-heading h2,
.section-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
}

.section-heading > p:not(.marketing-eyebrow),
.section-copy > p:not(.marketing-eyebrow),
.final-cta-inner > p:not(.brand-semicolon) {
  margin: 24px 0 0;
  color: #535550;
  font-size: 1.08rem;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 62px;
}

.value-card {
  position: relative;
  min-height: 310px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(28, 28, 26, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(28, 28, 26, 0.08);
}

.card-number {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.value-card h3 {
  margin: 60px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.portfolio-section {
  padding-block: clamp(86px, 11vw, 145px);
  background: #263e61;
  color: #fff;
}

.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.section-heading-light .marketing-eyebrow {
  color: #bdcce3;
}

.section-heading-light h2 {
  color: #fff;
}

.section-heading-light > p:not(.marketing-eyebrow) {
  color: #d5dce6;
}

.drag-note {
  max-width: 280px;
  margin: 0;
  color: #d5dce6;
  font-size: 0.86rem;
}

.drag-note span {
  margin-right: 8px;
  color: #fff;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(38px, 6vw, 78px);
  margin-top: 74px;
}

.portfolio-states article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-states article > span {
  padding-top: 4px;
  color: #aebed5;
  font-size: 0.68rem;
  font-weight: 800;
}

.portfolio-states h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.portfolio-states p {
  margin: 7px 0 0;
  color: #cfd7e2;
  font-size: 0.92rem;
  line-height: 1.55;
}

.screenshot-placeholder-dark {
  border-color: rgba(255, 255, 255, 0.26);
  background-color: #1f3554;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  box-shadow: 0 32px 70px rgba(8, 17, 31, 0.26);
}

.screenshot-placeholder-dark .placeholder-kicker,
.screenshot-placeholder-dark .placeholder-content small {
  color: #bdcce3;
}

.screenshot-placeholder-dark figcaption {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(10, 24, 44, 0.42);
  color: #bdcce3;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(430px, 1.16fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.section-copy > p:not(.marketing-eyebrow) {
  color: #535550;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: ";";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.tall-placeholder {
  min-height: 560px;
}

.muted-section {
  background: #eeece6;
}

.split-reverse {
  grid-template-columns: minmax(430px, 1.08fr) minmax(0, 0.92fr);
}

.profile-placeholder {
  min-height: 500px;
  background-color: #f6f5f1;
}

.privacy-note {
  margin-top: 24px !important;
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem !important;
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: start;
  gap: clamp(60px, 10vw, 140px);
}

.library-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.library-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.library-list span {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.library-list strong {
  font-weight: 650;
}

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

.export-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 58px auto 0;
}

.export-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 185px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.file-type {
  display: grid;
  width: 76px;
  height: 92px;
  place-items: center;
  border: 1px solid #c8c6be;
  border-radius: 5px 5px 14px 5px;
  background: var(--background);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.export-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.export-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legacy-note {
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.privacy-feature {
  padding-block: clamp(84px, 10vw, 124px);
  background: #e5ebf3;
}

.privacy-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(60px, 9vw, 128px);
}

.primary-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin-top: 30px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
}

.primary-link-button:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  min-height: 90px;
  padding: 20px;
  border: 1px solid rgba(62, 92, 138, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--brand-dark);
  font-weight: 680;
}

.requirements-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 9vw, 130px);
}

.requirements-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.requirements-list div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.requirements-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.requirements-list dd {
  margin: 0;
  font-weight: 620;
}

.faq-section {
  background: #eeece6;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  align-items: start;
  gap: clamp(60px, 10vw, 140px);
}

.marketing-faq {
  margin-top: 0;
}

.marketing-faq summary {
  padding-block: 24px;
}

.final-cta {
  padding-block: clamp(90px, 12vw, 150px);
  background: #263e61;
  color: #fff;
}

.final-cta-inner {
  text-align: center;
}

.brand-semicolon {
  margin: 0 0 12px;
  color: #bdcce3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.7;
}

.final-cta h2 {
  max-width: 760px;
  margin-inline: auto;
}

.final-cta-inner > p:not(.brand-semicolon) {
  color: #d5dce6;
}

.final-actions {
  justify-content: center;
}

.store-button-light {
  border-color: #fff;
  background: #fff;
  color: #263e61;
}

.text-link-light {
  color: #fff;
}

.text-link-light span {
  color: #bdcce3;
}

.marketing-footer {
  padding-block: 54px;
  background: #1d304b;
  color: #bdc6d2;
}

.marketing-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 36px;
}

.marketing-footer .wordmark {
  color: #fff;
}

.marketing-footer p {
  margin: 8px 0 0;
  font-size: 0.76rem;
}

.marketing-footer-inner > p {
  justify-self: end;
}

.marketing-footer nav {
  display: flex;
  gap: 22px;
}

.marketing-footer nav a {
  color: #fff;
  font-size: 0.8rem;
}

@media (max-width: 1020px) {
  .marketing-nav-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    justify-self: end;
  }

  .store-button-small {
    display: none;
  }

  .hero-grid,
  .split-section,
  .split-reverse,
  .library-layout,
  .privacy-feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-grid {
    gap: 58px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }

  .value-card h3 {
    margin-top: 32px;
  }

  .portfolio-layout {
    grid-template-columns: 1fr;
  }

  .split-reverse .profile-placeholder {
    order: 2;
  }

  .privacy-feature-grid,
  .library-layout {
    gap: 50px;
  }

  .requirements-layout,
  .faq-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
  }
}

@media (max-width: 720px) {
  .marketing-shell,
  .marketing-nav-inner {
    width: min(calc(100% - 32px), var(--marketing-width));
  }

  .marketing-nav-inner {
    display: flex;
    flex-wrap: wrap;
    min-height: 68px;
    padding-block: 12px 10px;
  }

  .marketing-nav-inner > .wordmark {
    margin-right: auto;
  }

  .nav-links {
    order: 2;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .marketing-hero {
    padding-top: 58px;
  }

  .hero-copy h1 {
    font-size: clamp(2.85rem, 14vw, 4.5rem);
  }

  .screenshot-placeholder,
  .tall-placeholder,
  .profile-placeholder {
    min-height: 390px;
  }

  .placeholder-content {
    padding: 32px 22px;
  }

  .portfolio-intro,
  .requirements-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .drag-note {
    max-width: none;
  }

  .feature-list,
  .privacy-points {
    grid-template-columns: 1fr;
  }

  .export-grid {
    grid-template-columns: 1fr;
  }

  .export-card {
    min-height: 0;
  }

  .marketing-footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .marketing-footer-inner > p {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }

  .requirements-list div,
  .export-card {
    grid-template-columns: 1fr;
  }

  .export-card {
    gap: 18px;
  }

  .marketing-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .value-card {
    transition: none;
  }

  .value-card:hover {
    transform: none;
  }
}

/* Editorial brand system — visible artwork and companion pages */

.brand-manifesto {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(62px, 8vw, 100px);
  border: 1px solid #d2cfc6;
  background: #f1eee6;
  box-shadow: 18px 22px 0 #e7e4dc, 42px 46px 0 #263e61;
}

.brand-manifesto::before {
  content: "EDITION / 01";
  position: absolute;
  top: 50%;
  left: -45px;
  z-index: 2;
  color: var(--brand);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.brand-manifesto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1730 / 909;
  object-fit: cover;
}

.brand-manifesto figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-top: 1px solid #d2cfc6;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(360px, 0.83fr);
  align-items: end;
  gap: clamp(54px, 9vw, 130px);
}

.hero-editorial-grid .hero-copy {
  position: relative;
  padding-left: 30px;
  border-left: 1px solid var(--brand);
}

.hero-editorial-grid .hero-copy::before {
  content: ";";
  position: absolute;
  top: -28px;
  left: -13px;
  padding: 4px 6px;
  background: var(--background);
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-editorial-grid .hero-copy h1 {
  max-width: 740px;
  font-size: clamp(3.2rem, 6.4vw, 6.5rem);
}

.hero-details {
  padding-bottom: 8px;
}

.hero-details .hero-lede {
  margin-top: 0;
}

.editorial-body {
  background-color: var(--background);
  background-image: linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(62, 92, 138, 0.055) 50%, transparent calc(50% + 0.5px));
}

.editorial-header {
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.editorial-header-inner,
.editorial-page,
.editorial-footer-inner {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
}

.editorial-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
}

.editorial-header nav,
.editorial-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.editorial-header nav a,
.editorial-footer nav a {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 680;
  text-decoration: none;
}

.editorial-header nav a:hover,
.editorial-footer nav a:hover {
  color: var(--brand);
}

.editorial-page-label {
  justify-self: end;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-page {
  padding-block: clamp(54px, 8vw, 94px) clamp(90px, 12vw, 150px);
}

.editorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid #d0cec6;
  background: var(--surface);
  box-shadow: 18px 18px 0 #e6e3da;
}

.editorial-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  background: #263e61;
}

.editorial-hero::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: -16%;
  width: 31%;
  height: 75%;
  border: 1px solid rgba(62, 92, 138, 0.35);
  background: #f8f6ef;
  box-shadow: -18px -18px 0 rgba(255, 255, 255, 0.72);
  transform: rotate(-4deg);
}

.editorial-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: clamp(34px, 7vw, 82px);
}

.editorial-hero h1 {
  max-width: 670px;
  font-size: clamp(3.25rem, 7.6vw, 7rem);
  line-height: 0.92;
}

.editorial-hero .intro {
  max-width: 590px;
  margin-top: 30px;
}

.editorial-semicolon {
  position: absolute;
  right: 4.5%;
  bottom: -12%;
  z-index: 3;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14rem, 27vw, 24rem);
  line-height: 0.75;
  text-shadow: 0 12px 30px rgba(38, 62, 97, 0.12);
}

.hero-ledger {
  position: absolute;
  right: 34px;
  top: 34px;
  z-index: 4;
  width: 210px;
  margin: 0;
  color: #fff;
}

.hero-ledger div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-ledger dt {
  color: #bfcad9;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-ledger dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  text-align: right;
}

.support-direct {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 4;
  display: grid;
  gap: 6px;
  width: 210px;
}

.support-direct span {
  color: #bfcad9;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-direct a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 680;
}

.section-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-index a {
  display: grid;
  gap: 18px;
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  text-decoration: none;
}

.section-index a:last-child {
  border-right: 0;
}

.section-index a:hover {
  background: var(--soft-brand);
  color: var(--brand-dark);
  text-decoration: none;
}

.section-index span {
  color: var(--brand);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editorial-page .policy-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 70px;
}

.editorial-page .policy-section {
  min-height: 295px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.84);
}

.editorial-page .policy-section:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  min-height: 270px;
  background: #263e61;
  color: #fff;
}

.editorial-page .policy-section:first-child h2::before {
  color: #bfcad9;
}

.editorial-page .policy-section:nth-child(3),
.editorial-page .policy-section:nth-child(6) {
  transform: translateY(28px);
}

.editorial-page .policy-section h2 {
  align-items: flex-start;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.editorial-page .policy-section p {
  color: #555651;
}

.editorial-page .policy-section:first-child p {
  color: #d8dfe8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.support-body .summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 74px 0 105px;
}

.support-body .summary-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  padding: 28px;
  border-radius: 0;
  box-shadow: 10px 10px 0 #e5e2da;
}

.support-body .summary-card::after {
  content: ";";
  position: absolute;
  right: 12px;
  bottom: -42px;
  color: var(--soft-brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
}

.support-body .summary-card:nth-child(even) {
  transform: translateY(24px);
}

.support-body .summary-card p {
  position: relative;
  z-index: 1;
  margin-top: 52px;
}

.support-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.support-columns .content-section {
  padding-top: 0;
  border-top: 0;
}

.support-columns .content-section > h2 {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
}

.support-body .steps li {
  grid-template-columns: 44px 1fr;
  padding: 22px 0;
}

.support-body .steps li::before {
  border-radius: 2px 2px 12px 2px;
  background: var(--brand);
  color: #fff;
}

.support-body .faq-list summary {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.support-body .contact-box {
  position: relative;
  margin-top: 90px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 18px 18px 0 #dce3ed;
}

.support-body .contact-box::after {
  content: ";";
  position: absolute;
  right: 3%;
  bottom: -40%;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22rem;
  line-height: 1;
}

.support-body .contact-box > * {
  position: relative;
  z-index: 1;
}

.editorial-footer {
  border-top: 1px solid var(--line);
  background: #efede7;
}

.editorial-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 130px;
}

.editorial-footer-inner > p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .brand-manifesto {
    box-shadow: 12px 14px 0 #e7e4dc, 26px 28px 0 #263e61;
  }

  .hero-editorial-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .editorial-hero {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .editorial-hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 160px;
  }

  .editorial-hero::after {
    right: 10%;
    bottom: -32%;
    width: 38%;
  }

  .editorial-semicolon {
    right: 5%;
    bottom: -18%;
    font-size: 17rem;
  }

  .hero-ledger,
  .support-direct {
    top: auto;
    right: auto;
    bottom: 30px;
    left: clamp(34px, 7vw, 82px);
  }

  .section-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-index a:nth-child(3) {
    border-right: 0;
  }

  .section-index a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

  .support-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .brand-manifesto {
    margin-right: 10px;
    box-shadow: 8px 10px 0 #e7e4dc, 16px 20px 0 #263e61;
  }

  .brand-manifesto::before {
    display: none;
  }

  .brand-manifesto figcaption {
    display: grid;
    gap: 4px;
  }

  .editorial-header-inner,
  .editorial-page,
  .editorial-footer-inner {
    width: min(calc(100% - 32px), 1120px);
  }

  .editorial-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .editorial-header nav {
    gap: 16px;
  }

  .editorial-page-label {
    display: none;
  }

  .editorial-hero {
    min-height: 580px;
    box-shadow: 10px 10px 0 #e6e3da;
  }

  .editorial-hero-copy {
    align-self: start;
    padding: 42px 28px;
  }

  .editorial-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.4rem);
  }

  .editorial-hero .intro {
    font-size: 1.03rem;
  }

  .hero-ledger,
  .support-direct {
    left: 28px;
  }

  .section-index {
    grid-template-columns: 1fr 1fr;
    margin-top: 52px;
  }

  .section-index a,
  .section-index a:nth-child(3) {
    min-height: 94px;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .section-index a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .editorial-page .policy-sections {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .editorial-page .policy-section,
  .editorial-page .policy-section:first-child {
    grid-column: auto;
    display: block;
    min-height: 0;
  }

  .editorial-page .policy-section:nth-child(3),
  .editorial-page .policy-section:nth-child(6),
  .support-body .summary-card:nth-child(even) {
    transform: none;
  }

  .support-body .summary-grid {
    grid-template-columns: 1fr;
    margin-bottom: 78px;
  }

  .support-body .summary-card {
    min-height: 205px;
  }

  .editorial-footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 34px;
  }

  .editorial-footer-inner > p {
    justify-self: start;
  }
}
