/* Author Services PDF — landing page.
   Warm editorial design: Playfair Display headlines, Source Serif 4 body,
   DM Mono labels; teal + terracotta on warm cream, with dark contrast sections. */

@font-face { font-family:'Playfair Display'; font-weight:400 900; font-display:swap; src:url('fonts/playfair.woff2') format('woff2'); }
@font-face { font-family:'Source Serif 4'; font-weight:200 900; font-display:swap; src:url('fonts/sourceserif.woff2') format('woff2'); }
@font-face { font-family:'DM Mono'; font-weight:400; font-display:swap; src:url('fonts/dmmono-400.woff2') format('woff2'); }
@font-face { font-family:'DM Mono'; font-weight:500; font-display:swap; src:url('fonts/dmmono-500.woff2') format('woff2'); }

:root {
  --cream: #f5f0e8;
  --paper: #f8f4ec;
  --panel: #ece4d6;
  --dark: #1a1208;
  --dark-2: #22190d;
  --teal: #0d6e6e;
  --teal-dark: #094f4f;
  --teal-light: #4f9a9a;
  --rust: #c4622d;
  --rust-dark: #a3511f;
  --ink: #1a1208;
  --muted: #7c7365;
  --muted-dark: #a79d8c;
  --line: rgba(26,18,8,.14);
  --line-soft: rgba(26,18,8,.08);
  --line-dark: rgba(245,240,232,.16);
  --display: 'Playfair Display', Georgia, serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'DM Mono', ui-monospace, 'Courier New', monospace;
  --maxw: 1200px;
  --shadow: 0 10px 40px rgba(26,18,8,.10);
  --shadow-lg: 0 30px 80px rgba(26,18,8,.20);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--serif); color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.teal { color: var(--teal); }
.rust { color: var(--rust); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 28px; }
.mono { font-family: var(--mono); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; justify-content: center; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 14px 24px; border: 1.5px solid transparent; border-radius: 3px; transition: .16s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 17px 30px; font-size: 13.5px; }
.btn.disabled { opacity: .5; pointer-events: none; }

/* ---- eyebrow (mono label with ink-drop ornaments) ---- */
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; color: var(--teal); }
.eyebrow.on-dark { color: var(--teal-light); }
.eyebrow i { height: 1px; width: 46px; background: currentColor; opacity: .4; }
.eyebrow .lbl { font-family: var(--mono); font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow .drop { display: flex; opacity: .8; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(245,240,232,.9); backdrop-filter: saturate(1.4) blur(10px); border-top: 3px solid var(--teal); border-bottom: 1px solid var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 36px; height: 36px; border-radius: 9px; }
.brand .word { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--ink); }
.brand .word b { color: var(--teal); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--teal); }
.nav-links .btn { padding: 11px 17px; font-size: 11.5px; }
.nav-links .btn svg { width: 14px; height: 14px; }
.nav-member { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.nav-signout { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-signout:hover { color: var(--rust); }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 70px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 66px; margin: 22px 0 26px; }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 30em; margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.avail { margin-top: 34px; }
.avail .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.avail .plats { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.avail .plats span { display: inline-flex; align-items: center; gap: 7px; }
.avail .plats svg { width: 15px; height: 15px; color: var(--teal); }

.cta-hint { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.cta-hint svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

/* browser-frame mockup */
.mock { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--panel); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .dot:nth-child(1){background:#e0654e;} .mock-bar .dot:nth-child(2){background:#e0a94e;} .mock-bar .dot:nth-child(3){background:#0d6e6e;}
.mock-url { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 4px 14px; flex: 1; max-width: 320px; text-align: center; }

/* ---- sections ---- */
.section { padding: 96px 0; }
.section.paper { background: var(--paper); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: 46px; margin-bottom: 16px; }
.section-head p { font-size: 19px; color: var(--muted); }

/* ink-drop divider */
.drop-divider { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--teal); padding: 8px 0; }
.drop-divider i { height: 1px; width: 120px; max-width: 22vw; background: currentColor; opacity: .3; }
.drop-divider .drop { opacity: .85; }

/* ---- value cards ---- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: rgba(255,255,255,.4); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.value-card h3 { font-family: var(--display); font-size: 24px; color: var(--teal); margin-bottom: 10px; }
.value-card .sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---- dark section (why offline) ---- */
.dark-section { background: var(--dark); color: var(--paper); padding: 104px 0; position: relative; overflow: hidden; }
.dark-section .giant-drop { position: absolute; right: -60px; top: 40px; width: 460px; color: var(--paper); opacity: .03; }
.dark-section h2 { color: var(--paper); }
.dark-section .lead-h { font-size: 52px; margin-bottom: 60px; }
.dark-section .lead-h .teal { color: var(--teal-light); }
.numbered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.num-item { position: relative; }
.num-item .big-num { position: absolute; top: -30px; left: -6px; font-family: var(--display); font-size: 130px; font-weight: 800; color: rgba(245,240,232,.05); z-index: 0; line-height: 1; }
.num-item .ico { position: relative; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--teal-light); margin-bottom: 22px; }
.num-item h3 { position: relative; font-size: 24px; color: var(--paper); margin-bottom: 12px; }
.num-item p { position: relative; color: var(--muted-dark); font-size: 16px; }
.num-item .rule { width: 34px; height: 2px; background: var(--teal-light); margin-top: 18px; }
.dark-trust { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: 14px; }
.dark-trust .drops { display: flex; gap: 4px; color: var(--teal-light); opacity: .6; }
.dark-trust .txt { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }

/* ---- feature index (accordion) ---- */
.feat-groups { border-top: 1px solid var(--line); }
.feat-group { border-bottom: 1px solid var(--line); }
.feat-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 26px; padding: 30px 4px; }
.feat-group > summary::-webkit-details-marker { display: none; }
.feat-group .g-num { font-family: var(--display); font-size: 48px; font-weight: 800; color: var(--muted); opacity: .5; min-width: 76px; }
.feat-group[open] .g-num { color: var(--teal); opacity: 1; }
.feat-group .g-title { font-family: var(--display); font-size: 34px; flex: 1; }
.feat-group .g-count { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.feat-group .g-toggle { width: 44px; height: 44px; border-radius: 4px; background: var(--panel); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 300; color: var(--ink); }
.feat-group[open] .g-toggle { background: var(--teal); color: #fff; }
.feat-group[open] .g-toggle .plus { display: none; }
.feat-group .g-toggle .close { display: none; } .feat-group[open] .g-toggle .close { display: block; }
.feat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; padding: 8px 0 34px; border-top: 1px solid var(--line); }
.feat-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.feat-item .fi-num { font-family: var(--mono); font-size: 11px; color: var(--teal); margin-right: 8px; }
.feat-item h4 { font-family: var(--display); font-size: 19px; display: inline; }
.feat-item p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.feat-total { margin-top: 34px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.feat-total .drop { color: var(--teal); opacity: .5; }

/* ---- download (dark teal) ---- */
.download { background: var(--teal); color: var(--paper); padding: 104px 0; position: relative; overflow: hidden; }
.download .giant-drop { position: absolute; left: 50%; top: 44%; transform: translateX(-50%); width: 520px; color: #fff; opacity: .04; }
.download .eyebrow { color: rgba(245,240,232,.7); }
.download .eyebrow i { background: rgba(245,240,232,.6); }
.download h2 { color: var(--paper); text-align: center; font-size: 54px; margin-bottom: 30px; }
.detect-banner { max-width: 660px; margin: 0 auto 40px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 1px solid rgba(245,240,232,.25); border-radius: 4px; background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,240,232,.85); text-align: center; }
.detect-banner svg { width: 16px; height: 16px; flex: none; }
/* prominent "use in browser" card */
.browser-card { max-width: 640px; margin: 0 auto; background: var(--paper); border-radius: 8px; padding: 42px; text-align: center; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.bc-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(13,110,110,.1); padding: 6px 15px; border-radius: 999px; margin-bottom: 20px; }
.bc-badge svg { width: 14px; height: 14px; }
.browser-card h3 { font-family: var(--display); font-size: 32px; color: var(--ink); margin-bottom: 14px; }
.browser-card p { color: var(--muted); font-size: 16px; max-width: 46ch; margin: 0 auto 26px; }
.browser-card p code { font-family: var(--mono); font-size: .82em; background: var(--panel); padding: 1px 6px; border-radius: 3px; color: var(--ink); }
.dl-or { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 40px auto 34px; max-width: 640px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,240,232,.6); scroll-margin-top: 90px; }
.dl-or i { height: 1px; flex: 1; background: rgba(245,240,232,.22); }
.dl-single { max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }
.dl-card { background: var(--paper); border-radius: 6px; padding: 38px; text-align: left; box-shadow: var(--shadow-lg); }
.dl-card .dl-ico { width: 60px; height: 60px; border-radius: 8px; background: var(--teal); color: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.dl-card .dl-ico svg { width: 30px; height: 30px; }
.dl-card h3 { font-family: var(--display); font-size: 30px; color: var(--ink); margin-bottom: 6px; }
.dl-card .dl-sub { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.dl-card .btn { width: 100%; }
.dl-card .dl-file { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }
.dl-alt { text-align: center; margin-top: 28px; }
.dl-alt a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,240,232,.75); border-bottom: 1px solid rgba(245,240,232,.35); padding-bottom: 2px; }
.dl-alt a:hover { color: #fff; }
.dl-browser-note { text-align: center; margin-top: 34px; font-family: var(--mono); font-size: 12.5px; color: rgba(245,240,232,.7); }
.dl-browser-note a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px; }
/* all-platforms modal grid */
.dl-all { display: none; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 620px; margin: 26px auto 0; }
.dl-all.show { display: grid; }
.dl-all .mini { background: rgba(255,255,255,.06); border: 1px solid rgba(245,240,232,.18); border-radius: 5px; padding: 18px; }
.dl-all .mini h4 { font-family: var(--display); font-size: 18px; color: var(--paper); margin-bottom: 3px; }
.dl-all .mini .s { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(245,240,232,.6); margin-bottom: 12px; }
.dl-all .mini a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

/* smartscreen note under download */
.smartscreen { max-width: 660px; margin: 34px auto 0; background: rgba(255,255,255,.05); border: 1px solid rgba(245,240,232,.2); border-radius: 5px; }
.smartscreen summary { list-style: none; cursor: pointer; padding: 16px 20px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(245,240,232,.85); display: flex; justify-content: space-between; }
.smartscreen summary::-webkit-details-marker { display: none; }
.smartscreen summary::after { content: '+'; } .smartscreen[open] summary::after { content: '−'; }
.smartscreen .ss-body { padding: 0 20px 18px; color: rgba(245,240,232,.8); font-size: 15px; font-family: var(--serif); }
.smartscreen .ss-body ol { margin: 10px 0 10px 20px; } .smartscreen .ss-body li { margin: 5px 0; }
.smartscreen .ss-body a { color: #fff; text-decoration: underline; }

/* ---- faq ---- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 4px; font-family: var(--display); font-size: 21px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); color: var(--teal); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details > p { padding: 0 4px 24px; color: var(--muted); font-size: 16px; }
.faq a { color: var(--teal); }

/* ---- final cta ---- */
.final { text-align: center; padding: 110px 0; background: var(--paper); }
.final h2 { font-size: 56px; margin: 22px auto 24px; max-width: 16ch; }
.final p { font-size: 19px; color: var(--muted); max-width: 42ch; margin: 0 auto 32px; }
.final .fine { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }

/* ---- footer ---- */
.footer { background: var(--dark); color: var(--muted-dark); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 40px 0; }
.footer .brand .word { color: var(--paper); font-size: 18px; }
.footer .brand .word b { color: var(--teal-light); }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.footer-nav a:hover { color: var(--paper); }
.footer-copy { font-family: var(--mono); font-size: 12px; color: var(--muted-dark); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 46px; }
  .numbered, .value-grid { grid-template-columns: 1fr; gap: 34px; }
  .feat-list { grid-template-columns: 1fr 1fr; }
  .dl-all { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .feat-group .g-title { font-size: 26px; } .feat-group .g-num { font-size: 34px; min-width: 54px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 36px; } .section-head h2, .download h2, .final h2, .dark-section .lead-h { font-size: 32px; }
  .feat-list { grid-template-columns: 1fr; }
  .section, .dark-section, .download { padding: 64px 0; }
}
