/* selltotm.com — Trademark Properties. Clean, Apple-like system: lots of white space, big type, one accent. */
:root {
  --brand: #17639a;          /* logo blue */
  --brand-ink: #0f4c78;
  --brand-soft: #eaf2f8;
  --slate: #5e6a74;          /* logo gray */
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ok: #1f8a4c;
  --err: #c0392b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.06);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 24px 60px rgba(0,0,0,.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.022em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { flex: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow-light { color: #b9d8f0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: 600 1rem/1 var(--font); cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(23,99,154,.28); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: var(--bg-alt); color: var(--ink); }
.btn-ghost:hover { background: #ebebef; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; padding: 16px 24px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-strong { font-weight: 600; font-size: 1.1rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; width: min(1180px, 100% - 32px); margin-inline: auto; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); padding-bottom: 4px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-links .menu-phone { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.08); padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--brand); }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-phone { display: none; }
  .nav-links .menu-phone { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; border-bottom: 0; }
}
@media (max-width: 420px) { .brand img { height: 36px; } .nav-cta .btn-primary { padding: 9px 13px; font-size: .85rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(8,20,36,.88) 0%, rgba(8,20,36,.66) 45%, rgba(8,20,36,.35) 100%),
  url("/assets/hero.jpg") center 40% / cover no-repeat; transform: scale(1.03); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(56px, 9vw, 112px) 0; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero-lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: rgba(255,255,255,.88); font-weight: 500; letter-spacing: -0.01em; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); font-weight: 500; }
.hero-points .icon { color: #8cc6ef; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-top: 8px; }

.page-hero { padding: clamp(72px, 10vw, 120px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); text-align: center; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.page-hero .lead { max-width: 680px; margin-inline: auto; }
.page-hero-tall { padding: clamp(96px, 14vw, 160px) 0; }
.page-hero + .section { padding-top: clamp(40px, 6vw, 72px); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg-alt); border-radius: var(--radius); padding: 32px 28px; transition: transform .3s, box-shadow .3s, background .3s; }
.feature:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-lg); }
.feature p { color: var(--ink-2); margin: 0; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); position: relative; }
.step p { color: var(--ink-2); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 22px; font-family: var(--display); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; }
.chips li { background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); padding: 10px 18px; border-radius: 999px; font-size: .95rem; font-weight: 500; }
.chips-sm { justify-content: flex-start; margin: 16px 0 0; }
.chips-sm li { background: #fff; padding: 7px 14px; font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > .offer-form { align-self: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.photo-card { border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }

.ticks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--ok); margin-top: 3px; }

.prose h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.prose h3 { margin-top: 1.6em; }
.prose p { color: var(--ink-2); }
.prose .lead { color: var(--ink); }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; margin-bottom: 32px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .98rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
.compare thead th.us { color: var(--brand); background: var(--brand-soft); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.compare td { color: var(--ink-2); }
.compare td.us { background: color-mix(in srgb, var(--brand-soft) 55%, #fff); color: var(--ink); font-weight: 600; }
.compare td.us { display: table-cell; }
.compare td.us .icon { color: var(--ok); vertical-align: -3px; margin-right: 8px; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; background: none; box-shadow: none; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
  .compare tbody th { width: 100%; padding: 16px 18px 6px; border: 0; }
  .compare td { padding: 6px 18px; border: 0; }
  .compare td.us { display: block; padding: 10px 18px 14px; margin-top: 6px; }
  .compare td::before { content: attr(data-label); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
  .compare td.us::before { color: var(--brand); }
}
.footnotes { max-width: 820px; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-bottom: 32px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.section:not(.section-alt) .faq details { background: var(--bg-alt); box-shadow: none; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.chev { width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; flex: none; margin-top: -4px; }
.faq details[open] .chev { transform: rotate(-135deg); margin-top: 4px; }
.faq-body { padding: 0 24px 20px; color: var(--ink-2); }
.faq-body ul { margin: 0 0 1em; padding-left: 1.2em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-alt); }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.cta-copy { position: sticky; top: calc(var(--nav-h) + 32px); }
.cta-copy h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } .cta-copy { position: static; } }
.contact-cards { display: grid; gap: 16px; }
.contact-cards .card h3 { margin-bottom: 4px; }

/* ---------- Offer form ---------- */
.offer-form { padding: clamp(24px, 3.5vw, 36px); border-radius: calc(var(--radius) + 4px); color: var(--ink); }
.card-glass { background: rgba(255,255,255,.96); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.form-title { font-size: 1.6rem; margin-bottom: 6px; letter-spacing: -0.025em; }
.form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.offer-form fieldset { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer-form legend { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.field { display: grid; gap: 4px; min-width: 0; }
.field.span-2 { grid-column: 1 / -1; }
.field > span { font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; min-width: 0; }
.field input, .field select { width: 100%; font: 16px/1.3 var(--font); color: var(--ink); background: #fff; border: 1px solid #d2d2d7; border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field input::placeholder { color: #a1a1a6; }
.field input.invalid { border-color: var(--err); box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 14%, transparent); }
.field input:required + .req, .field > span:has(+ input:required)::after { content: " *"; color: var(--err); }
@media (max-width: 480px) { .offer-form fieldset { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 4px 0 18px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }
.consent a { font-weight: 600; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: .92rem; min-height: 1.2em; }
.form-status.err { color: var(--err); }
.form-status.ok { color: var(--ok); }

.success-mark { width: 76px; height: 76px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, #fff); color: var(--ok); display: grid; place-items: center; margin: 0 auto 28px; }

/* ---------- Legal ---------- */
.legal h4 { font-size: 1.15rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .92rem; }
.cta-band + * , .section-alt + .footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--ink-2); margin-bottom: 10px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-grid p { max-width: 360px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--muted); }
.footer-base a { color: var(--muted); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { transform: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--ink); transition: transform .3s, box-shadow .3s; }
.section-alt .post-card { box-shadow: none; }
.post-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.post-card p { color: var(--ink-2); font-size: .98rem; }
.post-card .link-arrow { margin-top: auto; color: var(--brand); }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.tag-draft { display: inline-block; background: #fff3cd; color: #7a5b00; border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: .75rem; letter-spacing: .04em; }
.draft-banner { background: #fff3cd; color: #7a5b00; text-align: center; font-weight: 600; font-size: .9rem; padding: 10px 16px; border-bottom: 1px solid #f0dc9c; }
.article-hero { text-align: left; padding-bottom: 8px; }
.article-hero .eyebrow a { color: inherit; }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.article-section { padding-top: 24px !important; }
.article { font-size: 1.12rem; line-height: 1.75; }
.article p, .article li { color: var(--ink-2); }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.article h3 { font-size: 1.25rem; margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article strong { color: var(--ink); }
