/* Lane Draft public website. Brand: navy #061b2f, amber #f69700; Figtree for the wordmark, Overpass for text. */
:root {
  --navy: #061b2f; --navy-2: #0c2a45; --amber: #f69700; --amber-ink: #8a4f00; --amber-soft: #fff1da;
  --ink: #16202a; --muted: #56616e; --line: #d9dee3; --bg: #ffffff; --bg-2: #f4f6f8; --ok: #2c7a4b;
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Figtree", var(--font);
  --radius: 10px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--navy); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 16px/1 var(--font); padding: 14px 20px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #ffad2e; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--navy); }

/* Header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 27px/1 var(--display); text-decoration: none; color: #fff; }
.mark { width: 44px; height: 40px; color: #fff; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 700; color: #d6e0ea; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); padding-bottom: 4px; }
.nav .btn { color: var(--navy); padding: 11px 16px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; font: 700 15px var(--font); padding: 8px 12px; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 78px; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { margin-top: 8px; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #12406b 0%, transparent 60%), var(--navy); color: #fff; padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero-grid > div { max-width: 820px; }
.hero p.lead { font-size: 20px; color: #cfdae6; max-width: 34em; }
.hero .eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-note { font-size: 14px; color: #a9b7c8; }
.hero-shot { background: #fbfaf6; border-radius: 12px 12px 0 0; padding: 14px 14px 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); align-self: end; }
.hero-shot img { border-radius: 6px 6px 0 0; }
.hero-shot figcaption { color: var(--muted); font-size: 14px; padding: 10px 4px 12px; }
.hero-shot figcaption a { color: var(--navy); font-weight: 700; }
@media (max-width: 900px) { .hero { padding-top: 48px; } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 19px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 9px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; margin-bottom: 14px; font-weight: 800; }
.icon svg { width: 22px; height: 22px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { list-style: none; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
.shot { background: #fbfaf6; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.shot figcaption { font-size: 14px; color: var(--muted); padding: 10px 4px 2px; }
.ticks { padding: 0; margin: 0 0 1em; list-style: none; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%238a4f00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.layout-list { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .layout-list { columns: 1; } }
.badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); vertical-align: middle; margin-left: 6px; }
.badge-amber { background: var(--amber-soft); color: var(--amber-ink); border-color: #f5cf8f; }
.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta p { color: #cfdae6; margin: 0; }
.cta h2 { margin-bottom: 6px; }
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero p { color: #cfdae6; font-size: 19px; max-width: 40em; margin: 0; }
.cite { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }

/* Sample PDFs */
.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .samples { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .samples { grid-template-columns: 1fr; } }
.sample { display: flex; flex-direction: column; text-decoration: none; padding: 16px; transition: border-color .15s, box-shadow .15s; }
.sample:hover { border-color: var(--navy); box-shadow: 0 10px 30px rgba(6,27,47,.1); }
.sample img { width: 100%; height: 150px; object-fit: contain; background: #fbfaf6; border-radius: 6px; margin-bottom: 14px; }
.sample h3 { font-size: 18px; }
.sample p { font-size: 15px; flex: 1; }
.sample .dl { margin-top: 12px; font-weight: 800; color: var(--amber-ink); }
.sample .dl::before { content: "\2193  "; }

/* Time savings */
.times td:not(:first-child) { white-space: nowrap; }
.times td:last-child { font-weight: 800; color: var(--ok); }
.calc { display: grid; gap: 14px; }
.calc h3 { margin: 0; }
.calc-out { display: block; background: var(--amber-soft); border: 1px solid #f5cf8f; border-radius: 8px; padding: 14px 16px; font-size: 17px; }
.calc-big { font: 800 26px/1.2 var(--display); color: var(--navy); }

/* Contact: trial steps */
.trial-steps { margin: 0; padding-left: 20px; color: var(--muted); }
.trial-steps li { margin-bottom: 6px; }

/* Enlarge a drawing */
a.zoom { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; max-width: 96vw; max-height: 94vh; background: #fbfaf6; border-radius: 10px; overflow: auto; }
.lightbox::backdrop { background: rgba(4, 18, 31, .85); }
.lightbox img { width: min(1800px, 94vw); max-width: none; height: auto; cursor: zoom-out; }
.lightbox-close { position: sticky; top: 8px; float: right; margin: 8px; font: 800 15px var(--font); background: var(--navy); color: #fff; border: 0; border-radius: 6px; padding: 8px 12px; cursor: pointer; }

/* Pricing */
.billing { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-bottom: 28px; }
.billing button { font: 800 15px var(--font); border: 0; background: none; padding: 9px 18px; border-radius: 99px; cursor: pointer; color: var(--muted); }
.billing button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--amber); box-shadow: 0 16px 40px rgba(6,27,47,.12); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 24px; background: var(--amber); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.price { font: 800 44px/1 var(--display); margin: 10px 0 4px; }
.price small { font: 600 16px var(--font); color: var(--muted); }
.plan .ticks { margin: 18px 0 24px; flex: 1; }
.plan .btn { width: 100%; }
.founding { margin-top: 28px; background: var(--amber-soft); border: 1px solid #f5cf8f; border-radius: var(--radius); padding: 20px 24px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 18%; }
.compare thead th { background: var(--bg-2); font-family: var(--display); }
.table-scroll { overflow-x: auto; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Contact form */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 400 16px var(--font); padding: 12px 14px; border: 1px solid #b9c1ca; border-radius: 8px; background: #fff; color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.kinds label { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #b9c1ca; border-radius: 99px; padding: 8px 14px; margin: 0; cursor: pointer; font-weight: 700; }
.kinds input { width: auto; margin: 0; }
.kinds label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.form-status { padding: 14px 16px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: #e3f3e9; color: #1d5c37; }
.form-status.err { display: block; background: #fbe7e5; color: #8f2a22; }
.contact-side .card + .card { margin-top: 16px; }

/* FAQ and product updates */
.faq h2 { font-size: 24px; margin-top: 1.6em; }
.updates { max-width: 780px; }
.release { border-left: 3px solid var(--line); padding: 0 0 8px 24px; margin-bottom: 36px; position: relative; }
.release::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--amber); }
.release h2 { font: 800 14px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.release h3 { font-size: 22px; margin-bottom: 12px; }
.release ul { list-style: none; padding: 0; margin: 0; }
.release li { margin-bottom: 10px; padding-left: 92px; position: relative; }
.tag { position: absolute; left: 0; top: 2px; width: 80px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 99px; padding: 2px 0; }
.tag-new { background: var(--amber-soft); color: var(--amber-ink); }
.tag-improved { background: #e3eef8; color: #164f82; }
.tag-fixed { background: #e3f3e9; color: #1d5c37; }
@media (max-width: 560px) { .release li { padding-left: 0; } .tag { position: static; display: inline-block; margin-right: 6px; } }

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal li { margin-bottom: .4em; }

/* Footer */
.foot { background: #04121f; color: #c4d0dc; padding: 56px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid a { display: block; color: #c4d0dc; text-decoration: none; margin-bottom: 8px; }
.foot-grid a:hover { color: #fff; }
.foot .muted { color: #8fa1b3; }
.brand-foot { display: inline-flex !important; margin-bottom: 12px !important; color: #fff !important; }
.foot-h { font: 800 13px var(--font); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot-legal { border-top: 1px solid #1b3047; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8fa1b3; }
.foot-legal p { margin: 0 0 6px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
