/* Design Beyond Tools — Editorial theme layer */

:root {
  --dbt-paper: #f2eee5;
  --dbt-paper-2: #e8e2d4;
  --dbt-ink: #121110;
  --dbt-ink-soft: #3b3833;
  --dbt-muted: #6f6a60;
  --dbt-accent: #e2412a;
  --dbt-rule: rgba(18, 17, 16, 0.18);
  --dbt-serif: "Fraunces", "Times New Roman", serif;
  --dbt-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --dbt-gutter: clamp(20px, 4vw, 56px);
  --dbt-max: 1360px;
}

/* ---------- Site-wide: base, header, footer ---------- */

body {
  background: var(--dbt-paper);
  color: var(--dbt-ink);
  font-family: var(--dbt-sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--dbt-accent); color: #fff; }

.hostinger-ai-menu {
  background: var(--dbt-paper) !important;
  border-bottom: 1px solid var(--dbt-ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .hostinger-ai-menu { top: 32px; }

.hostinger-ai-menu .hostinger-ai-menu-wrapper {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  max-width: var(--dbt-max) !important;
}

.hostinger-ai-menu .wp-block-site-title,
.hostinger-ai-menu .wp-block-site-title a {
  font-family: var(--dbt-serif) !important;
  font-weight: 700 !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  letter-spacing: -0.02em;
  color: var(--dbt-ink) !important;
  text-decoration: none;
}

.hostinger-ai-site-navigation .wp-block-navigation-item__content {
  font-family: var(--dbt-sans);
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dbt-ink) !important;
  position: relative;
}
.hostinger-ai-menu .hostinger-ai-site-navigation .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--dbt-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.hostinger-ai-menu .hostinger-ai-site-navigation .wp-block-navigation-item__content:hover::after,
.hostinger-ai-menu .hostinger-ai-site-navigation .current-menu-item > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

/* Footer */
html body .dbt-footer {
  background: var(--dbt-ink);
  color: var(--dbt-paper);
  padding: clamp(64px, 9vw, 120px) var(--dbt-gutter) 32px;
}
html body .dbt-footer a { color: inherit; text-decoration: none; }
html body .dbt-footer a:hover { color: var(--dbt-accent); }
html body .dbt-footer-inner { max-width: var(--dbt-max); margin: 0 auto; }
html body .dbt-footer-mark {
  font-family: var(--dbt-serif);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .9;
  letter-spacing: -0.045em;
  margin: 0 0 clamp(48px, 7vw, 88px);
}
html body .dbt-footer-mark em { font-style: italic; font-weight: 400; color: var(--dbt-accent); }
html body .dbt-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  border-top: 1px solid rgba(242, 238, 229, .25);
  padding-top: 32px;
}
html body .dbt-footer h3 {
  font-family: var(--dbt-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242, 238, 229, .55);
  margin: 0 0 16px;
}
html body .dbt-footer ul { list-style: none; margin: 0; padding: 0; }
html body .dbt-footer li { margin: 0 0 8px; font-size: 17px; }
html body .dbt-footer .wp-block-hostinger-reach-subscription,
html body .dbt-footer form { color: var(--dbt-paper); }
html body .dbt-footer input[type="email"],
html body .dbt-footer input[type="text"] {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(242, 238, 229, .5) !important;
  border-radius: 0 !important;
  color: var(--dbt-paper) !important;
  padding: 10px 0 !important;
}
html body .dbt-footer button,
html body .dbt-footer input[type="submit"] {
  background: var(--dbt-accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
}
html body .dbt-footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 64px;
  font-size: 13px;
  color: rgba(242, 238, 229, .55);
}
@media (max-width: 760px) {
  html body .dbt-footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Home ---------- */

html body .dbt-home { overflow-x: clip; }
html body .dbt-home * { box-sizing: border-box; }
html body .dbt-home img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .dbt-home figure { margin: 0; }
html body .dbt-wrap { max-width: var(--dbt-max); margin: 0 auto; padding: 0 var(--dbt-gutter); }

html body .dbt-label {
  display: inline-block;
  font-family: var(--dbt-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dbt-muted);
}
html body .dbt-label--light { color: rgba(242, 238, 229, .6); }

html body .dbt-display {
  font-family: var(--dbt-serif);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: .95;
  letter-spacing: -0.035em;
  margin: 18px 0 28px;
  font-variation-settings: "opsz" 144;
}
html body .dbt-display em,
html body .dbt-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--dbt-accent);
}
html body .dbt-display--xl { font-size: clamp(56px, 9vw, 150px); }

html body .dbt-body {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--dbt-ink-soft);
  max-width: 34em;
  margin: 0 0 36px;
}

/* Buttons */
html body .dbt-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--dbt-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none !important;
  padding: 16px 28px;
  border-radius: 999px;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
html body .dbt-btn span { transition: transform .25s; }
html body .dbt-btn:hover span { transform: translateX(5px); }
html body .dbt-btn--solid { background: var(--dbt-ink); color: var(--dbt-paper) !important; }
html body .dbt-btn--solid:hover { background: var(--dbt-accent); }
html body .dbt-btn--line { border: 1.5px solid var(--dbt-ink); color: var(--dbt-ink) !important; }
html body .dbt-btn--line:hover { background: var(--dbt-ink); color: var(--dbt-paper) !important; }
html body .dbt-btn--accent { background: var(--dbt-accent); color: #fff !important; }
html body .dbt-btn--accent:hover { background: var(--dbt-paper); color: var(--dbt-ink) !important; }

/* Hero */
html body .dbt-hero { padding-top: clamp(48px, 7vw, 104px); }
html body .dbt-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dbt-muted);
  margin-bottom: clamp(24px, 3vw, 40px);
}
html body .dbt-kicker-rule { flex: 0 0 64px; height: 1px; background: var(--dbt-ink); }
html body .dbt-hero-title {
  font-family: var(--dbt-serif);
  font-weight: 800;
  font-size: clamp(54px, 10.5vw, 176px);
  line-height: .9;
  letter-spacing: -0.05em;
  margin: 0;
  max-width: 11ch;
  font-variation-settings: "opsz" 144;
  color: var(--dbt-ink);
}
html body .dbt-hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--dbt-ink);
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
}
html body .dbt-hero-lede {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
  max-width: 30em;
  margin: 0;
  color: var(--dbt-ink-soft);
}
html body .dbt-hero-figure {
  margin-top: clamp(40px, 5vw, 72px) !important;
  height: clamp(280px, 42vw, 620px);
  overflow: hidden;
}
html body .dbt-hero-figure img {
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.06);
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
}
html body .dbt-hero-figure.is-in img { transform: scale(1); }

/* Ticker */
html body .dbt-ticker {
  background: var(--dbt-accent);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid var(--dbt-ink);
  border-bottom: 1px solid var(--dbt-ink);
  padding: 18px 0;
}
html body .dbt-ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: dbt-scroll 32s linear infinite;
  font-family: var(--dbt-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  font-style: italic;
  white-space: nowrap;
}
html body .dbt-ticker-track i { font-style: normal; font-size: .6em; }
@keyframes dbt-scroll { to { transform: translateX(-33.333%); } }

/* Tiers */
html body .dbt-tiers { padding: clamp(80px, 10vw, 150px) 0; }
html body .dbt-section-head { margin-bottom: 40px; }
html body .dbt-tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--dbt-ink);
}
html body .dbt-tier {
  padding: 32px clamp(20px, 2.5vw, 40px) 48px;
  border-right: 1px solid var(--dbt-rule);
  position: relative;
  transition: background .35s;
}
html body .dbt-tier:first-child { padding-left: 0; }
html body .dbt-tier:last-child { border-right: 0; }
html body .dbt-tier::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 4px;
  background: var(--dbt-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
html body .dbt-tier:hover::before { transform: scaleX(1); }
html body .dbt-tier-num {
  display: block;
  font-family: var(--dbt-serif);
  font-style: italic;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1;
  color: var(--dbt-accent);
  margin-bottom: 28px;
}
html body .dbt-tier-title {
  font-family: var(--dbt-serif);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--dbt-ink);
}
html body .dbt-tier p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--dbt-ink-soft);
  margin: 0;
  max-width: 22em;
}

/* Within */
html body .dbt-within {
  background: var(--dbt-paper-2);
  padding: clamp(80px, 10vw, 150px) 0;
  border-top: 1px solid var(--dbt-ink);
}
html body .dbt-within-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 112px);
  align-items: center;
}
html body .dbt-dropcap {
  float: left;
  font-family: var(--dbt-serif);
  font-weight: 800;
  font-size: 4.3em;
  line-height: .82;
  padding: 6px 12px 0 0;
  color: var(--dbt-ink);
}
html body .dbt-within-figure { position: relative; aspect-ratio: 3 / 4; }
html body .dbt-within-figure img { filter: grayscale(.25) contrast(1.05); }
html body .dbt-within-figure::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--dbt-ink);
  z-index: -1;
}
html body .dbt-within-figure figcaption {
  position: absolute;
  left: 0;
  bottom: -44px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dbt-muted);
}

/* Moves */
html body .dbt-moves {
  background: var(--dbt-ink);
  color: var(--dbt-paper);
  padding: clamp(88px, 11vw, 168px) 0;
}
html body .dbt-moves .dbt-display { color: var(--dbt-paper); }
html body .dbt-moves-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
html body .dbt-moves-figure { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 32px !important; }
html body .dbt-moves-figure img { filter: grayscale(1); transition: filter .6s, transform .8s; }
html body .dbt-moves-figure:hover img { filter: grayscale(0); transform: scale(1.03); }
html body .dbt-moves .dbt-body { color: rgba(242, 238, 229, .78); }

/* Reveal */
html.dbt-js body .dbt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
html.dbt-js body .dbt-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html body .dbt-ticker-track { animation: none; }
  html.dbt-js body .dbt-reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  html body .dbt-tier-list { grid-template-columns: 1fr; }
  html body .dbt-tier { border-right: 0; border-bottom: 1px solid var(--dbt-rule); padding: 28px 0 36px; }
  html body .dbt-tier-num { margin-bottom: 12px; }
  html body .dbt-within-grid,
  html body .dbt-moves-grid { grid-template-columns: 1fr; }
  html body .dbt-within-figure { max-width: 420px; margin-bottom: 40px !important; }
}

/* Neutralise block-gap margins inside the footer grid / front page */
html body .dbt-footer-cols > *,
html body .dbt-footer-inner > *,
html body .dbt-footer > * { margin-block-start: 0 !important; }
.site-footer { margin-block-start: 0 !important; }
html body .dbt-footer-news .hostinger-reach-block-form-field label { color: rgba(242,238,229,.6); font-size: 13px; }
html body .dbt-footer { border-top: 1px solid rgba(242,238,229,.18); }
@media (max-width: 600px) { html body .dbt-kicker { gap: 10px; } html body .dbt-kicker-rule { flex-basis: 28px; } }
html body .dbt-home p, html body .dbt-home a, html body .dbt-home li, html body .dbt-footer { font-family: var(--dbt-sans); }
html body .dbt-home .dbt-tier-title, html body .dbt-home .dbt-display, html body .dbt-home .dbt-tier-num, html body .dbt-footer-mark { font-family: var(--dbt-serif); }
html body .hostinger-ai-page-title { font-family: var(--dbt-serif) !important; font-weight: 800; letter-spacing: -0.035em; font-size: clamp(48px, 7vw, 104px) !important; border-bottom: 1px solid var(--dbt-ink); }
html body .dbt-footer .hostinger-reach-block-submit { background: var(--dbt-accent) !important; color: #fff !important; padding: 12px 26px !important; margin-top: 14px; }

/* Plan pricing on tiers */
html body .dbt-tier { display: flex; flex-direction: column; }
html body .dbt-tier .dbt-tier-price {
  font-family: var(--dbt-serif);
  font-weight: 700;
  font-size: clamp(32px, 3vw, 46px);
  letter-spacing: -0.03em;
  color: var(--dbt-ink);
  margin: 28px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--dbt-rule);
}
html body .dbt-tier .dbt-tier-price span {
  font-family: var(--dbt-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--dbt-muted);
  margin-left: 8px;
}
html body .dbt-tier .dbt-tier-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--dbt-ink);
  color: var(--dbt-ink) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: background .25s, color .25s, border-color .25s;
}
html body .dbt-tier .dbt-tier-cta:hover { background: var(--dbt-accent); border-color: var(--dbt-accent); color: #fff !important; }
html body .dbt-tier .dbt-tier-cta span { transition: transform .25s; }
html body .dbt-tier .dbt-tier-cta:hover span { transform: translateX(4px); }
.dbt-per { font-size: .6em; color: var(--dbt-muted); font-weight: 500; }

/* WooCommerce pages in the editorial style */
html body .wc-block-components-button:not(.is-link),
html body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
html body .woocommerce a.button, html body .woocommerce button.button {
  background: var(--dbt-ink) !important;
  color: var(--dbt-paper) !important;
  border-radius: 999px !important;
  font-family: var(--dbt-sans) !important;
  font-weight: 600 !important;
}
html body .wc-block-components-button:not(.is-link):hover,
html body .woocommerce a.button:hover, html body .woocommerce button.button:hover { background: var(--dbt-accent) !important; }
html body .wp-block-woocommerce-checkout h2,
html body .wp-block-woocommerce-cart h2,
html body .wc-block-components-title { font-family: var(--dbt-serif) !important; letter-spacing: -0.02em; }
