/* Aspendos Trading LLC — site styles */
:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --sand: #f3efe8;
  --ink: #1c1c1e;
  --muted: #5b5f66;
  --line: #e7e2da;
  --accent: #b4532a;
  --accent-dark: #8f3f1d;
  --accent-soft: #f6e7df;
  --dark: #17191e;
  --dark-2: #22252c;
  --gift: #3355d1;
  --gift-soft: #e8edfc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 10px 30px rgba(20, 20, 30, .06);
  --max: 1160px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: #efebe4; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.nav a.btn-primary { color: #fff; background: var(--accent); margin-left: 8px; padding: 9px 16px; }
.nav a.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: #cfc8bd; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1ede6; color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.hero-art { position: relative; height: 380px; }
.card-float {
  position: absolute; width: 270px; height: 168px; border-radius: 18px; padding: 20px 22px;
  color: #fff; box-shadow: 0 22px 44px rgba(20, 20, 30, .18);
  /* text on top, chip at the bottom, so the next card never covers the label */
  display: flex; flex-direction: column-reverse; justify-content: space-between;
}
.card-float .chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f4d58d, #c9a24a); }
.card-float .label { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.card-float .small { font-size: .74rem; opacity: .85; letter-spacing: .08em; text-transform: uppercase; }
.card-a { background: linear-gradient(135deg, #3355d1, #1e2f85); top: 0; left: 14%; transform: rotate(-8deg); }
.card-b { background: linear-gradient(135deg, #e8590c, #9a3412); top: 104px; left: 34%; transform: rotate(5deg); }
.card-c { background: linear-gradient(135deg, #7c3aed, #4c1d95); top: 206px; left: 6%; transform: rotate(-2deg); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0 0 .25em; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cat-card p { color: var(--muted); }
.cat-card .examples { font-size: .9rem; color: var(--ink); }
.cat-card .link { margin-top: auto; font-weight: 600; text-decoration: none; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.icon-box svg { width: 24px; height: 24px; }

.tone-gift { background: var(--gift-soft); color: var(--gift); }
.tone-accent { background: var(--accent-soft); color: var(--accent-dark); }

/* Products */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  font: inherit; font-weight: 500; font-size: .9rem; color: var(--ink);
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.filter-btn:hover { border-color: #cfc8bd; }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search {
  font: inherit; padding: 10px 14px; border: 1px solid #d6d0c6; border-radius: 10px;
  background: #fff; color: var(--ink); min-width: 240px;
}
.count { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-top { display: flex; align-items: center; gap: 12px; }
.product-mark {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.product-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.badge { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.product-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty { color: var(--muted); }

.from-price { font-size: .92rem; color: var(--muted); }
.from-price strong { color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.price-list { border-top: 1px solid var(--line); padding-top: 10px; }
.price-list summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--accent-dark); list-style: none; }
.price-list summary::-webkit-details-marker { display: none; }
.price-list summary::after { content: " \25BE"; }
.price-list[open] summary::after { content: " \25B4"; }
.price-list ul { list-style: none; margin: 10px 0 0; padding: 0 4px 0 0; max-height: 300px; overflow-y: auto; }
.price-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .86rem;
}
.price-list li:last-child { border-bottom: 0; }
.pkg-name { color: var(--ink); line-height: 1.35; }
.pkg-price { text-align: right; font-weight: 600; white-space: nowrap; line-height: 1.25; }
.pkg-price small { display: block; font-weight: 400; color: var(--muted); font-size: .74rem; }
.pkg-order {
  font-weight: 600; font-size: .78rem; text-decoration: none; padding: 5px 9px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-dark);
}
.pkg-order:hover { background: var(--accent); color: #fff; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px;
  padding: 16px 18px; color: var(--muted); font-size: .95rem; margin-bottom: 28px;
}
.notice svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.notice p { margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

/* About split + facts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split p { color: var(--muted); }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 24px; box-shadow: var(--shadow); }
.facts h3 { margin: 18px 0 4px; }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { height: 140px; display: grid; place-items: center; }
.post-thumb svg { width: 46px; height: 46px; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { margin: 0; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.read-more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; }

/* CTA band */
.cta-band {
  background: var(--dark); color: #fff; border-radius: 20px; padding: 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9ccd3; margin: 0; }
.cta-contacts { display: grid; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; background: var(--dark-2); border: 1px solid #343840;
  border-radius: 12px; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 600;
}
.contact-link:hover { border-color: var(--accent); color: #fff; }
.contact-link svg { width: 22px; height: 22px; color: #f0a37f; flex-shrink: 0; }
.contact-link small { display: block; color: #9aa0aa; font-weight: 400; font-size: .8rem; }

/* Inner page hero */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--sand), var(--bg)); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { color: var(--muted); max-width: 660px; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

/* Prose */
.prose { max-width: 760px; }
.prose p, .prose li { color: #3d4046; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-grid .facts { position: sticky; top: 94px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.article .post-meta { margin-bottom: 28px; }
.article h2 { font-size: 1.4rem; margin-top: 1.9em; }
.article p, .article li { color: #3d4046; font-size: 1.05rem; }
.article ol, .article ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .55em; }
.callout { background: var(--accent-soft); border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink); }
.article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact-card svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-card h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 600; text-decoration: none; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h2 { font-size: 1.35rem; margin: 0; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  padding: 12px 14px; border: 1px solid #d6d0c6; border-radius: 10px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { background: #edf7ee; color: #1e5b2a; border-radius: 10px; padding: 12px 14px; font-size: .92rem; margin: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #c9ccd3; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; letter-spacing: .22em;
  color: #fff; text-decoration: none;
}
.wordmark:hover { color: #fff; }
.wordmark span { font-size: .6rem; font-weight: 400; letter-spacing: .24em; color: #aeb3bc; padding-left: 12px; border-left: 1px solid #555a63; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9ccd3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; }
.footer-bottom { border-top: 1px solid #2e323a; margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #8b919c; display: grid; gap: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .cta-band, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { height: 360px; max-width: 440px; }
  .grid-3, .steps, .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid .facts { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a.btn-primary { margin: 8px 0 0; }
  .hero { padding: 44px 0 40px; }
  .hero-art { display: none; }
  .section { padding: 56px 0; }
  .grid-3, .steps, .post-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .search { min-width: 0; width: 100%; }
  .facts dl div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}
