:root {
  --bg: #f5efe4;
  --surface: #fffaf2;
  --surface-strong: #fff6ea;
  --ink: #16233b;
  --muted: #5b6475;
  --border: rgba(22, 35, 59, 0.12);
  --accent: #c45833;
  --accent-soft: #ffd8c2;
  --deep: #10203e;
  --cream: #f9f2e6;
  --shadow: 0 24px 80px rgba(16, 32, 62, 0.12);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(196, 88, 51, 0.12), transparent 24rem),
    linear-gradient(180deg, #f5efe4 0%, #f9f3e8 35%, #f4ecde 100%);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(245, 239, 228, 0.82);
  border-bottom: 1px solid rgba(22, 35, 59, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
}

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  box-shadow: 0 16px 30px rgba(196, 88, 51, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--deep);
  box-shadow: 0 16px 30px rgba(16, 32, 62, 0.16);
}

.button-ghost {
  background: transparent;
  border-color: rgba(22, 35, 59, 0.14);
  box-shadow: none;
  color: var(--ink);
}

.home-page {
  background:
    radial-gradient(circle at top right, rgba(16, 32, 62, 0.05), transparent 24rem),
    radial-gradient(circle at top left, rgba(196, 88, 51, 0.08), transparent 22rem),
    linear-gradient(180deg, #faf7f1 0%, #f4efe5 55%, #f7f3ec 100%);
}

.home-page .site-header {
  background: rgba(250, 247, 241, 0.86);
  border-bottom: 1px solid rgba(16, 32, 62, 0.07);
}

.home-page .button {
  box-shadow: 0 12px 24px rgba(196, 88, 51, 0.16);
}

.home-page .button-ghost {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(16, 32, 62, 0.1);
  box-shadow: 0 10px 24px rgba(16, 32, 62, 0.06);
  color: var(--ink);
  min-width: 138px;
  justify-content: center;
}

.home-main {
  padding-bottom: 2rem;
}

.home-hero {
  padding: 3.5rem 0 1.5rem;
}

.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  gap: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(16, 32, 62, 0.08);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(16, 32, 62, 0.08);
}

.home-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-title {
  max-width: 10ch;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.home-summary {
  max-width: 56ch;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.home-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
}

.home-topic-row li {
  overflow: hidden;
  padding: 0;
  border-radius: 999px;
}

.home-topic-row a {
  display: block;
  padding: 0.68rem 0.98rem;
  border: 1px solid rgba(16, 32, 62, 0.08);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.home-topic-row a:hover,
.home-topic-row a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(196, 88, 51, 0.18);
  background: rgba(255, 255, 255, 0.88);
}

.home-aside {
  display: grid;
  gap: 1rem;
}

.home-note-card,
.home-list-card,
.home-post-card,
.home-topic-card,
.home-principle-card {
  border: 1px solid rgba(16, 32, 62, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 44px rgba(16, 32, 62, 0.06);
}

.home-note-card,
.home-post-card,
.home-topic-card,
.home-principle-card {
  padding: 1.45rem;
}

.home-list-card {
  padding: 0.35rem;
}

.home-card-label,
.home-card-meta {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-card-meta {
  color: var(--accent);
}

.home-note-card h2,
.home-post-card h3,
.home-topic-card h3,
.home-principle-card h3 {
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.home-note-card h2 {
  max-width: 12ch;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.home-note-card p:last-child,
.home-post-card p,
.home-topic-card p,
.home-principle-card p {
  margin: 0;
  color: var(--muted);
}

.home-list-item {
  padding: 1rem 1rem 1.05rem;
  border-radius: 20px;
}

.home-list-item + .home-list-item {
  border-top: 1px solid rgba(16, 32, 62, 0.07);
}

.home-list-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.home-list-item span {
  color: var(--muted);
}

.home-section {
  padding: 1.2rem 0 3.8rem;
}

.home-section-soft {
  padding-top: 0.4rem;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-section-title {
  max-width: 18ch;
  font-size: clamp(1.95rem, 3.5vw, 3.2rem);
}

.home-featured-grid,
.home-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-post-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.home-post-card:hover,
.home-post-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(196, 88, 51, 0.18);
  box-shadow: 0 18px 54px rgba(16, 32, 62, 0.08);
}

.home-post-card a {
  text-decoration: none;
}

.home-topic-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-topic-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.home-topic-card:hover,
.home-topic-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(196, 88, 51, 0.18);
  box-shadow: 0 18px 54px rgba(16, 32, 62, 0.08);
}

.home-topic-card h3,
.home-principle-card h3,
.home-post-card h3 {
  margin-bottom: 0.45rem;
}

.hero,
.page-hero {
  padding: 4.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(196, 88, 51, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffd3c4;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

.hero-text,
.section-intro,
.article-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metrics li,
.feature-card,
.post-card,
.archive-card {
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 1rem;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card {
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-primary {
  background: linear-gradient(180deg, #122442 0%, #19345f 100%);
  color: #fefaf4;
  box-shadow: 0 26px 70px rgba(16, 32, 62, 0.3);
}

.hero-card-primary p,
.hero-card-secondary p {
  margin-top: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-primary h2,
.hero-card-secondary h3 {
  margin-bottom: 1rem;
}

.hero-card-primary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-card-secondary {
  background: linear-gradient(135deg, var(--accent-soft), #ffe6d5);
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-toned {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.section-dark {
  background: linear-gradient(135deg, #10203e 0%, #0f1b34 100%);
  color: #f5ecdf;
}

.section-heading {
  margin-bottom: 2rem;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.feature-grid,
.post-grid,
.archive-grid,
.service-list {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.post-card,
.archive-card {
  padding: 1.5rem;
}

.post-card h3 a,
.archive-card h2 a {
  text-decoration: none;
}

.post-meta {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.service-list {
  grid-template-columns: 1fr;
}

.service-list article {
  padding: 1.35rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-list ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
}

.service-list li + li {
  margin-top: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-bottom: 0.2rem;
}

.article-shell {
  padding: 2.5rem 0 4.5rem;
}

.article-container {
  width: min(760px, calc(100% - 2rem));
}

.article-container > * + * {
  margin-top: 1.2rem;
}

.article-container h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.75rem, 2.3vw, 2.3rem);
}

.article-container ol {
  padding-left: 1.3rem;
}

.article-cta {
  --cta-accent: var(--accent);
  --cta-accent-soft: rgba(196, 88, 51, 0.16);
  position: relative;
  overflow: hidden;
  margin-top: 2.4rem;
  padding: 0.9rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(16, 32, 62, 0.08);
  box-shadow: 0 18px 44px rgba(16, 32, 62, 0.08);
}

.article-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, var(--cta-accent-soft), transparent 20rem),
    radial-gradient(circle at bottom right, rgba(16, 32, 62, 0.06), transparent 20rem);
  pointer-events: none;
}

.article-cta-telve {
  --cta-accent: #bf7442;
  --cta-accent-soft: rgba(191, 116, 66, 0.18);
}

.article-cta-ideax {
  --cta-accent: #4b7df5;
  --cta-accent-soft: rgba(75, 125, 245, 0.18);
}

.article-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.article-cta-visual,
.article-cta-content {
  border-radius: 24px;
}

.article-cta-visual {
  position: relative;
  min-height: 292px;
  padding: 0.8rem 1rem 0.25rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.article-cta-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.7), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.article-cta-telve .article-cta-visual {
  background: linear-gradient(180deg, rgba(206, 144, 96, 0.22), rgba(255, 255, 255, 0.2));
}

.article-cta-ideax .article-cta-visual {
  background: linear-gradient(180deg, rgba(95, 132, 235, 0.18), rgba(255, 255, 255, 0.18));
}

.article-cta-product-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 32, 62, 0.12);
}

.article-cta-product-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.article-cta-product-tag {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-cta-screens {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.65rem;
}

.article-cta-shot {
  position: relative;
  display: block;
  width: auto;
  height: 350px;
  max-width: none;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(16, 32, 62, 0.1);
  box-shadow: 0 20px 38px rgba(16, 32, 62, 0.16);
  overflow: hidden;
}

.article-cta-shot-left {
  z-index: 1;
  transform: rotate(-7deg) translateY(12px);
}

.article-cta-shot-center {
  z-index: 3;
  height: 350px;
  transform: translateY(2px);
}

.article-cta-shot-right {
  z-index: 2;
  transform: rotate(7deg) translateY(12px);
}

.article-cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  row-gap: 0.55rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(16, 32, 62, 0.08);
}

.article-cta-product {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  grid-column: 1 / -1;
  margin-bottom: 0.15rem;
}

.article-cta-product p {
  margin: 0;
}

.article-cta-title {
  margin: 0 0 0.55rem;
  max-width: none;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 0.97;
}

.article-cta-text {
  margin: 0;
  grid-column: 1;
  color: var(--muted);
  max-width: 46ch;
  font-size: 0.95rem;
}

.article-cta-actions {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0;
  align-self: center;
}

.article-cta-actions .button {
  min-width: 228px;
}

.site-footer {
  padding: 1rem 0 3rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 35, 59, 0.12);
}

.brand-footer {
  margin-bottom: 0.8rem;
}

.brand-footer .brand-logo {
  width: 220px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: start;
}

.footer-links a {
  text-decoration: none;
}

.footer-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 35, 59, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-copy,
.hero-panel,
.feature-card,
.post-card,
.archive-card,
.faq-list details,
.service-list article,
.article-container {
  animation: rise 700ms ease both;
}

.hero-panel {
  animation-delay: 120ms;
}

.feature-card:nth-child(2),
.post-card:nth-child(2),
.archive-card:nth-child(2) {
  animation-delay: 80ms;
}

.feature-card:nth-child(3),
.post-card:nth-child(3) {
  animation-delay: 160ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .brand-logo {
    width: 220px;
  }

  .hero-grid,
  .service-layout,
  .feature-grid,
  .post-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-shell,
  .home-featured-grid,
  .home-topic-grid,
  .home-principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .footer-grid,
  .home-section-heading {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .article-cta {
    padding: 0.8rem;
  }

  .article-cta-content {
    display: block;
    padding: 1.05rem 0.95rem;
  }

  .article-cta-visual {
    min-height: 264px;
  }

  .article-cta-screens {
    min-height: 226px;
    gap: 0.4rem;
  }

  .article-cta-shot {
    height: 186px;
  }

  .article-cta-shot-left {
    transform: rotate(-6deg) translateY(8px);
  }

  .article-cta-shot-center {
    height: 220px;
    transform: translateY(2px);
  }

  .article-cta-shot-right {
    transform: rotate(6deg) translateY(8px);
  }

  .article-cta-actions .button {
    width: 100%;
    min-width: 0;
  }

  .nav-shell,
  .nav-links {
    flex-direction: column;
    align-items: start;
  }

  .site-header {
    position: static;
  }

  .brand-logo {
    width: 190px;
  }

  .brand-footer .brand-logo {
    width: 190px;
  }

  h1 {
    max-width: none;
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  .home-hero {
    padding-top: 2.25rem;
  }

  .home-title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
