:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20211f; background: #f8f9f7; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
.link-icon, #export-button svg, .benefits svg, .file-tag svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-header { max-width: 1120px; padding: 30px 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 21px; font-weight: 750; letter-spacing: -.8px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.header-link { text-decoration: none; font-size: 13px; color: #5f645e; }
.header-link span { margin-left: 7px; }
.header-link:hover { color: #161815; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.auth-button { padding: 9px 15px; border: 1px solid #dedfd9; border-radius: 9px; background: #fff; color: #242720; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-button:hover { background: #eef1e9; }
.auth-button:disabled { opacity: .5; cursor: wait; }
#user-button { min-width: 32px; min-height: 32px; }
.hero { max-width: 840px; margin: 0 auto; padding: 67px 24px 65px; text-align: center; }
.paper-mark { position: relative; margin: 0 auto 28px; width: 61px; height: 65px; transform: rotate(-8deg); }
.paper-mark > img { width: 55px; height: 55px; }
.paper-mark > span { position: absolute; right: 0; bottom: 11px; font-size: 10px; letter-spacing: 1px; font-weight: 700; padding: 5px 7px; border: 1px solid #d7dfd1; border-radius: 4px; background: #e8eee3; color: #46513f; transform: rotate(8deg); }
.hero h1 { margin: 0; font-size: clamp(48px, 7.4vw, 78px); font-weight: 750; line-height: 1.08; letter-spacing: -4.3px; }
.hero h1 span { color: #727a6d; }
.intro { margin: 23px 0 36px; font-size: 17px; line-height: 1.65; color: #73766e; }
#export-form { max-width: 720px; margin: auto; }
.input-row { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 21px; border: 1px solid #dedfd9; border-radius: 15px; background: #fff; box-shadow: 0 3px 7px #24311b04, 0 12px 26px #24311b03; }
.input-row:focus-within { border-color: #8c9983; box-shadow: 0 0 0 3px #8c998319; }
.link-icon { flex: 0 0 21px; width: 21px; height: 21px; color: #999f95; }
#article-url { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; color: #242821; padding: 13px 0; font-size: 14px; }
#article-url::placeholder { color: #707669; }
#export-button { border: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 0 21px; border-radius: 10px; color: #fff; background: #242720; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s; }
#export-button:hover { background: #424a3b; }
#export-button:disabled { cursor: wait; background: #5f6857; }
#export-button svg { width: 17px; height: 17px; }
a:focus-visible, button:focus-visible { outline: 3px solid #829c72; outline-offset: 5px; }
.input-help { margin: 13px 0 0; color: #6b7264; font-size: 11px; line-height: 1.7; }
.status { min-height: 20px; margin: 9px 0 0; color: #4d6441; font-size: 13px; line-height: 1.6; }
.status.error { color: #a03e35; }
.spinner { display: none; height: 15px; width: 15px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
form[aria-busy="true"] .spinner { display: inline-block; }
form[aria-busy="true"] .download-icon { display: none; }
.benefits { margin-top: 25px; display: flex; justify-content: center; gap: 32px; color: #686e60; }
.benefits span { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.benefits svg { width: 18px; height: 18px; stroke-width: 1.35; }
.reading-section { max-width: 860px; margin: 0 auto 77px; padding: 47px 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; border-top: 1px solid #e4e7df; }
.reading-copy h2 { font-size: 33px; line-height: 1.2; font-weight: 650; letter-spacing: -1.2px; margin: 0 0 18px; }
.reading-copy > p { font-size: 13px; color: #6b7264; line-height: 1.85; max-width: 270px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 25px 0 0; }
.steps li { counter-increment: step; font-size: 12px; color: #62695c; margin: 13px 0; display: flex; gap: 11px; align-items: center; }
.steps li::before { content: counter(step); font-size: 10px; border: 1px solid #dce0d5; border-radius: 50%; width: 21px; height: 21px; display: grid; place-items: center; color: #7a826e; }
.preview { position: relative; padding: 16px 18px 0; }
.preview-paper { padding: 24px 27px 26px; background: #fff; border: 1px solid #e3e5de; border-radius: 3px; box-shadow: 0 8px 30px #27341a09; transform: rotate(3deg); }
.preview-meta { display: flex; justify-content: space-between; font-size: 6px; letter-spacing: 1.7px; color: #93968b; padding-bottom: 12px; border-bottom: 1px solid #e5e8df; }
.preview h3 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; line-height: 1.12; letter-spacing: -.6px; margin: 17px 0 10px; }
.preview-author { font-size: 7px; color: #999d91; }
.preview-art { height: 81px; position: relative; overflow: hidden; background: #ebeee6; margin-top: 17px; }
.preview-art i { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: #cdd6c0; left: -20px; top: 30px; }
.preview-art i:nth-child(2) { left: 80px; top: -90px; background: #dee5d5; }
.preview-art i:nth-child(3) { left: 145px; top: 40px; background: #b8c6a9; }
.preview-paper > p { font-family: Georgia, serif; color: #797e71; font-size: 8px; line-height: 1.8; margin: 13px 0; }
.preview-lines { display: grid; gap: 6px; }
.preview-lines i { height: 2px; background: #e9ece4; }
.preview-lines i:last-child { width: 68%; }
.file-tag { position: absolute; bottom: -13px; right: -1px; padding: 10px 15px; font-size: 10px; background: #fff; box-shadow: 0 4px 16px #2634190d; border: 1px solid #e4e8dd; border-radius: 7px; display: flex; align-items: center; gap: 9px; color: #67765a; }
.file-tag svg { width: 18px; height: 18px; background: #edf3e7; border-radius: 50%; padding: 2px; }
footer { max-width: 1040px; padding: 26px 0 30px; border-top: 1px solid #e4e7df; margin: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { font-size: 13px; font-weight: 650; color: #6b7264; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; color: #6b7264; }
footer p { margin: 0; color: #6b7264; font-size: 10px; line-height: 1.7; }
.legal-page { max-width: 760px; margin: auto; padding: 48px 24px 72px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-page h1 { margin: 0; font-size: 48px; line-height: 1.1; letter-spacing: -2px; }
.legal-page .legal-updated { margin: 16px 0 24px; font-size: 13px; color: #6b7264; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.legal-page section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e4e7df; scroll-margin-top: 24px; }
.legal-page h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.3; letter-spacing: -.7px; }
.legal-page h3 { margin: 28px 0 10px; font-size: 17px; line-height: 1.5; }
.legal-page p, .legal-page ul { margin: 12px 0; }
.legal-page ul { padding-left: 22px; }
.legal-page li + li { margin-top: 8px; }
.legal-page a, .footer-links a { text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pricing-section { max-width: 780px; margin: 0 auto 65px; padding: 40px 24px 0; border-top: 1px solid #e4e7df; text-align: center; }
.pricing-section h2 { margin: 0 0 14px; font-size: 33px; letter-spacing: -1.2px; }
.pricing-section > p { color: #6b7264; font-size: 13px; line-height: 1.8; }
.pricing-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 560px; margin: 28px auto 20px; }
.price-card { padding: 25px; background: #fff; border: 1px solid #dedfd9; border-radius: 15px; }
.price-card h3 { margin: 0; font-size: 15px; font-weight: 600; }
.price-card .price { margin: 18px 0; font-size: 38px; font-weight: 700; }
.price span { font-size: 13px; font-weight: 400; color: #6b7264; }
.price-card .auth-button { width: 100%; background: #242720; color: #fff; padding: 13px 10px; }
.pricing-section .pricing-terms { font-size: 11px; }
.billing-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.pricing-section .status.error { color: #a03e35; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { footer { margin: 0 40px; } }
@media (max-width: 640px) {
  .site-header { padding: 23px 23px; }
  .header-actions { gap: 14px; }
  .header-link { font-size: 11px; }
  .header-link span { display: none; }
  .hero { padding: 45px 21px 37px; }
  .hero h1 { letter-spacing: -2.6px; }
  .intro { font-size: 14px; margin: 20px 0 29px; }
  .input-row { flex-wrap: wrap; padding: 13px; gap: 5px 12px; }
  #article-url { width: calc(100% - 36px); padding: 10px 0; }
  #export-button { width: 100%; margin-top: 5px; }
  .input-help { font-size: 10px; }
  .benefits { gap: 13px; margin-top: 18px; }
  .benefits span { font-size: 10px; gap: 4px; }
  .benefits svg { width: 15px; height: 15px; }
  .reading-section { margin: 0 24px 47px; padding: 33px 5px; grid-template-columns: 1fr; gap: 17px; }
  .reading-copy { text-align: center; }
  .reading-copy > p { margin-left: auto; margin-right: auto; }
  .steps { display: inline-block; text-align: left; margin-top: 10px; }
  .reading-copy h2 { font-size: 29px; }
  .preview { width: 300px; max-width: 100%; margin: auto; }
  .pricing-options { grid-template-columns: 1fr; max-width: 340px; }
  footer { margin: 0 24px; flex-direction: column; align-items: flex-start; gap: 9px; padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
