/* Functional rules only (no look): box model, overflow, accessibility, hidden state. Each site's site.css owns every visual choice. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; padding: .5rem 1rem; background: #fff; color: #000; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose table { display: block; overflow-x: auto; }
input, select, button, textarea { font: inherit; color: inherit; }
.tool input, .tool select { width: 100%; max-width: 24rem; }
.tool output, .tool .result { display: block; }
.tool .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.5rem; }
.find input { width: 100%; }
[hidden] { display: none !important; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* Drone Resale Guide: a consumer buying-guide magazine. Centered masthead, serif headlines, airy sky tint, model tiles with spec chips. */
:root { --sky: #eaf2fc; --ink: #0b1b3a; --body: #334155; --dim: #64748b; --blue: #1d4ed8; --line: #d7e3f3; --white: #fff; }
body { background: var(--white); color: var(--body); font: 17px/1.65 "Work Sans", system-ui, sans-serif; }
a { color: var(--blue); }
.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1.5rem; }
.mast { text-align: center; padding: 1.8rem 0 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font: 800 clamp(1.7rem, 4vw, 2.5rem)/1 Fraunces, Georgia, serif; letter-spacing: -.02em; }
.brand svg { width: 2.3rem; height: 2.3rem; }
.tagline { margin: .4rem 0 1rem; color: var(--dim); font-style: italic; font-family: Fraunces, serif; }
.nav { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding: .8rem 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a[aria-current], .nav a:hover { color: var(--blue); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; color: var(--ink); letter-spacing: -.015em; }
.intro { background: var(--sky); padding: 3.5rem 0 3rem; text-align: center; }
.hero-big h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); line-height: 1.06; font-weight: 800; max-width: 20ch; margin: 0 auto 1rem; }
.hero-group { text-align: left; padding: 2.4rem 0 2rem; } .hero-group h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; margin: .4rem 0 .6rem; line-height: 1.1; }
.intro .sub { max-width: 40rem; margin: 0 auto 1.6rem; font-size: 1.12rem; }
.hero-group .sub { margin-left: 0; }
.find { max-width: 30rem; margin: 0 auto; } .find label { position: absolute; left: -999px; }
.find input { border: 1px solid var(--line); border-radius: 999px; padding: .85rem 1.3rem; background: var(--white); box-shadow: 0 6px 24px rgba(29, 78, 216, .1); }
.find input:focus { outline: 2px solid var(--blue); }
.tabs { border-bottom: 1px solid var(--line); background: var(--white); }
.tabs .wrap { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .9rem; }
.tabs a { text-decoration: none; color: var(--ink); background: var(--sky); padding: .4rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.tabs a:hover { background: var(--blue); color: var(--white); }
section { padding: 2.6rem 0; }
.ghead { text-align: center; margin-bottom: 1.8rem; } .ghead h2 { font-size: 2rem; margin: 0 0 .4rem; } .ghead h2 a { color: var(--ink); text-decoration: none; } .ghead p { margin: 0 auto; max-width: 38rem; color: var(--dim); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.4rem; }
.tiles a { display: flex; flex-direction: column; gap: .8rem; height: 100%; padding: 1.4rem; text-decoration: none; color: var(--body); background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.tiles a:hover { border-color: var(--blue); }
.t-name { font: 800 1.35rem/1.15 Fraunces, serif; color: var(--ink); }
.t-facts { display: flex; flex-wrap: wrap; gap: .35rem; }
.t-facts span { background: var(--sky); color: var(--ink); border-radius: 6px; padding: .15rem .5rem; font-size: .8rem; } .t-facts b { font-weight: 600; color: var(--dim); }
.t-price { margin-top: auto; } .t-price em { font: normal 800 1.5rem Fraunces, serif; color: var(--blue); } .t-price small { color: var(--dim); font-size: .82rem; }
.note-sec { background: var(--sky); } .note-sec .prose { margin: 0 auto; text-align: center; font-size: 1.05rem; }
.prose { max-width: 44rem; } .prose h2 { font-size: 1.6rem; margin-top: 2.4rem; } .prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .4rem; }
.prose table, table.sales, .data table { font-size: .93rem; margin: 1.2rem 0; }
th { text-align: left; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); padding: .55rem .6rem; }
td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.crumbs { color: var(--dim); font-size: .88rem; margin: 0; } .crumbs a { color: var(--dim); }
.item { padding: 2.6rem 0 1rem; }
.item h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.08; margin: .5rem 0 1rem; }
.item-split { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; }
.answer { font: 500 1.2rem/1.5 Fraunces, serif; color: var(--ink); margin: 0 0 1rem; }
.buybox { background: var(--sky); border-radius: 22px; padding: 1.6rem; position: sticky; top: 1.5rem; }
.price { display: flex; flex-direction: column; gap: .15rem; } .p-label { color: var(--dim); font-size: .85rem; } .p-value { font: 800 2.8rem/1 Fraunces, serif; color: var(--ink); } .p-range { font-weight: 600; color: var(--ink); } .p-note { font-size: .82rem; color: var(--dim); }
.cta { display: block; margin-top: 1.2rem; background: var(--blue); color: var(--white); text-align: center; text-decoration: none; padding: .9rem 1rem; border-radius: 999px; font-weight: 600; }
.cta:hover { background: var(--ink); }
.chart { margin: 1.2rem 0 0; color: var(--blue); } .chart svg { background: var(--white); border-radius: 12px; } .chart figcaption { font-size: .78rem; color: var(--dim); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .9rem; margin: 1.8rem 0; }
.specs div { border-top: 2px solid var(--ink); padding-top: .5rem; } .specs dt { font-size: .82rem; color: var(--dim); } .specs dd { margin: .15rem 0 0; color: var(--ink); font-weight: 600; }
.notes-sec h2, .checks-sec h2 { font-size: 1.6rem; }
.checks { padding-left: 1.3rem; } .checks li { margin: .6rem 0; } .checks li::marker { color: var(--blue); font-weight: 700; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1.4rem; }
.guide-list a { display: block; height: 100%; text-decoration: none; padding-top: 1rem; border-top: 3px solid var(--ink); }
.g-title { display: block; font: 800 1.35rem/1.2 Fraunces, serif; color: var(--ink); margin-bottom: .4rem; } .g-desc { color: var(--dim); font-size: .95rem; }
.guide { padding: 2.8rem 0 3.5rem; } .guide .wrap { max-width: 46rem; } .guide h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.08; margin: .5rem 0 .8rem; }
.guide .sub { font-size: 1.15rem; } .guide .meta { color: var(--dim); font-size: .88rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem; }
.sources { font-size: .88rem; color: var(--dim); margin-top: 2.6rem; }
.tool label { display: block; font-weight: 600; color: var(--ink); margin: 1rem 0 .35rem; font-size: .92rem; }
.tool input, .tool select { border: 1px solid var(--line); border-radius: 12px; padding: .65rem .8rem; background: var(--white); }
.tool small { display: block; color: var(--dim); font-size: .8rem; margin-top: .25rem; }
.data h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.small { color: var(--dim); font-size: .85rem; }
.foot { background: var(--ink); color: #c7d2e5; padding: 2.4rem 0 3rem; font-size: .9rem; text-align: center; margin-top: 2rem; } .foot a { color: #fff; } .foot p { margin: .35rem auto; max-width: 44rem; }
@media (max-width: 820px) { .item-split { grid-template-columns: 1fr; } .buybox { position: static; } .nav { gap: 1.2rem; } }
