:root {
  color-scheme: light;
  --ink: #242137;
  --muted: #5f5a6b;
  --accent: #be1833;
  --accent-dark: #99182b;
  --paper: #fffaf8;
  --line: #eae0df;
  --edge: clamp(1.15rem, 4.25vw, 3.25rem);
  font: 16px/1.55 Inter, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #583fbe; outline-offset: .25rem; }
img { display: block; height: auto; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { text-wrap: balance; line-height: 1.08; margin: 0; letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.15rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.5rem); }
.container { width: min(100% - 2 * var(--edge), 73rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .7rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 800; font-size: 1.22rem; letter-spacing: -.045em; text-decoration: none; }
.wordmark img { border-radius: .65rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(.85rem, 2.8vw, 2.15rem); }
.site-header nav a, .site-footer a { color: var(--ink); text-decoration: none; }
.site-header nav a { font-size: .94rem; font-weight: 550; }
.site-header nav a:hover, .site-header nav a[aria-current], .site-footer a:hover { color: var(--accent); text-decoration: underline; }

.hero { background: var(--paper); }
.hero-inner { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); padding-block: clamp(2.6rem, 6vw, 5.2rem); }
.platform { color: var(--accent-dark); font-size: .94rem; font-weight: 700; margin-bottom: 1rem; }
.hero h1, .policy h1 { font-size: clamp(3rem, 6.45vw, 6.15rem); font-weight: 800; letter-spacing: -.075em; }
.hero .intro { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); margin: 1.45rem 0 1.75rem; max-width: 29rem; }
.hero-actions, .support-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.button { padding: .7rem 1.05rem; min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .68rem; border: 1px solid transparent; font-weight: 650; text-decoration: none; transition: background-color .16s ease; }
.primary { color: white; background: var(--accent); }
.primary:hover { background: var(--accent-dark); }
.secondary { color: var(--ink); background: #fff; border-color: #dcd0cf; }
.secondary:hover { background: #fff0ee; }

.hero-art { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.12; border-radius: 1.55rem; background-color: #f6c9cc; background-image: repeating-linear-gradient(0deg, #9c203219 0 1px, transparent 1px 37px), repeating-linear-gradient(90deg, #9c203219 0 1px, transparent 1px 37px), radial-gradient(ellipse at 68% 50%, #ffe8e3 8%, #f8d0d0 57%, #f1b7bc 100%); }
.screen { position: absolute; overflow: hidden; background: #fff; border: clamp(3px, .43vw, 6px) solid #2a2333; border-radius: clamp(.72rem, 2vw, 1.55rem); box-shadow: 0 1.4rem 2rem #5b16313b; }
.screen img { width: 100%; }
.screen-library { width: 42%; top: 9%; left: 11%; transform: rotate(-10deg); }
.screen-reader { width: 43%; top: 16%; right: 10%; transform: rotate(9deg); }

.feature-section { padding-block: clamp(3.1rem, 7vw, 5.5rem); }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 4vw, 3.6rem); margin-top: 1.8rem; }
.workflow article { border-top: 2px solid #ecc6cb; padding-top: 1.05rem; }
.workflow p { margin: .7rem 0 0; color: var(--muted); }
.tool-panel { position: relative; overflow: hidden; background: #efedfa; border-radius: 1.55rem; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 2rem; padding: clamp(1.5rem, 5vw, 4.3rem); padding-block-end: 0; }
.tool-copy { padding-bottom: clamp(1.5rem, 5vw, 4.3rem); }
.tool-copy h2 { max-width: 29rem; }
.tool-copy p { color: var(--muted); max-width: 26rem; margin: 1rem 0; }
.tool-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tool-tags span { font-size: .93rem; background: #fff; border: 1px solid #ded9f0; padding: .27rem .65rem; border-radius: .5rem; color: #494166; }
.tool-visual { position: relative; align-self: end; margin-inline: auto; width: min(90%, 17rem); height: clamp(15rem, 27vw, 22rem); }
.tool-visual img { position: absolute; top: 0; width: 100%; border: 5px solid #272238; border-radius: 1.35rem; box-shadow: 0 0 1.6rem #4b387030; }
.support-section { padding-block: clamp(2.7rem, 6vw, 4.6rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.support-section h2 { font-size: 2rem; }
.support-section p { margin: .6rem 0 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.site-footer .wordmark img { width: 2rem; height: 2rem; border-radius: .52rem; }

.policy { width: min(100% - 2 * var(--edge), 66rem); padding-block: clamp(2.6rem, 6vw, 5rem); }
.policy-header { padding-bottom: 1.9rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
.policy h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.policy-header p:last-child { margin: .9rem 0 0; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.policy-content { max-width: 47rem; }
.policy-intro { font-size: 1.125rem; margin-bottom: 2.1rem; }
.policy-content section { padding-block: 1.6rem 1rem; border-top: 1px solid var(--line); scroll-margin-top: 1.1rem; }
.policy-content h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: .75rem; }
.policy-content p { color: #4a4559; }
.policy-content code { overflow-wrap: anywhere; font-size: .92em; }
.policy-nav { position: sticky; top: 1.4rem; display: grid; gap: .62rem; border-left: 1px solid var(--line); padding-left: 1.2rem; font-size: .95rem; }
.policy-nav p { margin: 0 0 .18rem; font-weight: 700; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
  .hero h1 { font-size: clamp(3rem, 10.8vw, 5.05rem); }
  .hero-art { aspect-ratio: 1.2; }
  .tool-panel { gap: 1rem; grid-template-columns: 1fr .7fr; }
  .tool-visual { width: 100%; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .policy-nav { position: static; order: -1; }
}
@media (max-width: 530px) {
  .header-inner { min-height: 4.3rem; }
  .site-header nav a { font-size: .86rem; }
  .wordmark img { width: 2.1rem; height: 2.1rem; }
  .workflow { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .tool-panel { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .tool-copy { padding-bottom: .9rem; }
  .tool-visual { width: min(70%, 13rem); height: 15rem; }
  .support-section { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
