/*
Theme Name: LIVNOMY
Theme URI: https://livnomy.com
Author: LIVNOMY
Author URI: https://livnomy.com
Description: 집과 생활경제 정보를 위한 LIVNOMY 공식 WordPress 테마.
Version: 1.4.7
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: livnomy
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-4Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-5Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-6SemiBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-7Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-8ExtraBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --ink: #10140f;
  --ink-soft: #454b42;
  --paper: #f4f1e8;
  --paper-deep: #eae5d8;
  --white: #fffef9;
  --lime: #c9f45b;
  --lime-bright: #d8ff79;
  --mint: #b8e4d2;
  --sand: #e5cfaa;
  --blue: #b8d2eb;
  --line: rgba(16, 20, 15, 0.14);
  --header-height: 82px;
  --radius-lg: 34px;
  --radius-md: 24px;
  --shadow-soft: 0 24px 70px rgba(24, 30, 22, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

span,
p,
h1,
h2,
h3,
a {
  word-break: keep-all;
}

i {
  font-style: normal;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.page-shell {
  width: min(1480px, calc(100% - 72px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(16, 20, 15, 0.1);
  background: rgba(244, 241, 232, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 156px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 38px);
  margin-left: auto;
  margin-right: clamp(24px, 3vw, 54px);
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: #2f342d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.header-search > span {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.8px solid var(--ink);
  border-radius: 50%;
}

.header-search > span::after {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 6px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transform: rotate(48deg);
}

.header-search:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 42px;
  padding-inline: 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.header-cta:hover {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-2px);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 32%, rgba(216, 255, 121, 0.2), transparent 25%),
    var(--paper);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(430px, 0.87fr) minmax(600px, 1.13fr);
  gap: clamp(34px, 4vw, 76px);
  min-height: calc(100svh - var(--header-height));
  padding-block: 26px 32px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 0 26px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.eyebrow::before,
.section-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  box-shadow: 0 0 0 4px rgba(201, 244, 91, 0.17);
}

.hero__title {
  margin-top: clamp(28px, 3.6vh, 46px);
  font-size: clamp(58px, 5.65vw, 88px);
  font-weight: 700;
  letter-spacing: -0.067em;
  line-height: 0.98;
}

.hero__title > span,
.hero__description > span,
.section-heading h2 > span,
.system-copy h2 > span,
.promise-section h2 > span,
.standard-card__quote > span,
.standard-card__image-copy strong > span,
.featured-guide__copy h3 > span,
.footer-brand p > span {
  display: block;
}

.hero__title-accent {
  position: relative;
  z-index: 1;
  width: max-content;
}

.hero__title-accent::after {
  position: absolute;
  z-index: -1;
  right: -5px;
  bottom: 3px;
  left: 0;
  height: 20%;
  border-radius: 999px;
  background: var(--lime);
  content: "";
}

.hero__description {
  margin-top: clamp(28px, 4vh, 48px);
  color: var(--ink-soft);
  font-size: clamp(17px, 1.32vw, 21px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: clamp(30px, 4.5vh, 52px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 196px;
  height: 58px;
  padding: 0 22px 0 25px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.button--primary {
  background: var(--ink);
  color: var(--white);
}

.button--primary:hover {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-3px);
}

.arrow-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 0;
  background-color: currentColor;
  -webkit-mask: url("assets/icons/arrow-up-right.svg") center / contain no-repeat;
  mask: url("assets/icons/arrow-up-right.svg") center / contain no-repeat;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(16, 20, 15, 0.4);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  gap: 22px;
  border-color: var(--ink);
}

.text-link .arrow-icon {
  width: 16px;
  height: 16px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 30px;
  color: #5b6057;
  font-size: 11px;
  font-weight: 500;
}

.hero__proof span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__proof span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7b8276;
  content: "";
}

.hero__visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #c9bea8;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero__image,
.featured-guide__image,
.standard-card__image {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/livnomy-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero__image {
  transform: scale(1.02);
  animation: hero-breathe 12s ease-in-out infinite alternate;
}

.hero__visual-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 15, 10, 0.08), transparent 35%, rgba(9, 15, 10, 0.26) 100%),
    linear-gradient(90deg, rgba(9, 15, 10, 0.05), transparent 45%);
}

.hero__float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero__float-card--top {
  top: 28px;
  right: 28px;
  flex-direction: column;
  width: 132px;
  min-height: 128px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.68);
  box-shadow: 0 14px 40px rgba(32, 40, 29, 0.14);
  color: var(--ink);
}

.float-card__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero__float-card--top strong {
  margin-top: auto;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.float-card__line {
  position: relative;
  height: 2px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 20, 15, 0.13);
}

.float-card__line::after {
  position: absolute;
  inset: 0 30% 0 0;
  border-radius: inherit;
  background: var(--ink);
  content: "";
}

.hero__float-card--bottom {
  bottom: 28px;
  left: 28px;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  background: rgba(16, 20, 15, 0.67);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
}

.float-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 244, 91, 0.18);
}

.hero__visual-caption {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.signal-bar {
  overflow: hidden;
  border-top: 1px solid rgba(16, 20, 15, 0.08);
  border-bottom: 1px solid rgba(16, 20, 15, 0.08);
  background: var(--lime-bright);
}

.signal-bar__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 58px;
  animation: signal-flow 30s linear infinite;
}

.signal-bar__track span {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-left: 35px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.signal-bar__track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.section-pad {
  padding-block: clamp(110px, 10vw, 164px);
}

.section-heading--split {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 80px;
  align-items: start;
}

.section-index {
  display: block;
  margin-top: 22px;
  color: #909589;
  font-size: 12px;
  font-weight: 500;
}

.section-heading h2,
.system-copy h2,
.promise-section h2 {
  font-size: clamp(42px, 4.3vw, 68px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.section-heading--split > div:last-child > p {
  max-width: 590px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.8;
}

.standard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 18px;
  margin-top: 82px;
}

.standard-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.standard-card--statement {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 46px);
  background: var(--ink);
  color: var(--white);
}

.standard-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.status-pill {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--lime);
}

.standard-card__quote {
  margin-top: auto;
  font-size: clamp(34px, 3vw, 49px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.16;
}

.statement-rule {
  width: 100%;
  height: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.18);
}

.standard-card__small {
  max-width: 310px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

.standard-card--image {
  background: #bfb29a;
}

.standard-card--image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 10, 0.1), rgba(11, 15, 10, 0.5));
  content: "";
}

.standard-card__image {
  background-position: 64% center;
  transform: scale(1.18);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.standard-card--image:hover .standard-card__image {
  transform: scale(1.24);
}

.standard-card__image-copy {
  position: absolute;
  z-index: 2;
  inset: 34px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.standard-card__image-copy > span,
.standard-card--metric > span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.standard-card__image-copy strong {
  margin-top: auto;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.standard-card--metric {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--lime);
}

.metric-orbit {
  position: relative;
  width: min(210px, 80%);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(16, 20, 15, 0.3);
  border-radius: 50%;
}

.metric-orbit::before,
.metric-orbit::after {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(16, 20, 15, 0.25);
  border-radius: 50%;
  content: "";
}

.metric-orbit::after {
  inset: 38%;
  background: var(--ink);
}

.metric-orbit i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: orbit-pulse 2.4s ease-in-out infinite;
}

.metric-orbit i:nth-child(1) {
  top: 10%;
  left: 47%;
}

.metric-orbit i:nth-child(2) {
  right: 9%;
  bottom: 27%;
  animation-delay: 0.5s;
}

.metric-orbit i:nth-child(3) {
  bottom: 13%;
  left: 18%;
  animation-delay: 1s;
}

.metric-orbit b {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%);
}

.standard-card--metric > div:last-child strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.standard-card--metric > div:last-child p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.system-section {
  position: relative;
  overflow: hidden;
  background: #0d110c;
  color: var(--white);
}

.system-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.system-glow {
  position: absolute;
  top: 50%;
  right: -8%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(201, 244, 91, 0.12);
  filter: blur(120px);
  transform: translateY(-50%);
}

.system-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  min-height: 720px;
}

.section-kicker--dark {
  color: rgba(255, 255, 255, 0.55);
}

.system-copy {
  position: relative;
  z-index: 2;
}

.system-copy h2 {
  margin-top: 34px;
}

.system-copy > p:not(.section-kicker) {
  max-width: 485px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  line-height: 1.85;
}

.button--light {
  margin-top: 44px;
  background: var(--white);
  color: var(--ink);
}

.button--light:hover {
  background: var(--lime);
  transform: translateY(-3px);
}

.system-object {
  position: relative;
  justify-self: center;
  width: min(620px, 48vw);
  aspect-ratio: 1;
  perspective: 900px;
  transform: rotateX(2deg);
}

.system-object::before {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 244, 91, 0.28), rgba(201, 244, 91, 0.05) 48%, transparent 71%);
  content: "";
  filter: blur(18px);
}

.system-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(216, 255, 121, 0.44);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.system-ring--one {
  width: 76%;
  height: 42%;
  box-shadow: 0 0 40px rgba(201, 244, 91, 0.08), inset 0 0 30px rgba(201, 244, 91, 0.05);
  animation: system-ring-one 12s linear infinite;
}

.system-ring--two {
  width: 48%;
  height: 84%;
  border-color: rgba(255, 255, 255, 0.18);
  animation: system-ring-two 16s linear infinite reverse;
}

.system-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 36%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
    rgba(201, 244, 91, 0.14);
  box-shadow: 0 24px 80px rgba(201, 244, 91, 0.16), inset 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: core-float 5s ease-in-out infinite;
}

.system-core::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  content: "";
}

.system-core span {
  color: var(--lime);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.08em;
  transform: rotate(-45deg);
}

.system-node {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 126px;
  height: 82px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(22, 28, 20, 0.75);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.system-node span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.system-node strong {
  color: var(--lime);
  font-size: 18px;
  font-weight: 500;
}

.system-node--home {
  top: 14%;
  left: 15%;
  animation: node-float 5s ease-in-out infinite;
}

.system-node--money {
  top: 38%;
  right: 4%;
  animation: node-float 5.8s ease-in-out 0.8s infinite;
}

.system-node--life {
  bottom: 10%;
  left: 23%;
  animation: node-float 5.4s ease-in-out 1.3s infinite;
}

.system-data {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.system-data > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.system-data > div:first-child {
  padding-left: 0;
}

.system-data > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.system-data dt {
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.system-data dd {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.category-section {
  background: var(--paper);
}

.section-heading--inline,
.section-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.section-heading--inline h2,
.section-heading--row h2 {
  margin-top: 30px;
}

.section-heading--inline > p {
  max-width: 405px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 72px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  padding: 26px;
  border-radius: 22px;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.category-card:hover {
  z-index: 2;
  box-shadow: 0 24px 60px rgba(26, 32, 24, 0.13);
  transform: translateY(-10px);
}

.category-card--mint {
  background: var(--mint);
}

.category-card--lime {
  background: var(--lime);
}

.category-card--sand {
  background: var(--sand);
}

.category-card--blue {
  background: var(--blue);
}

.category-card__number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.category-card__symbol {
  position: relative;
  display: block;
  width: 132px;
  height: 132px;
  margin: 28px auto 22px;
  border: 1px solid rgba(16, 20, 15, 0.26);
  border-radius: 50%;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card__symbol {
  transform: rotate(12deg) scale(1.04);
}

.category-card__symbol::before,
.category-card__symbol::after,
.category-card__symbol i {
  position: absolute;
  content: "";
}

.category-card__symbol::before {
  inset: 23%;
  border: 1px solid rgba(16, 20, 15, 0.42);
  transform: rotate(45deg);
}

.category-card__symbol::after {
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.category-card__symbol i:first-child {
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(-50%);
}

.category-card__symbol i:last-child {
  right: 9px;
  bottom: 15px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-45deg);
}

.category-card__content {
  margin-top: auto;
}

.category-card__content > strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.category-card__content > span {
  display: block;
  margin-top: 10px;
  color: rgba(16, 20, 15, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.category-card__content i {
  display: block;
}

.category-card > .arrow-icon {
  position: absolute;
  right: 29px;
  bottom: 31px;
  transition: transform 0.3s ease;
}

.category-card:hover > .arrow-icon {
  transform: translate(4px, -4px);
}

.guides-section {
  background: var(--white);
}

.section-heading--row h2 {
  font-size: clamp(40px, 4vw, 62px);
}

.text-link--dark {
  margin-bottom: 8px;
}

.guides-layout {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: clamp(40px, 5vw, 82px);
  margin-top: 66px;
}

.featured-guide {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 26px;
  background: #bfb19b;
  color: var(--white);
  isolation: isolate;
}

.featured-guide__image {
  background-position: 52% center;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featured-guide:hover .featured-guide__image {
  transform: scale(1.045);
}

.featured-guide__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 8, 0.24), rgba(7, 12, 8, 0.1) 34%, rgba(7, 12, 8, 0.92) 100%);
}

.featured-guide__meta,
.featured-guide__copy,
.featured-guide__arrow {
  position: absolute;
  z-index: 2;
}

.featured-guide__meta {
  top: 30px;
  right: 30px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.featured-guide__meta span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 12, 8, 0.68);
  box-shadow: 0 8px 22px rgba(7, 12, 8, 0.12);
  backdrop-filter: blur(8px);
}

.featured-guide__copy {
  right: 36px;
  bottom: 38px;
  left: 36px;
}

.featured-guide__copy h3 {
  color: #fff;
  font-size: clamp(32px, 3.1vw, 47px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.17;
}

.featured-guide__copy p {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.featured-guide__arrow {
  right: 36px;
  bottom: 43px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.featured-guide:hover .featured-guide__arrow {
  background: var(--lime);
  color: var(--ink);
  transform: translate(3px, -3px);
}

.featured-guide__arrow .arrow-icon {
  width: 18px;
  height: 18px;
}

.guide-list {
  border-top: 1px solid var(--line);
}

.guide-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 214px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease, background 0.3s ease;
}

.guide-item:hover {
  padding-inline: 18px;
  background: var(--paper);
}

.guide-item__number {
  color: #868b81;
  font-size: 10px;
  font-weight: 600;
}

.guide-item__body {
  display: flex;
  flex-direction: column;
}

.guide-item__meta {
  color: #747a70;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.guide-item__body strong {
  margin-top: 15px;
  font-size: clamp(22px, 1.85vw, 29px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.guide-item__body strong i {
  display: block;
}

.guide-item__description {
  margin-top: 12px;
  color: #777c73;
  font-size: 12px;
  line-height: 1.6;
}

.guide-item__arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.guide-item__arrow .arrow-icon {
  width: 16px;
  height: 16px;
}

.guide-item:hover .guide-item__arrow {
  background: var(--lime);
  transform: translate(3px, -3px);
}

.promise-section {
  padding-block: 86px;
  background: var(--lime);
}

.promise-section__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.promise-section h2 {
  margin-top: 26px;
  font-size: clamp(39px, 4vw, 62px);
}

.promise-cta {
  display: flex;
  flex: 0 0 370px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(16, 20, 15, 0.65);
  border-bottom: 1px solid rgba(16, 20, 15, 0.65);
  font-size: 16px;
  font-weight: 600;
  transition: padding 0.3s ease;
}

.promise-cta:hover {
  padding-inline: 12px;
}

.promise-cta > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.promise-cta small {
  font-size: 8px;
  letter-spacing: 0.14em;
}

.site-footer {
  padding: 86px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 94px;
}

.footer-brand img {
  width: 184px;
  height: auto;
}

.footer-brand p {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.55;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: clamp(60px, 9vw, 140px);
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-nav strong {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.site-footer__bottom > div {
  display: flex;
  gap: 22px;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 11px;
}

.back-to-top span {
  position: relative;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.back-to-top span::before,
.back-to-top span::after {
  position: absolute;
  content: "";
}

.back-to-top span::before {
  top: 5px;
  left: 9px;
  width: 1px;
  height: 9px;
  background: rgba(255, 255, 255, 0.58);
}

.back-to-top span::after {
  top: 5px;
  left: 7px;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  border-left: 1px solid rgba(255, 255, 255, 0.58);
  transform: rotate(45deg);
}

.reveal-up {
  opacity: 0;
  animation: reveal-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.reveal-scale {
  opacity: 0;
  animation: reveal-scale 1.1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.975) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes hero-breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.065); }
}

@keyframes signal-flow {
  to { transform: translateX(-50%); }
}

@keyframes orbit-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 20, 15, 0.2); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 7px rgba(16, 20, 15, 0); }
}

@keyframes system-ring-one {
  from { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(360deg); }
}

@keyframes system-ring-two {
  from { transform: translate(-50%, -50%) rotateY(65deg) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateY(65deg) rotateZ(360deg); }
}

@keyframes core-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(45deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(45deg) translateY(-10px); }
}

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(100% - 48px, 1480px);
  }

  .desktop-nav {
    gap: 18px;
    margin-right: 24px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .hero__inner {
    grid-template-columns: minmax(380px, 0.9fr) minmax(480px, 1.1fr);
    gap: 36px;
  }

  .hero__title {
    font-size: clamp(54px, 6vw, 70px);
  }

  .standard-card {
    min-height: 450px;
  }

  .system-object {
    width: min(540px, 50vw);
  }

  .category-card {
    min-height: 350px;
  }

  .category-card__symbol {
    width: 108px;
    height: 108px;
  }

  .featured-guide__arrow {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .desktop-nav,
  .header-cta,
  .header-search {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 102;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 43px;
    height: 43px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .site-logo {
    z-index: 102;
  }

  .menu-button span {
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.3s ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    z-index: 101;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100dvh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 72px 24px 32px;
    background: #f4f1e8;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 24px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-menu nav {
    border-top: 1px solid var(--line);
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    min-height: 66px;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.045em;
  }

  .mobile-menu nav a span {
    width: 48px;
    color: #91958e;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .mobile-menu .button {
    width: 100%;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-block: 46px 24px;
  }

  .hero__copy {
    padding: 0;
  }

  .hero__title {
    font-size: clamp(54px, 9vw, 76px);
  }

  .hero__proof {
    margin-top: 24px;
    padding-top: 0;
  }

  .hero__visual {
    min-height: 520px;
  }

  .section-heading--split,
  .system-layout,
  .guides-layout {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    gap: 45px;
  }

  .standard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .standard-card--statement {
    grid-column: span 2;
    min-height: 380px;
  }

  .standard-card--image,
  .standard-card--metric {
    min-height: 430px;
  }

  .system-layout {
    gap: 44px;
    padding-bottom: 90px;
  }

  .system-copy {
    max-width: 650px;
  }

  .system-object {
    width: min(570px, 78vw);
  }

  .system-data {
    bottom: 0;
  }

  .category-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    min-height: 390px;
  }

  .guides-layout {
    gap: 34px;
  }

  .featured-guide {
    min-height: 620px;
  }

  .promise-section__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .promise-cta {
    flex-basis: auto;
    width: min(100%, 520px);
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
    --radius-lg: 22px;
    --radius-md: 19px;
  }

  .page-shell {
    width: calc(100% - 36px);
  }

  .site-logo {
    width: 137px;
  }

  .hero {
    background: var(--paper);
  }

  .hero__inner {
    gap: 30px;
    padding-top: 38px;
    padding-bottom: 18px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero__title {
    margin-top: 24px;
    font-size: clamp(42px, 12.2vw, 52px);
    letter-spacing: -0.065em;
    line-height: 1.02;
  }

  .hero__title-accent::after {
    bottom: 2px;
  }

  .hero__description {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero__actions {
    gap: 22px;
    margin-top: 28px;
  }

  .button {
    min-width: 178px;
    height: 53px;
    padding-inline: 21px 18px;
    font-size: 13px;
  }

  .hero__actions .text-link {
    gap: 10px;
    font-size: 12px;
  }

  .hero__proof {
    gap: 7px 14px;
    margin-top: 22px;
    font-size: 9px;
  }

  .hero__visual {
    min-height: 42svh;
    max-height: 390px;
    border-radius: 22px;
  }

  .hero__image {
    background-image: url("assets/images/livnomy-hero-mobile.webp");
    background-position: center;
  }

  .hero__float-card--top {
    top: 15px;
    right: 15px;
    width: 94px;
    min-height: 88px;
    padding: 12px;
    border-radius: 13px;
  }

  .float-card__label {
    font-size: 6px;
  }

  .hero__float-card--top strong {
    font-size: 23px;
  }

  .hero__float-card--bottom {
    bottom: 15px;
    left: 15px;
    padding: 9px 12px;
    font-size: 9px;
  }

  .hero__visual-caption {
    display: none;
  }

  .signal-bar__track {
    height: 48px;
  }

  .signal-bar__track span {
    gap: 26px;
    padding-left: 26px;
    font-size: 10px;
  }

  .section-pad {
    padding-block: 82px;
  }

  .section-heading--split {
    gap: 36px;
  }

  .section-index {
    margin-top: 16px;
    font-size: 10px;
  }

  .section-heading h2,
  .system-copy h2,
  .promise-section h2 {
    font-size: clamp(36px, 10.4vw, 45px);
    line-height: 1.14;
  }

  .section-heading--split > div:last-child > p {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.75;
  }

  .standard-grid {
    display: flex;
    gap: 12px;
    margin-top: 45px;
    margin-right: -18px;
    overflow-x: auto;
    padding-right: 18px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .standard-grid::-webkit-scrollbar,
  .category-rail::-webkit-scrollbar {
    display: none;
  }

  .standard-card,
  .standard-card--statement,
  .standard-card--image,
  .standard-card--metric {
    flex: 0 0 82vw;
    grid-column: auto;
    min-height: 390px;
    scroll-snap-align: start;
  }

  .standard-card--statement {
    padding: 27px;
  }

  .standard-card__quote {
    font-size: 33px;
  }

  .standard-card__image-copy {
    inset: 27px;
  }

  .standard-card--metric {
    padding: 27px;
  }

  .metric-orbit {
    width: 178px;
  }

  .system-section {
    padding-top: 84px;
    padding-bottom: 0;
  }

  .system-layout {
    gap: 20px;
    padding-bottom: 112px;
  }

  .system-copy h2 {
    margin-top: 25px;
  }

  .system-copy > p:not(.section-kicker) {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.75;
  }

  .button--light {
    margin-top: 30px;
  }

  .system-object {
    width: 96vw;
    margin-left: -8vw;
  }

  .system-core {
    width: 102px;
    height: 102px;
    border-radius: 34%;
  }

  .system-core span {
    font-size: 40px;
  }

  .system-node {
    width: 94px;
    height: 62px;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .system-node strong {
    font-size: 14px;
  }

  .system-data > div {
    display: block;
    padding: 15px 12px;
  }

  .system-data > div:first-child {
    padding-left: 0;
  }

  .system-data dt {
    font-size: 7px;
  }

  .system-data dd {
    margin-top: 5px;
    font-size: 10px;
  }

  .section-heading--inline,
  .section-heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .section-heading--inline h2,
  .section-heading--row h2 {
    margin-top: 24px;
  }

  .section-heading--inline > p {
    max-width: 340px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.75;
  }

  .category-rail {
    display: flex;
    gap: 12px;
    margin-top: 42px;
    margin-right: -18px;
    overflow-x: auto;
    padding-right: 18px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .category-card {
    flex: 0 0 76vw;
    min-height: 330px;
    padding: 23px;
    scroll-snap-align: start;
  }

  .category-card__symbol {
    width: 100px;
    height: 100px;
    margin-block: 23px 16px;
  }

  .category-card__content > strong {
    font-size: 25px;
  }

  .category-card > .arrow-icon {
    right: 25px;
    bottom: 27px;
  }

  .guides-section {
    padding-block: 82px;
  }

  .section-heading--row {
    gap: 16px;
  }

  .section-heading--row h2 {
    font-size: 38px;
  }

  .text-link--dark {
    align-self: flex-end;
    margin: -4px 0 0;
  }

  .guides-layout {
    gap: 28px;
    margin-top: 38px;
  }

  .featured-guide {
    min-height: 470px;
    border-radius: 20px;
  }

  .featured-guide__image {
    background-image: url("assets/images/livnomy-hero-mobile.webp");
    background-position: center;
  }

  .featured-guide__meta {
    top: 20px;
    right: 20px;
    left: 20px;
    font-size: 10px;
  }

  .featured-guide__copy {
    right: 22px;
    bottom: 24px;
    left: 22px;
  }

  .featured-guide__copy h3 {
    font-size: 29px;
    line-height: 1.2;
  }

  .featured-guide__copy p {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.6;
  }

  .guide-item {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    min-height: auto;
    padding-block: 24px;
  }

  .guide-item:hover {
    padding-inline: 0;
    background: transparent;
  }

  .guide-item__body strong {
    margin-top: 11px;
    font-size: 21px;
  }

  .guide-item__description {
    display: none;
  }

  .guide-item__arrow {
    width: 28px;
    height: 28px;
  }

  .promise-section {
    padding-block: 68px;
  }

  .promise-section__inner {
    gap: 40px;
  }

  .promise-section h2 {
    margin-top: 23px;
    font-size: 36px;
  }

  .promise-cta {
    width: 100%;
    padding-block: 20px;
    font-size: 14px;
  }

  .site-footer {
    padding: 58px 0 22px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 52px;
    padding-bottom: 54px;
  }

  .footer-brand img {
    width: 164px;
  }

  .footer-brand p {
    margin-top: 24px;
    font-size: 15px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-top: 20px;
  }

  .site-footer__bottom > div {
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 17px;
  }

  .site-footer__bottom > p {
    grid-column: 1;
    grid-row: 2;
  }

  .back-to-top {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: 40px;
  }

  .hero__actions {
    gap: 16px;
  }

  .hero__actions .button {
    min-width: 163px;
    padding-inline: 17px 15px;
  }

  .section-heading h2,
  .system-copy h2,
  .promise-section h2 {
    font-size: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* WordPress integration */
.desktop-nav ul,
.desktop-nav li {
  display: contents;
  list-style: none;
}

.mobile-menu nav ul {
  border-top: 0;
  list-style: none;
  counter-reset: livnomy-menu;
}

.mobile-menu nav li {
  counter-increment: livnomy-menu;
}

.mobile-menu nav li a::before {
  width: 48px;
  flex: 0 0 48px;
  color: #91958e;
  content: "0" counter(livnomy-menu);
  font-size: 9px;
  letter-spacing: 0.08em;
}

body.admin-bar .site-header {
  top: 32px;
}

.content-shell {
  width: min(980px, calc(100% - 72px));
  min-height: 62vh;
  margin-inline: auto;
  padding-block: clamp(76px, 9vw, 130px);
}

.content-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.content-header h1 {
  margin-top: 22px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.post-list {
  display: grid;
  gap: 0;
}

.entry-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  align-items: start;
  padding-block: 38px;
  border-bottom: 1px solid var(--line);
}

.entry-card__meta {
  color: #747a70;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.entry-card h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.entry-card p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.entry-card__link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.pagination {
  margin-top: 46px;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
}

.pagination .page-numbers {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

.pagination .current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.empty-state {
  padding-block: 60px;
  color: var(--ink-soft);
}

.wp-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 42px;
  padding: 9px 9px 9px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.wp-search-form input {
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.wp-search-form button {
  width: 88px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.search-summary {
  padding-block: 30px 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.entry-content {
  padding-top: 40px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.article-featured-image {
	margin: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}

.article-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	border-radius: clamp(20px, 2.5vw, 34px);
	object-fit: cover;
	box-shadow: 0 28px 80px rgba(13, 18, 13, 0.12);
}

.article-featured-image figcaption {
	margin: 14px 8px 0;
	color: #70766d;
	font-size: 11px;
	line-height: 1.65;
}

.entry-content > * + * {
  margin-top: 1.35em;
}

.entry-content h2,
.entry-content h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.entry-content a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 600;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  background: var(--white);
  color: var(--ink);
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .content-shell {
    width: calc(100% - 36px);
    padding-block: 70px;
  }

  .entry-card {
    grid-template-columns: minmax(0, 1fr) 30px;
    column-gap: 14px;
    row-gap: 12px;
    padding-block: 28px;
  }

  .entry-card__meta {
    grid-column: 1 / -1;
    font-size: 9px;
  }

  .entry-card > div {
    min-width: 0;
  }

  .entry-card h2 {
    font-size: 24px;
  }

  .entry-card p {
    display: none;
  }

  .entry-card__link {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: 30px;
    height: 30px;
  }
}

/* Editorial trust pages and article templates */
.footer-nav {
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  gap: clamp(34px, 5vw, 86px);
}

.footer-email {
  overflow-wrap: anywhere;
}

.article-header {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(46px, 5.7vw, 78px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.08;
  text-wrap: balance;
}

.article-deck {
  max-width: 760px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.75;
}

.article-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.article-trust > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 19px 20px;
  background: var(--white);
}

.article-trust span {
  color: #858a80;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.article-trust a,
.article-trust time {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-body {
  max-width: 780px;
  margin-inline: auto;
  padding-top: 68px;
  color: #3f463d;
  font-size: 17px;
  line-height: 1.94;
}

.entry-content.article-body :is(p, li, figcaption, th, td) {
  overflow-wrap: break-word;
  word-break: keep-all;
}

.entry-content h2 {
  margin-top: 2.25em;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.25;
}

.entry-content h3 {
  margin-top: 2em;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.35;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35em;
}

.entry-content li + li {
  margin-top: 0.65em;
}

.entry-content strong {
  color: var(--ink);
  font-weight: 600;
}

.entry-content .quick-summary,
.entry-content .article-note {
  margin: 34px 0;
  padding: 26px 28px;
  border-radius: 18px;
  background: #edf4db;
}

.entry-content .quick-summary {
  border: 1px solid #d5dfbd;
}

.entry-content .article-note {
  border-left: 4px solid var(--lime);
  border-radius: 0 16px 16px 0;
}

.entry-content .quick-summary h2,
.entry-content .article-note h3 {
  margin-top: 0;
}

.entry-content .check-list {
  display: grid;
  gap: 10px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.entry-content .check-list li {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 46px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.entry-content .check-list li::before {
  position: absolute;
  top: 23px;
  left: 20px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.entry-content .comparison-table {
  margin: 34px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.entry-content .comparison-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.entry-content .comparison-table th,
.entry-content .comparison-table td {
  padding: 17px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.entry-content .comparison-table th {
  background: #f3f1e9;
}

/* Gutenberg blocks: keep the public article identical to the editor canvas. */
.entry-content.article-body > :first-child {
  margin-top: 0;
}

.entry-content.article-body > * + * {
  margin-top: 28px;
}

.entry-content.article-body > h2 {
  margin-top: 88px;
  margin-bottom: 0;
}

.entry-content.article-body > h3 {
  margin-top: 64px;
  margin-bottom: 0;
}

.entry-content.article-body > :is(h2, h3) + * {
  margin-top: 28px;
}

.entry-content .wp-block-image,
.entry-content > figure:not(.wp-block-table) {
  margin-top: 48px;
  margin-bottom: 0;
}

.entry-content .wp-block-image img,
.entry-content > figure:not(.wp-block-table) img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
  margin-top: 12px;
  color: #747a70;
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}

.entry-content .wp-block-quote,
.entry-content blockquote {
  margin-top: 56px;
  padding: 30px 32px;
  border: 0;
  border-left: 5px solid var(--lime);
  border-radius: 0 18px 18px 0;
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
}

.entry-content blockquote cite {
  display: block;
  margin-top: 16px;
  color: #747a70;
  font-size: 12px;
  font-style: normal;
}

.entry-content .wp-block-table {
  margin-top: 56px;
  margin-bottom: 0;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.entry-content .wp-block-table figcaption {
  margin: 12px 0 0;
}

.entry-content .wp-block-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 2px solid var(--ink);
  background: var(--white);
  font-size: 14px;
  line-height: 1.65;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
  padding: 17px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content .wp-block-table th {
  color: var(--ink);
  font-weight: 600;
}

.entry-content .wp-block-group {
  margin-top: 72px;
}

.entry-content .wp-block-group.is-style-livnomy-card,
.entry-content .is-style-livnomy-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(24, 30, 22, 0.06);
}

.entry-content .is-style-livnomy-card > :first-child {
  margin-top: 0;
}

.entry-content .is-style-livnomy-card > * + * {
  margin-top: 22px;
}

.entry-content.article-body
  > :is(.wp-block-table, .wp-block-group, .wp-block-cover, .wp-block-media-text)
  + * {
  margin-top: 88px;
}

.entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.entry-content .wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.entry-content .is-style-outline > .wp-block-button__link {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.entry-content .wp-block-separator {
  width: 100%;
  height: 1px;
  margin: 80px 0;
  border: 0;
  background: var(--line);
}

.entry-content .wp-block-separator + * {
  margin-top: 0;
}

.entry-content .wp-block-cover,
.entry-content .wp-block-media-text {
  margin-top: 72px;
  overflow: hidden;
  border-radius: 22px;
}

.entry-content code {
  padding: 0.14em 0.38em;
  border-radius: 5px;
  background: rgba(16, 20, 15, 0.08);
  color: var(--ink);
  font-size: 0.88em;
}

.entry-content.article-body > .alignwide {
  width: min(980px, calc(100vw - 72px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content.article-body > .alignfull {
  width: calc(100vw - 40px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-sources {
  max-width: 780px;
  margin: 80px auto 0;
  padding: 34px;
  border-radius: 22px;
  background: var(--white);
}

.article-sources h2 {
  margin-top: 22px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.article-sources ul {
  margin-top: 24px;
  list-style: none;
}

.article-sources li {
  border-top: 1px solid var(--line);
}

.article-sources li:last-child {
  border-bottom: 1px solid var(--line);
}

.article-sources li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-size: 13px;
  font-weight: 600;
}

.article-sources li .arrow-icon {
  width: 9px;
  height: 9px;
}

.article-sources > p:last-child {
  margin-top: 20px;
  color: #747a70;
  font-size: 12px;
  line-height: 1.7;
}

.article-disclaimer {
  max-width: 780px;
  margin: 22px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.article-disclaimer strong {
  font-size: 15px;
}

.article-disclaimer p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.article-disclaimer a {
  display: inline-block;
  margin-top: 14px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
}

.article-author {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  max-width: 780px;
  margin: 64px auto 0;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.article-author__mark,
.author-profile__mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 26px;
  background: var(--lime);
  font-size: 31px;
  font-weight: 700;
}

.article-author > div:last-child > p:first-child {
  color: #858a80;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.article-author h2 {
  margin-top: 8px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.article-author h2 + p {
  max-width: 610px;
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.article-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 780px;
  margin: 70px auto 0;
}

.article-navigation > a {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 18px;
  background: var(--white);
}

.article-navigation span {
  color: #858a80;
  font-size: 9px;
}

.article-navigation strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.author-profile {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 38px;
  align-items: start;
  padding: 48px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
}

.author-profile__mark {
  width: 118px;
  height: 118px;
  border-radius: 34px;
  color: var(--ink);
  font-size: 44px;
}

.author-profile h1 {
  margin-top: 24px;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.author-profile h1 + p {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.author-profile__links {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.author-profile__links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.archive-heading {
  margin-top: 80px;
}

.archive-heading h2 {
  margin-top: 24px;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.error-page {
  display: flex;
  max-width: 780px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-page__code {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.error-page .section-kicker {
  margin-top: 18px;
}

.error-page h1 {
  margin-top: 30px;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.error-page h1 span {
  display: block;
}

.error-page h1 + p {
  max-width: 580px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.error-page .wp-search-form {
  width: 100%;
}

.error-page__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

@media (max-width: 900px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .footer-nav > div:last-child {
    grid-column: 1 / -1;
  }

  .article-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .article-header {
    padding-bottom: 30px;
  }

  .article-header h1 {
    margin-top: 22px;
    font-size: 42px;
  }

  .article-deck {
    margin-top: 20px;
    font-size: 15px;
  }

  .article-trust {
    margin-top: 30px;
  }

  .article-trust > div {
    padding: 15px;
  }

  .article-body {
    padding-top: 45px;
    font-size: 16px;
    line-height: 1.88;
  }

  .entry-content h2 {
    margin-top: 1.9em;
    font-size: 28px;
  }

  .entry-content.article-body > h2 {
    margin-top: 72px;
  }

  .entry-content.article-body > h3 {
    margin-top: 54px;
  }

  .entry-content .wp-block-group.is-style-livnomy-card,
  .entry-content .is-style-livnomy-card {
    padding: 25px 22px;
  }

  .entry-content.article-body
    > :is(.wp-block-table, .wp-block-group, .wp-block-cover, .wp-block-media-text)
    + * {
    margin-top: 68px;
  }

  .entry-content.article-body > :is(.alignwide, .alignfull) {
    width: calc(100vw - 36px);
  }

  .article-sources {
    margin-top: 58px;
    padding: 25px 22px;
  }

  .article-disclaimer {
    padding: 23px 22px;
  }

  .article-author {
    grid-template-columns: 62px 1fr;
    gap: 18px;
    margin-top: 50px;
  }

  .article-author__mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    font-size: 25px;
  }

  .article-navigation {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .author-profile {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 25px;
  }

  .author-profile__mark {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    font-size: 31px;
  }

  .archive-heading {
    margin-top: 60px;
  }

  .error-page h1 {
    font-size: 44px;
  }

  .error-page__actions {
    width: 100%;
    gap: 22px;
  }
}
