:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --ink: #201d30;
  --muted: #585467;
  --purple: #5540aa;
  --line: #dedbe5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; }
h1, h2, h3, p { margin: 0; }

.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 1;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: white;
  background: var(--purple);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }

.site-header, .site-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: .875rem; font-weight: 600; }
.site-header nav a, .site-footer > a { text-underline-offset: .25em; }
.site-header nav a:not(:hover), .site-footer > a:not(:hover) { text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-block: 68px 78px;
}
.eyebrow { color: var(--purple); font-size: .9rem; font-weight: 700; }
.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.8rem, 5.1vw, 4.45rem);
  line-height: 1.075;
  letter-spacing: -.075em;
}
.hero h1 span { color: var(--purple); }
.intro { max-width: 29rem; margin-block: 22px 25px; color: var(--muted); font-size: 1.075rem; line-height: 1.7; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 17px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: var(--purple); }
.status { margin-top: 12px; color: var(--muted); font-size: .875rem; }

.art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  min-height: 300px;
  aspect-ratio: 1.28;
  border: 1px solid #ded6ff;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 20% 12%, #fffaff 0%, transparent 64%),
    repeating-linear-gradient(0deg, #6655b014 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, #6655b014 0 1px, transparent 1px 24px),
    linear-gradient(135deg, #eee9ff, #c4b5fb);
}
.paper {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 46%;
  min-width: 170px;
  aspect-ratio: .77;
  border: 1px solid #fff;
  border-radius: 9px;
  box-shadow: 0 15px 50px #3c237f2d;
}
.paper-back { background: #f0ebff; transform: translate(-40%, -55%) rotate(13deg); }
.paper-front {
  padding: 8% 5%;
  background: #fffefd;
  transform: translate(-61%, -45%) rotate(-9deg);
}
.doc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  color: var(--purple);
  font-size: clamp(.55rem, 1vw, .67rem);
  font-weight: 700;
}
.doc-top span:last-child { padding: 2px 5px; border-radius: 4px; background: #f0eaff; }
.paper-front strong {
  display: table;
  margin-top: 11%;
  padding-inline: 3px;
  background: #e9ddff;
  color: #30234c;
  font-size: clamp(.88rem, 2vw, 1.4rem);
  letter-spacing: -.045em;
}
.doc-rule { height: 1px; margin-top: 10%; background: #d5cde1; }
.doc-text { display: grid; gap: 6px; margin-top: 10%; }
.doc-text span, .doc-table i { display: block; height: 3px; border-radius: 8px; background: #ded9e6; }
.doc-text span:nth-child(2) { width: 89%; }
.doc-text span:nth-child(3) { width: 56%; }
.doc-table { display: grid; grid-template-columns: 2fr 1fr; gap: 9px 11px; margin-top: 15%; color: var(--muted); font-size: .62rem; }
.doc-table span { border-bottom: 1px solid #ddd4e7; padding-bottom: 4px; }
.art-result {
  position: absolute;
  right: 8%;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  color: #37276c;
  background: white;
  border: 1px solid #eee9fb;
  border-radius: 9px;
  box-shadow: 0 8px 18px #40307a20;
  font-size: .88rem;
  font-weight: 680;
}
.search-icon {
  display: block;
  position: relative;
  width: 12px;
  height: 12px;
  margin: 0 4px 3px 0;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.5px;
  left: 9px;
  top: 10px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left;
}

.features { border-top: 1px solid var(--line); padding-block: 43px 65px; }
.features h2, .compatibility h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.06em;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 25px; }
.feature-grid article { border-top: 1px solid var(--line); padding-top: 18px; }
.feature-grid h3 { margin-top: 12px; font-size: 1.12rem; letter-spacing: -.035em; }
.feature-grid p, .compat-copy p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.65;
}
.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 7px;
  background: #eee8ff;
  color: var(--purple);
}
.feature-icon::before, .feature-icon::after { content: ""; position: absolute; }
.scan-icon::before { width: 15px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; }
.scan-icon::after { width: 11px; height: 1.5px; background: currentColor; }
.edit-icon::before { width: 11px; height: 11px; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: translate(-2px, 2px); }
.edit-icon::after { width: 11px; height: 11px; border-right: 1.5px solid; border-top: 1.5px solid; transform: translate(2px, -2px); }
.ocr-icon::before { content: "Aa"; font-size: .82rem; font-weight: 750; }

.compatibility {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 35px;
  padding: clamp(28px, 5vw, 54px);
  background: #eeebf8;
  border-radius: 16px;
  scroll-margin: 18px;
}
.compatibility h2 { margin-top: 9px; }
.compat-copy > p { margin-top: 0; }
.compat-copy details { margin-block: 12px 16px; border-top: 1px solid #d8d1e8; padding-top: 10px; }
.compat-copy summary { font-weight: 650; cursor: pointer; }
.text-link { color: var(--purple); font-weight: 650; text-underline-offset: .25em; }
.site-footer { margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer .brand { color: var(--ink); font-size: 1rem; }

.policy { max-width: 700px; padding-block: 60px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.06em; }
.policy h2 { margin-top: 28px; font-size: 1.25rem; letter-spacing: -.025em; }
.policy p { margin-top: 9px; color: var(--muted); line-height: 1.75; }
.policy a { color: var(--purple); text-underline-offset: .2em; }
.policy .policy-date { margin-bottom: 22px; font-size: .9rem; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 62px; }
  .site-header nav { gap: 11px; }
  .hero, .compatibility { grid-template-columns: 1fr; }
  .hero { gap: 24px; padding-block: 39px; }
  .art { min-height: 270px; max-height: 390px; }
  .paper { width: min(46%, 220px); }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .features { padding-block: 34px; }
  .compatibility { gap: 16px; }
  .site-footer { flex-wrap: wrap; column-gap: 12px; row-gap: 4px; padding-block: 10px; }
  .policy { padding-block: 35px; }
}

@media (max-width: 370px) {
  .site-header { gap: 8px; }
  .brand { gap: 5px; font-size: 1rem; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 5px 7px; font-size: .78rem; }
}
