/* Fresh Draft Studio site styles */

/* Base reset */
html{color-scheme:light}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}

/* Layout: one calm column on paper-white, a redline motif (strike the old draft, write the next) as the single bold move. */
:root {
  --paper: #FBFBFD;
  --sheet: #FFFFFF;
  --ink: #16181D;
  --ink-soft: #4A4F5A;
  --rule: #E3E5EB;
  --cobalt: #2B4ACB;
  --cobalt-soft: #EEF1FC;
  --red: #C8392F;
  --on-cobalt: #FFFFFF;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111318; --sheet: #181B22; --ink: #EEF0F4; --ink-soft: #A6ACB8; --rule: #2A2F3A;
    --cobalt: #7D95FF; --cobalt-soft: #1C2236; --red: #FF7A6E; --on-cobalt: #0F1220; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111318; --sheet: #181B22; --ink: #EEF0F4; --ink-soft: #A6ACB8; --rule: #2A2F3A;
  --cobalt: #7D95FF; --cobalt-soft: #1C2236; --red: #FF7A6E; --on-cobalt: #0F1220; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }

.band { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 52px; height: auto; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-name span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; color: var(--ink-soft); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--cobalt); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding-inline: 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cobalt); color: var(--on-cobalt); font: 600 16px/1 var(--body); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--cobalt) 30%, transparent); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav .btn { min-height: 40px; padding-inline: 18px; font-size: 15px; color: var(--on-cobalt); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 74px); font-weight: 700; }
.redline { position: relative; display: inline-block; }
.struck { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 0.08em; }
.caret {
  position: absolute; left: 50%; top: -0.62em; transform: translateX(-50%) rotate(-4deg);
  font-family: var(--mono); font-size: 0.32em; font-weight: 500; letter-spacing: 0; color: var(--red); white-space: nowrap;
}
.next { color: var(--cobalt); }
.lede { margin-top: 24px; font-size: 20px; color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: 15px; color: var(--ink-soft); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--cobalt); transform: rotate(45deg); }

/* Before / after drafts */
.drafts { position: relative; min-height: 380px; }
.sheet { position: absolute; width: 78%; border-radius: 14px; background: var(--sheet); border: 1px solid var(--rule); overflow: hidden; }
.sheet .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.sheet .chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.sheet .chrome em { margin-left: 10px; font: 500 11px var(--mono); font-style: normal; color: var(--ink-soft); }
.v1 { left: 0; top: 0; transform: rotate(-4deg); filter: saturate(0.4); opacity: 0.85; }
.v1 .body { padding: 18px; display: grid; gap: 10px; }
.v1 .blk { height: 12px; border-radius: 3px; background: var(--rule); }
.v1 .blk.w1 { width: 92%; margin-left: 14%; }
.v1 .blk.w2 { width: 58%; }
.v1 .blk.img { height: 70px; width: 70%; margin-left: 38%; }
.v1 .blk.w3 { width: 80%; margin-left: -6%; }
.v1 .tag { position: absolute; right: 12px; bottom: 12px; font: 500 11px var(--mono); color: var(--red); }
.v2 { right: 0; bottom: 0; transform: rotate(2deg); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--ink) 35%, transparent); border-color: color-mix(in srgb, var(--cobalt) 40%, var(--rule)); }
.v2 .chrome { border-color: color-mix(in srgb, var(--cobalt) 25%, var(--rule)); }
.v2 .chrome i { background: var(--cobalt); opacity: 0.8; }
.v2 .body { padding: 22px; display: grid; gap: 12px; }
.v2 .h { height: 16px; width: 70%; border-radius: 4px; background: var(--ink); }
.v2 .s { height: 9px; width: 88%; border-radius: 3px; background: var(--rule); }
.v2 .s.short { width: 60%; }
.v2 .row { display: flex; gap: 10px; margin-top: 6px; }
.v2 .pill { height: 30px; width: 110px; border-radius: 999px; background: var(--cobalt); }
.v2 .pill.o { width: 84px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.v2 .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.v2 .cards span { height: 46px; border-radius: 8px; background: var(--cobalt-soft); }
.v2 .tag { position: absolute; right: 14px; top: 9px; font: 500 11px var(--mono); color: var(--cobalt); }
.spark { position: absolute; right: -10px; bottom: 210px; width: 46px; color: var(--cobalt); }
@media (prefers-reduced-motion: no-preference) {
  .v2 { animation: settle .9s .2s cubic-bezier(.2,.7,.2,1) both; }
  .spark { animation: twinkle 3.2s 1s ease-in-out infinite; }
}
@keyframes settle { from { transform: translateY(18px) rotate(6deg); } to { transform: rotate(2deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(12deg); } }

/* Sections */
section.block .wrap { padding-block: 80px; border-top: 1px solid var(--rule); }
.head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 44px; }
.head h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; }
.head p { color: var(--ink-soft); font-size: 18px; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { padding: 28px; border-radius: 16px; background: var(--sheet); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.service h3 { font-size: 22px; font-weight: 600; }
.service p { color: var(--ink-soft); font-size: 16px; }
.service .price { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 14px; color: var(--cobalt); font-variant-numeric: tabular-nums; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 24px 0 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps li::before {
  content: "v" counter(step) ".0"; font-family: var(--mono); font-size: 13px; color: var(--cobalt);
  padding-bottom: 14px; border-bottom: 2px solid var(--cobalt); margin-bottom: 8px;
}
.steps li:last-child::before { content: "Final"; }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { color: var(--ink-soft); font-size: 16px; }

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.rates { border-top: 2px solid var(--ink); }
.rate { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rate div { min-width: 0; }
.rate b { display: block; font-size: 18px; font-weight: 600; }
.rate span { color: var(--ink-soft); font-size: 15px; }
.rate .amt { font-family: var(--mono); font-size: 18px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.included { background: var(--cobalt-soft); border-radius: 18px; padding: 32px; display: grid; gap: 16px; }
.included h3 { font-size: 22px; font-weight: 600; }
.included ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.included li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.included svg { width: 18px; height: 18px; margin-top: 4px; color: var(--cobalt); }

.about { display: grid; gap: 44px; }
.about-head { display: grid; gap: 14px; }
.about .quote { font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; max-width: 32ch; }
.about .quote em { font-style: normal; color: var(--cobalt); }
.about .copy { display: grid; gap: 16px; color: var(--ink-soft); }
.about .copy b { color: var(--ink); font-weight: 600; }
.about-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 900px; }
@media (max-width: 600px) { .about-row { grid-template-columns: minmax(0, 1fr); gap: 28px; } .about-row .portrait { width: 160px; height: 160px; } }
.portrait { display: block; width: 200px; height: 200px; max-width: 100%; border-radius: 50%; object-fit: cover; background: var(--rule); }

.faq { display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 26px var(--mono); color: var(--cobalt); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact .wrap { padding-block: 88px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--paper); }
.contact .sub { margin-top: 16px; font-size: 18px; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); max-width: 40ch; }
.reach { display: grid; gap: 14px; }
.line {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb, var(--paper) 8%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--paper) 14%, var(--ink));
}
.line div { display: grid; gap: 2px; min-width: 0; }
.line small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 60%, var(--ink)); }
.line a { color: var(--paper); font-size: 19px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.copy-btn {
  min-height: 40px; padding-inline: 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 30%, var(--ink));
  font: 500 14px var(--body);
}
.copy-btn:hover { border-color: var(--paper); }

footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 880px) {
  .hero .wrap, .pricing, .about, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 48px 64px; gap: 40px; }
  .drafts { min-height: 320px; max-width: 520px; width: 100%; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .nav a:not(.btn) { display: none; }
  section.block .wrap { padding-block: 64px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .brand-name span { display: none; }
  .drafts { min-height: 270px; }
  .lede { font-size: 18px; }
}

/* Privacy and other text pages */
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--cobalt); }
.legal .wrap { max-width: 720px; padding-block: 64px 88px; }
.legal-body { display: grid; gap: 14px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 600; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal b { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
