@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --bg: #101011;
  --ink: #f5f0e9;
  --muted: #b8b1a9;
  --gold: #d9ab70;
  --gold-bright: #f1cf9e;
  --line: #3b3835;
  --surface: #202021;
  --max: 1260px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', 'Segoe UI', sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Navigation */
.topline { background: #171513; border-bottom: 1px solid #ffffff12; height: 32px; }
.top-inner { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #b99a74; font-size: 10px; letter-spacing: .16em; font-weight: 700; }
.top-right { letter-spacing: .03em; font-weight: 500; color: #c9b9a7; }
.top-dot { color: var(--gold); margin-inline: 10px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #0b0b0cf5; border-bottom: 1px solid #ffffff17; backdrop-filter: blur(18px); }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: baseline; flex-shrink: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; letter-spacing: -.065em; color: #e1ad72; }
.brand span:not(.brand-star) { color: #f4eee7; }
.brand small { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0; color: #d7a66a; margin-left: 3px; }
.brand-star { font-family: Georgia, serif; font-size: 21px; margin-right: 8px; color: #e3b16e; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(17px, 2.3vw, 34px); }
.desktop-nav a { white-space: nowrap; font-size: 13px; font-weight: 700; color: #e6e0d9; transition: color .18s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--gold-bright); }
.desktop-nav span { margin-left: 3px; color: var(--gold); }
.menu-button { display: none; background: #24201b; color: var(--gold-bright); border: 1px solid #765a3a; border-radius: 6px; width: 42px; height: 39px; }

/* Main hero */
.hero { position: relative; isolation: isolate; padding: 64px 0 52px; overflow: hidden; background: radial-gradient(ellipse 58% 80% at 90% 28%, #3f2c1e68, transparent 75%), linear-gradient(110deg, #131314, #1a1818 70%, #151313); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .25; pointer-events: none; background-image: radial-gradient(#caa171 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent 45%, #000); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; min-height: 390px; }
.hero-copy { max-width: 705px; }
.eyebrow, .section-kicker, .search-kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow .line { display: block; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(42px, 4vw, 57px); line-height: 1.17; letter-spacing: -.045em; font-weight: 600; margin: 22px 0 20px; }
.hero h1 em, .closing h2 em { color: var(--gold-bright); font-style: normal; }
.hero-copy > p { max-width: 590px; color: #d1c8bd; font-size: 16px; line-height: 1.8; margin-bottom: 25px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 17px; border-radius: 5px; border: 1px solid #906b44; font-weight: 800; font-size: 12px; transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); border-color: var(--gold-bright); }
.button span { font-size: 17px; line-height: 1; }
.button.primary { color: #24180f; background: linear-gradient(115deg, #ecc38c, #ce9559); border-color: #e0ae73; }
.button.subtle { color: #edc99a; background: #ffffff08; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; color: #a99f94; font-size: 11px; }
.hero-proof span { display: inline-flex; gap: 7px; align-items: center; }
.hero-proof b { color: var(--gold); font-size: 10px; }
.hero-side { min-height: 340px; position: relative; display: grid; place-items: center; }
.hero-side::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid #a67a4840; box-shadow: inset 0 0 0 40px #c4912e04, 0 0 70px #a67a481a; }
.number-card { position: relative; width: min(100%, 450px); min-height: 255px; z-index: 1; transform: rotate(-4deg); border-radius: 15px; padding: 27px 29px; background: linear-gradient(136deg, #28231e 0%, #4e3929 50%, #1f1c1b 100%); border: 1px solid #bd8e58; box-shadow: 0 24px 55px #0009, inset 0 1px #ffe2b533; }
.number-card::after { content: '✦'; position: absolute; right: 22px; top: 71px; color: #deb37a55; font-size: 65px; }
.number-card-top, .number-card-bottom { display: flex; justify-content: space-between; gap: 15px; }
.number-card-top { color: #e8c392; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.number-card-top i { font-style: normal; margin-left: 5px; }
.number-card-top span:last-child { color: #bfa98e; font-size: 9px; }
.number-card-label { color: #d0bfa9; font-size: 12px; margin-top: 44px; }
.number-card-number { color: #fff1df; font-family: 'DM Sans', sans-serif; font-size: clamp(27px, 2.8vw, 39px); font-weight: 800; letter-spacing: -.045em; margin-top: 7px; white-space: nowrap; }
.number-card-number span { color: #e3b678; }
.number-card-bottom { border-top: 1px solid #e4be8840; padding-top: 19px; margin-top: 26px; }
.number-card-bottom span { display: flex; flex-direction: column; gap: 5px; color: #c6ad90; font-size: 9px; letter-spacing: .1em; font-weight: 800; }
.number-card-bottom strong { color: #f5ddbd; font-size: 12px; letter-spacing: 0; }
.mini-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; background: #262423ee; border: 1px solid #8c6947; color: #cbbda8; border-radius: 9px; padding: 11px 14px; box-shadow: 0 10px 25px #0007; font-size: 10px; line-height: 1.4; }
.mini-card strong { color: #f4d09d; font-size: 11px; }
.mini-symbol { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; background: #74503255; color: #f0bf83; font-size: 21px; }
.mini-one { left: -16px; top: 18px; }
.mini-two { right: -7px; bottom: 10px; }

/* Search stays inside the hero's layout flow */
.search-wrap { position: relative; z-index: 4; margin-top: 20px; }
.search-panel { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 32px; padding: 25px 31px; border-radius: 12px; border: 1px solid #876844; background: linear-gradient(110deg, #2b2928, #202020 80%); box-shadow: 0 17px 45px #0006; }
.search-title h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 600; letter-spacing: -.035em; margin: 7px 0 3px; }
.search-title p { margin: 0; color: #a9a198; font-size: 11px; }
.search-input-area { min-width: 0; }
.search-form { display: flex; width: 100%; height: 55px; background: #111112; border: 1px solid #9d7852; border-radius: 5px; overflow: hidden; }
.search-form:focus-within { border-color: #f0c58b; box-shadow: 0 0 0 3px #d6a26925; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; color: #f7f0e7; padding: 0 20px; background: transparent; font-size: 14px; }
.search-form input::placeholder { color: #91877e; }
.search-form button { border: 0; width: 134px; flex-shrink: 0; background: #dcaa6d; color: #21170e; font-weight: 800; font-size: 13px; }
.search-form button:hover { background: #ecc18b; }
.search-form button span { margin-left: 6px; font-size: 17px; }
.quick-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; color: #a9a198; font-size: 10px; }
.quick-search a { padding: 4px 8px; border: 1px solid #6c563e; color: #e3bf93; border-radius: 3px; }
.quick-search a:hover { border-color: var(--gold-bright); }
.value-strip { background: #24211e; border-block: 1px solid #574731; }
.value-strip-inner { min-height: 61px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.value-strip span { color: #d8c8b6; font-size: 12px; font-weight: 700; }
.value-strip b { margin-right: 9px; color: #dfac6d; font-size: 19px; vertical-align: -2px; }

/* Shared sections */
.section { padding-block: 80px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.section-head h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(29px, 3vw, 39px); font-weight: 600; letter-spacing: -.035em; margin: 7px 0 0; }
.section-head p { max-width: 275px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.feature-card { position: relative; overflow: hidden; min-height: 275px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 11px; border: 1px solid #44403c; background: linear-gradient(150deg, #292728, #1c1c1d); transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 35px #0005; }
.feature-card::after { content: '↗'; position: absolute; top: 18px; right: 20px; color: #b58652; font-size: 18px; }
.feature-lead { background: radial-gradient(circle at 20% 8%, #8f603e44, transparent 62%), linear-gradient(145deg, #3c3028, #211f1e); border-color: #9b7247; }
.feature-icon, .feature-glyph { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid #a27a4c7c; border-radius: 12px; background: #d9a56812; color: #e7b47a; line-height: 1; }
.feature-icon { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; letter-spacing: -.1em; }
.feature-icon span { color: #fff0d5; }
.feature-glyph { font-family: 'Playfair Display', Georgia, serif; font-size: 42px; }
.feature-body { display: flex; flex-direction: column; gap: 8px; }
.feature-body small { color: #ba9569; font-size: 9px; letter-spacing: .14em; font-weight: 800; }
.feature-body strong { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.feature-body > span { color: #c3b9ae; font-size: 12px; line-height: 1.65; min-height: 39px; }
.feature-body b { color: #efc18a; font-size: 11px; margin-top: 8px; }
.categories-section { background: #1b1b1c; border-block: 1px solid #39332c; }
.text-link { color: var(--gold-bright); font-size: 12px; font-weight: 700; padding-bottom: 5px; }
.text-link span { margin-left: 7px; }
.category-tabs { display: flex; align-items: center; gap: 30px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid #514a43; margin-bottom: 19px; }
.category-tabs button { flex-shrink: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #b7aea5; padding: 0 0 14px; text-transform: uppercase; font-size: 11px; letter-spacing: .07em; font-weight: 800; }
.category-tabs button.active { color: #f2d1a4; border-bottom-color: #dfab6a; }
.sample-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.sample-card { min-height: 142px; padding: 19px; display: flex; flex-direction: column; justify-content: space-between; background: #282728; border: 1px solid #48413b; border-radius: 8px; }
.sample-top { display: flex; justify-content: space-between; gap: 7px; }
.sample-number { color: #efc58c; font-size: 20px; letter-spacing: -.04em; white-space: nowrap; }
.sample-tag { align-self: start; border-radius: 3px; background: #5e4831; color: #f5d4a7; padding: 4px 6px; font-size: 9px; font-weight: 800; }
.sample-card p { color: #bdb1a6; font-size: 11px; line-height: 1.5; margin: 10px 0 0; }
.sample-card a { display: inline-block; color: #e9b87d; font-size: 11px; font-weight: 800; margin-top: 12px; }
.inventory-note { margin-top: 20px; color: #ada197; font-size: 11px; line-height: 1.7; }
.inventory-note span { color: var(--gold); margin-right: 6px; }
.steps-section { padding-top: 85px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.step { padding: 24px; background: #202021; border: 1px solid #3e3934; border-top: 2px solid #c1905e; border-radius: 7px; }
.step > span { color: var(--gold); font-family: 'Playfair Display', Georgia, serif; font-size: 28px; }
.step h3 { font-size: 17px; margin: 20px 0 9px; }
.step p { color: #b9b0a7; font-size: 12px; line-height: 1.7; margin-bottom: 0; }
.closing { padding: 62px 0; background: radial-gradient(ellipse at 10% 70%, #7050385c, transparent 60%), #29231f; border-block: 1px solid #80613e; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.closing h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(29px,3.5vw,42px); font-weight: 600; margin: 12px 0; }
.closing p { color: #c6b9a9; margin-bottom: 0; font-size: 13px; }
.site-footer { padding: 48px 0 22px; background: #0b0b0c; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 55px; }
.footer-grid p { color: #9e958b; font-size: 12px; line-height: 1.7; max-width: 240px; margin-top: 15px; }
.footer-grid h3 { font-size: 12px; margin: 5px 0 18px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 11px; }
.footer-grid > div:not(:first-child) a { color: #ada299; font-size: 12px; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 40px; padding-top: 16px; border-top: 1px solid #302d2b; color: #8b8178; font-size: 11px; }

/* Tool pages */
.inner-hero { padding: 52px 0 45px; background: radial-gradient(ellipse at 86% 12%, #5c402e66, transparent 52%), #1b1918; border-bottom: 1px solid #6c5135; }
.breadcrumbs { color: #af9f8d; font-size: 11px; margin-bottom: 21px; }
.breadcrumbs a:hover { color: var(--gold-bright); }
.inner-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -.04em; line-height: 1.14; font-size: clamp(36px,4.3vw,54px); margin: 10px 0 13px; }
.inner-hero h1 em { color: var(--gold-bright); font-style: normal; }
.inner-hero p { max-width: 700px; color: #c9beb2; font-size: 14px; line-height: 1.8; margin: 0; }
.tool-layout { display: grid; grid-template-columns: minmax(0,1fr) 325px; gap: 22px; padding: 38px 0 45px; }
.tool-card, .aside-card, .copy-card { background: #202021; border: 1px solid #4d4339; border-radius: 10px; padding: 28px; }
.tool-card h2, .copy-card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 27px; font-weight: 600; margin-bottom: 8px; }
.tool-card > p, .copy-card p, .aside-card p { color: #bfb4a9; line-height: 1.75; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 25px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { color: #e6d8c8; font-size: 12px; font-weight: 800; }
.form-field input, .form-field select { width: 100%; height: 48px; padding: 0 13px; background: #121213; color: #f4e9dc; border: 1px solid #6a5947; border-radius: 5px; outline: 0; }
.form-field input::placeholder { color: #8c8278; }
.form-field input:focus, .form-field select:focus { border-color: #e5b77d; box-shadow: 0 0 0 3px #d5a06a20; }
.form-submit { margin-top: 21px; }
.form-submit button { width: 100%; height: 48px; border: 0; border-radius: 5px; background: linear-gradient(115deg,#e8bc83,#cf985c); color: #25180b; font-size: 12px; font-weight: 800; }
.form-submit button:hover { filter: brightness(1.08); }
.result { display: none; margin-top: 25px; padding: 24px; border-radius: 8px; border: 1px solid #a47b4e; background: linear-gradient(120deg,#3b3027,#272322); }
.result.visible { display: block; }
.result h3 { color: #edc490; font-size: 21px; margin-bottom: 10px; }
.result p { color: #d7c7b5; font-size: 12px; line-height: 1.7; }
.result ul { color: #d7c7b5; font-size: 12px; line-height: 1.9; padding-left: 18px; margin-bottom: 0; }
.result .big-result { color: #f0c68e; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(29px,3.3vw,42px); line-height: 1.2; margin: 12px 0 18px; }
.result .result-note { color: #bbab9c; font-size: 11px; }
.aside-card { align-self: start; }
.aside-card h3 { font-size: 17px; margin-bottom: 16px; }
.aside-card ul { color: #c6b9ac; font-size: 12px; line-height: 1.85; padding-left: 18px; }
.aside-card a { display: block; margin-top: 12px; color: #ecc18b; font-size: 12px; font-weight: 800; }
.below-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 80px; }
.copy-card h2 { font-size: 22px; }
.copy-card p:last-child { margin-bottom: 0; }
.inline-cta { color: #f2ca97; font-weight: 800; }
.error { color: #ffb29a; font-size: 12px; margin: 0; }
.query-pill { display: inline-block; border-radius: 50px; background: #644b32; color: #f6d4a6; font-size: 11px; padding: 7px 11px; margin: 5px 5px 5px 0; }
.search-result-card { padding: 18px; border: 1px solid #67503a; border-radius: 6px; background: #2c2927; margin-top: 14px; }
.search-result-card strong { color: #ecca97; }
.search-result-card p { color: #c1b4a8; font-size: 12px; line-height: 1.65; margin: 7px 0 0; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 11px; }
  .hero-grid { gap: 20px; }
  .hero-side { transform: scale(.86); transform-origin: center; }
  .feature-grid, .sample-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .topline { height: 29px; }
  .top-inner { font-size: 9px; }
  .top-right { display: none; }
  .nav { height: 62px; }
  .brand { font-size: 27px; }
  .menu-button { display: block; }
  .desktop-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 12px 16px 18px; background: #141313; border-bottom: 1px solid #755739; box-shadow: 0 17px 25px #0008; }
  .desktop-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .desktop-nav a { padding: 12px 6px; font-size: 14px; }
  .hero { padding: 43px 0 39px; }
  .hero-grid { display: block; min-height: 0; }
  .hero h1 { font-size: clamp(37px,7vw,49px); }
  .hero-copy > p { font-size: 14px; }
  .hero-side { display: none; }
  .hero-proof { gap: 10px 18px; margin-top: 25px; }
  .search-wrap { margin-top: 37px; }
  .search-panel { grid-template-columns: 1fr; gap: 15px; padding: 21px; }
  .search-title h2 { font-size: 25px; }
  .search-title p { display: none; }
  .value-strip-inner { justify-content: flex-start; overflow-x: auto; min-height: 53px; gap: 25px; }
  .value-strip span { white-space: nowrap; font-size: 10px; }
  .section { padding-block: 65px; }
  .section-head { align-items: start; }
  .section-head p { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .tool-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 38px; }
  .eyebrow, .section-kicker, .search-kicker { font-size: 9px; }
  .hero-actions { display: flex; }
  .button { flex: 1 1 100%; }
  .hero-proof span:last-child { display: none; }
  .search-form { height: 52px; }
  .search-form input { padding: 0 12px; font-size: 12px; }
  .search-form button { width: 99px; font-size: 11px; }
  .quick-search { gap: 6px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 238px; }
  .category-tabs { gap: 22px; }
  .sample-grid { gap: 9px; }
  .sample-card { min-height: 129px; padding: 12px; }
  .sample-number { font-size: 15px; }
  .sample-tag { font-size: 8px; }
  .sample-card p { font-size: 10px; }
  .closing-inner { display: block; }
  .closing .button { margin-top: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { display: block; line-height: 1.8; }
  .inner-hero { padding: 39px 0 31px; }
  .inner-hero h1 { font-size: 37px; }
  .tool-card, .aside-card, .copy-card { padding: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }
  .below-copy { grid-template-columns: 1fr; margin-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
