:root { color-scheme: light; --ink: #171a19; --muted: #696e6c; --line: #e6e5e0; --paper: #faf9f6; --accent: #ed6967; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
.seo-shell { max-width: 1480px; min-height: 100vh; margin: 0 auto; padding: 0 6%; }
.seo-header { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 89px; border-bottom: 1px solid var(--line); }
.seo-brand { display: inline-flex; align-items: center; gap: 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.seo-brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: white; font: 800 22px Arial, Helvetica, sans-serif; transform: rotate(-12deg); }
.seo-dot { color: var(--accent); }
.seo-header nav, .seo-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 2.5vw, 38px); }
.seo-header nav a, .seo-footer a, .seo-footer .analytics-preferences { font-size: 13px; font-weight: 700; text-decoration: none; }
.seo-header nav a:hover, .seo-footer a:hover, .seo-footer .analytics-preferences:hover, .seo-other a:hover { color: var(--accent); }
.seo-kicker { color: #767c78; font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.seo-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(430px, 1fr); align-items: start; gap: clamp(40px, 6vw, 105px); padding: clamp(62px, 8vw, 116px) 0 100px; }
.seo-hero-copy { padding-top: 28px; }
.seo-hero h1, .seo-info h1 { max-width: 700px; margin: 27px 0 25px; font-size: clamp(58px, 6vw, 99px); font-weight: 700; letter-spacing: -.075em; line-height: 1.02; }
.seo-lead { max-width: 580px; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; }
.seo-quota { margin: 32px 0 14px; color: #838d86; font-size: 13px; font-weight: 700; }
.seo-account button { border: 0; padding: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.seo-tool { padding: clamp(25px, 3vw, 41px); border: 1px solid #ecebe6; border-radius: 20px; background: white; box-shadow: 0 18px 55px rgba(25,31,27,.06); }
.seo-tool-top { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 25px; color: #939996; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.seo-tool h2 { margin-bottom: 9px; font-size: 38px; letter-spacing: -.055em; }
.seo-tool > p:not(.seo-fine) { margin-bottom: 30px; color: var(--muted); font-size: 14px; line-height: 1.5; }
label { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 800; }
input { width: 100%; min-height: 56px; padding: 0 17px; border: 1px solid #d9ded4; border-radius: 10px; outline: none; background: #fbfcf9; color: var(--ink); font-size: 14px; }
input:focus, textarea:focus { border-color: #eb8480; box-shadow: 0 0 0 4px rgba(237,105,103,.14); outline: none; }
input::placeholder { color: #a1aaa1; }
#password-field { margin-top: 18px; }
.seo-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 56px; padding: 0 19px; border: 0; border-radius: 10px; background: var(--accent); color: white; font-size: 14px; font-weight: 800; text-decoration: none; }
.seo-primary:hover { background: #d95756; }
.seo-primary:disabled { cursor: wait; opacity: .7; }
.seo-tool .seo-primary, .seo-modal .seo-primary { width: 100%; margin-top: 16px; }
.seo-fine { margin: 18px 0 0; color: #88918c; font-size: 11px; line-height: 1.5; }
.seo-error, .seo-loading { margin-top: 18px; padding: 14px 15px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.seo-error { border: 1px solid #f3cbd2; background: #fff1f3; color: #9c3149; }
.seo-loading { border: 1px solid #dce6d8; background: #f5f9f1; color: #3f5a42; }
.seo-preview { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.seo-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; }
.seo-preview-top span { color: #9ba49f; font-size: 9px; letter-spacing: .14em; }
.seo-preview-frame { display: flex; justify-content: center; min-height: 260px; padding: 13px; overflow: hidden; border-radius: 12px; background: #191c1b; }
.seo-preview-frame iframe { display: block; width: min(100%, 330px); height: 340px; border: 0; border-radius: 7px; background: #0e0f0f; }
.seo-preview > p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.seo-preview-open { display: inline-block; margin-top: 12px; color: #506c58; font-size: 12px; font-weight: 800; }
.seo-result { padding: 10px 0 105px; scroll-margin-top: 28px; }
.seo-result h2, .seo-explainer h2, .seo-questions h2, .seo-other h2 { font-size: clamp(37px, 3.4vw, 55px); line-height: 1.12; letter-spacing: -.06em; }
.seo-result-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.seo-result-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px; border-bottom: 1px solid var(--line); }
.seo-result-head strong, .seo-result-head span { display: block; }
.seo-result-head span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.seo-result-head a { color: #506c58; font-size: 12px; font-weight: 800; white-space: nowrap; }
.seo-result-card > label { margin: 20px 22px 10px; }
.seo-result-card textarea { display: block; width: calc(100% - 44px); min-height: 290px; margin: 0 22px; padding: 15px; border: 1px solid #d9ded4; border-radius: 9px; resize: vertical; background: #fcfcfa; color: var(--ink); font-size: 15px; line-height: 1.7; }
.seo-result-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 22px 23px; }
.seo-result-actions p { margin: 0; color: var(--muted); font-size: 12px; }
.seo-result-actions > div { display: flex; gap: 8px; }
.seo-result-actions button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 12px; font-weight: 800; }
.seo-result-actions button:last-child { border-color: var(--ink); background: var(--ink); color: white; }
.seo-explainer { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px, 5vw, 80px); padding: 80px 0 95px; border-top: 1px solid var(--line); }
.seo-explainer > div > p:last-child { color: var(--muted); line-height: 1.65; }
.seo-explainer ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.seo-explainer li { min-height: 210px; padding: 25px 20px; border: 1px solid var(--line); border-radius: 12px; background: white; counter-increment: steps; }
.seo-explainer li::before { display: block; margin-bottom: 38px; color: var(--accent); font-size: 11px; font-weight: 900; content: '0' counter(steps); }
.seo-explainer li strong { font-size: 15px; }
.seo-explainer li p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.seo-questions { display: grid; grid-template-columns: .75fr 1.25fr; gap: 0 clamp(30px, 5vw, 80px); padding: 70px 0 100px; border-top: 1px solid var(--line); }
.seo-questions > .seo-kicker, .seo-questions > h2 { grid-column: 1; }
.seo-questions details { grid-column: 2; padding: 21px 0; border-bottom: 1px solid var(--line); }
.seo-questions summary { cursor: pointer; font-weight: 800; }
.seo-questions details p { max-width: 650px; margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.seo-other { padding: 58px 0 85px; border-top: 1px solid var(--line); }
.seo-other > div { display: flex; flex-wrap: wrap; gap: 12px; }
.seo-other a { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 12px; font-weight: 800; text-decoration: none; }
.seo-footer { display: flex; justify-content: space-between; gap: 25px; padding: 28px 0; border-top: 1px solid var(--line); color: #919a92; font-size: 12px; }
.seo-footer a { color: var(--ink); font-size: 12px; }
.seo-footer .analytics-preferences { padding: 0; border: 0; background: none; color: var(--ink); font-size: 12px; }
.seo-info { max-width: 980px; padding: clamp(65px, 8vw, 120px) 0 120px; }
.seo-info .seo-lead { max-width: 760px; }
.seo-info-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 56px 0 40px; }
.seo-info-sections section { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.seo-info-sections h2 { margin-bottom: 16px; font-size: 28px; letter-spacing: -.04em; }
.seo-info-sections p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.seo-info-cta { width: fit-content; }
.seo-modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(10,15,13,.65); }
.seo-modal { position: relative; width: min(100%, 480px); padding: 35px; border-radius: 18px; background: #fff; box-shadow: 0 35px 90px rgba(0,0,0,.2); }
.seo-modal h2 { margin-bottom: 13px; font-size: 34px; letter-spacing: -.05em; }
.seo-modal > p:not(.seo-kicker) { color: var(--muted); font-size: 14px; line-height: 1.6; }
.seo-modal-close { position: absolute; top: 12px; right: 17px; border: 0; background: none; font-size: 26px; }
.seo-modal form { margin-top: 22px; }
.seo-modal form label:not(:first-child), .seo-modal #auth-confirm-field { margin-top: 16px; }
.seo-auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 22px; padding: 4px; border-radius: 10px; background: #f2f2ed; }
.seo-auth-switch button { min-height: 39px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; }
.seo-auth-switch button.active { background: white; color: var(--ink); box-shadow: 0 2px 7px rgba(0,0,0,.07); }
.seo-modal #auth-error { margin-top: 13px; color: #9c3149; font-size: 13px; }
.seo-auth-legal { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
@media (max-width: 1050px) { .seo-hero { grid-template-columns: 1fr; gap: 40px; } .seo-hero-copy { padding-top: 0; } .seo-tool { max-width: 700px; } .seo-explainer, .seo-questions { grid-template-columns: 1fr; } .seo-questions > .seo-kicker, .seo-questions > h2, .seo-questions details { grid-column: 1; } }
@media (max-width: 760px) { .seo-shell { padding: 0 20px; } .seo-header { align-items: flex-start; flex-direction: column; gap: 13px; padding: 19px 0; } .seo-header nav { gap: 9px 17px; } .seo-header nav a { font-size: 11px; } .seo-hero { padding: 60px 0 80px; } .seo-hero h1, .seo-info h1 { font-size: clamp(48px, 11vw, 70px); } .seo-tool { padding: 24px 20px; } .seo-tool h2 { font-size: 32px; } .seo-explainer ol, .seo-info-sections { grid-template-columns: 1fr; } .seo-explainer { padding: 65px 0; } .seo-explainer li { min-height: 170px; } .seo-questions { padding: 60px 0 80px; } .seo-result-actions { align-items: stretch; flex-direction: column; } .seo-footer { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
