/* ============================================================
   BRANDROCKET V3 | iDesign agency site design system
   Cormorant Garamond display + body, Sora UI, JetBrains Mono
   data. Cream paper, ink, iDesign green pills.
   ============================================================ */

:root {
  --paper: #F5F4F0;
  --paper-2: #ECEBE5;
  --ink: #131210;
  --ink-2: #3C3B37;
  --ink-3: #8A8983;
  --rule: #131210;
  --rule-soft: #DDDCD4;

  --green: #8DC63F;
  --green-dark: #7AB32F;
  --green-pale: rgba(141, 198, 63, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Sora', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

em { font-style: italic; }

/* ---------- Buttons (iDesign green pills) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--green);
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn:disabled { background: var(--rule-soft); color: var(--ink-3); cursor: not-allowed; transform: none; }
.btn-small { padding: 11px 24px; font-size: 12.5px; }
.btn-invert { background: var(--paper); }
.btn-invert:hover { background: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.header-inner { display: flex; align-items: center; gap: 40px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark-img { display: block; width: 38px; height: auto; }
.brand-mark-img-footer { width: 44px; }
.brand .brand-word, .brand .brand-by { align-self: center; }
.brand-mark {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
  background: var(--green);
  border-radius: 100px;
  padding: 8px 10px;
  align-self: center;
}
.brand-word { font-family: var(--font-ui); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; }
.brand-by { font-family: var(--font-ui); font-size: 11.5px; color: var(--green-dark); font-weight: 600; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.signin-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.signin-link:hover { color: var(--green-dark); }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); }
.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
  max-width: 14ch;
}
.hero-lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 44px;
}

/* ---------- Domain search (signature element) ---------- */
.domain-search {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 6px 6px 6px 28px;
  max-width: 760px;
  transition: box-shadow 0.25s var(--ease);
}
.domain-search:focus-within { box-shadow: 0 10px 36px rgba(19, 18, 16, 0.12); }
.ds-prompt {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  color: var(--green-dark);
  margin-right: 12px;
  user-select: none;
}
.ds-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.3vw, 21px);
  font-weight: 500;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  min-width: 0;
  padding: 14px 0;
}
.ds-input::placeholder { color: var(--rule-soft); }
.ds-input::-webkit-search-cancel-button { display: none; }
.ds-submit { flex-shrink: 0; padding: 16px 34px; }

/* Results */
.ds-results {
  max-width: 760px;
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid var(--rule-soft);
  border-radius: 20px;
  padding: 24px;
}
.ds-exact { font-family: var(--font-mono); font-size: 17.5px; padding-bottom: 16px; }
.ds-exact .ok { color: var(--green-dark); font-weight: 600; }
.ds-exact .taken { color: var(--ink-3); }
.ds-exact .price { float: right; font-weight: 600; color: var(--ink); }
.ds-suggestions { list-style: none; border-top: 1px solid var(--rule-soft); }
.ds-suggestions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.ds-suggestions .sug-price { color: var(--ink-2); margin-left: auto; }
.ds-suggestions button {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.ds-suggestions button:hover,
.ds-suggestions button.selected { background: var(--green); border-color: var(--green); }
.ds-cart-btn { margin-top: 18px; width: 100%; }
.ds-error { max-width: 760px; margin-top: 14px; font-size: 14px; color: #A33C2A; }

/* TLD chips */
.tld-rail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.rail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 6px;
}
.tld-chip {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-soft);
  border-radius: 100px;
  padding: 7px 17px;
  cursor: pointer;
  transition: all 0.2s;
}
.tld-chip:hover { border-color: var(--green-dark); color: var(--green-dark); background: var(--green-pale); }

/* ---------- Numbered section labels (site pattern) ---------- */
.section-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1.5px solid var(--rule);
  padding-top: 22px;
  margin-bottom: 40px;
}
.section-label .num {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
}
.section-label .label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Products ---------- */
.products { padding: clamp(64px, 9vw, 110px) 0; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  margin-bottom: 48px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--rule-soft);
  border-radius: 20px;
  padding: 32px 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(19, 18, 16, 0.08); }
.product-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.12;
  margin-bottom: 10px;
}
.product-desc {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 24px;
}
.product-price { font-family: var(--font-mono); font-size: 14px; margin-bottom: 20px; color: var(--ink-2); }
.product-price strong { font-size: 23px; font-weight: 600; color: var(--ink); }
.product-price .per { color: var(--ink-3); font-size: 13px; }
.product-card .btn { text-align: center; }

/* ---------- Provenance (site fact-row pattern) ---------- */
.provenance { padding: 0 0 clamp(64px, 8vw, 100px); }
.provenance-inner { display: block; }
.prov-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.prov-item:first-child { border-top: 1.5px solid var(--rule); }
.prov-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  color: var(--ink);
}
.prov-label { font-size: 15px; color: var(--ink-3); text-align: right; max-width: 44ch; }

/* ---------- Transfer band ---------- */
.transfer-band { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 92px) 0; }
.transfer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.transfer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 12px;
}
.transfer-copy { font-family: var(--font-display); font-size: 18px; color: rgba(245, 244, 240, 0.75); max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(245, 244, 240, 0.75); border-top: 1px solid #2A2925; padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { max-width: 380px; display: flex; gap: 16px; align-items: flex-start; }
.footer-brand p { font-size: 14px; line-height: 1.65; }
.brand-mark-footer { flex-shrink: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(245, 244, 240, 0.75); text-decoration: none; }
.footer-nav a:hover { color: var(--green); }
.footer-base { border-top: 1px solid #2A2925; padding-top: 20px; padding-bottom: 24px; }
.footer-base p { font-size: 12.5px; color: #6E6D67; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .main-nav { display: none; }
  .header-inner { gap: 16px; }
  .brand-by { display: none; }
  .brand-word { font-size: 15px; letter-spacing: 0.11em; }
  .domain-search { flex-wrap: wrap; border-radius: 24px; padding: 14px; }
  .ds-prompt { display: none; }
  .ds-input { width: 100%; padding: 8px 4px 14px; }
  .ds-submit { width: 100%; }
  .transfer-inner { flex-direction: column; align-items: flex-start; }
  .prov-item { flex-direction: column; gap: 6px; }
  .prov-label { text-align: left; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
