:root {
  --ink: #17352c;
  --forest: #245b47;
  --leaf: #73a777;
  --lime: #dcecad;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --peach: #efaa7c;
  --line: rgba(23, 53, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(220, 236, 173, 0.75), transparent 26rem),
    radial-gradient(circle at 90% 88%, rgba(239, 170, 124, 0.18), transparent 28rem),
    var(--cream);
  color: var(--ink);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-synthesis: none;
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 24px 32px;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 17px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.12em;
}

.brand-logo {
  display: block;
  height: 46px;
  object-fit: contain;
  width: 46px;
}

nav {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 28px;
}

nav a:not(.nav-cta) {
  opacity: 0.72;
}

.nav-cta {
  background: var(--ink);
  border-radius: 999px;
  color: white;
  padding: 11px 18px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  margin: 0 auto;
  max-width: 1280px;
  min-height: calc(100vh - 92px);
  padding: 48px 32px 80px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 22px;
}

h1 {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

h1 span {
  color: var(--forest);
  display: block;
  font-weight: 500;
}

.hero-lede {
  color: rgba(23, 53, 44, 0.72);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.68;
  margin: 30px 0 0;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  justify-content: center;
  padding: 15px 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
nav a:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 4px;
}

.button-primary {
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(36, 91, 71, 0.2);
  color: white;
}

.button-secondary {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.micro-proof span {
  background: rgba(255, 253, 248, 0.65);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(23, 53, 44, 0.76);
  font-size: 12px;
  padding: 8px 12px;
}

.hero-media {
  justify-self: center;
  max-width: 430px;
  width: 100%;
}

.video-shell {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(36, 91, 71, 0.2);
  overflow: hidden;
  padding: 10px;
  position: relative;
  transform: rotate(1.5deg);
}

.real-video-shell {
  transform: rotate(-1deg);
}

video {
  aspect-ratio: 9 / 16;
  background: #dfe6da;
  border-radius: 26px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.video-label {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  left: 24px;
  padding: 10px 13px;
  position: absolute;
  right: 24px;
}

.video-label span {
  background: var(--forest);
  border-radius: 999px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 9px;
}

.video-label p {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.bridge-section,
.clip-section {
  margin: 0 auto;
  max-width: 1280px;
  padding: 120px 32px;
}

.about-section {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 110px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  margin: 0 auto;
  max-width: 1280px;
  padding: 120px 32px;
}

.about-visual {
  background: linear-gradient(145deg, #e7efcf, #f4d2bb);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 42px;
  box-shadow: 0 28px 70px rgba(36, 91, 71, 0.13);
  overflow: hidden;
  padding: 34px 34px 28px;
  transform: rotate(-1.5deg);
}

.about-logo-wrap {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 253, 248, 0.75);
  border-radius: 32px;
  display: flex;
  justify-content: center;
}

.about-logo-wrap img {
  display: block;
  height: 82%;
  object-fit: contain;
  width: 82%;
}

.about-visual > p {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: 19px;
  line-height: 1.55;
  margin: 24px 4px 0;
}

.about-copy h2 {
  margin: 0;
}

.about-lede,
.about-copy > p:not(.eyebrow) {
  color: rgba(23, 53, 44, 0.72);
  font-size: 18px;
  line-height: 1.82;
  margin: 24px 0 0;
  max-width: 720px;
}

.about-lede {
  font-size: 20px;
}

.youtube-feature {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 92px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  margin: 0 auto;
  max-width: 1280px;
  padding: 24px 32px 130px;
}

.youtube-feature-deep {
  padding-top: 130px;
}

.youtube-feature h2 {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.youtube-feature-copy > p:not(.eyebrow) {
  color: rgba(23, 53, 44, 0.68);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 28px;
}

.youtube-embed-wrap {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 8px solid white;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(36, 91, 71, 0.15);
  overflow: hidden;
}

.youtube-embed-wrap iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.contact-button {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(23, 53, 44, 0.1);
  display: inline-flex;
  gap: 15px;
  padding: 14px 20px 14px 14px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-button:hover {
  box-shadow: 0 18px 40px rgba(23, 53, 44, 0.16);
  transform: translateY(-2px);
}

.youtube-icon {
  align-items: center;
  background: #ff3131;
  border-radius: 13px;
  color: white;
  display: flex;
  flex: 0 0 54px;
  height: 46px;
  justify-content: center;
  width: 54px;
}

.youtube-icon::after {
  border-bottom: 7px solid transparent;
  border-left: 11px solid white;
  border-top: 7px solid transparent;
  content: "";
  display: block;
  margin-left: 3px;
}

.contact-button > span:last-child {
  display: grid;
  gap: 2px;
}

.contact-button strong {
  font-size: 15px;
}

.contact-button small {
  color: rgba(23, 53, 44, 0.62);
  font-size: 12px;
}

.line-icon {
  align-items: center;
  background: #06c755;
  border-radius: 13px;
  color: white;
  display: flex;
  font-size: 11px;
  flex: 0 0 54px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  width: 54px;
}

.tiktok-icon {
  align-items: center;
  background: #141414;
  border-radius: 13px;
  box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55;
  color: white;
  display: flex;
  flex: 0 0 54px;
  font-size: 10px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  letter-spacing: -0.02em;
  width: 54px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.routinex-copy h2,
.start-copy h2,
.about-copy h2,
.xvisor-section h2,
.xircle-section h2 {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.section-heading > p:last-child {
  color: rgba(23, 53, 44, 0.66);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 650px;
}

.habit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
}

.habit-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  min-height: 350px;
  padding: 28px;
  position: relative;
}

.habit-food { background: #f0dfc2; }
.habit-move { background: #dbe9d4; transform: translateY(26px); }
.habit-notice { background: #f5cdb5; }

.habit-number {
  color: rgba(23, 53, 44, 0.5);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.habit-icon {
  font-size: 64px;
  line-height: 1;
  margin: 52px 0 34px;
}

.habit-card h3,
.clip-card h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.habit-card > p:last-child {
  color: rgba(23, 53, 44, 0.7);
  line-height: 1.7;
  margin: 0;
}

.routinex-section {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 100px;
  grid-template-columns: 1fr 0.85fr;
  padding: 130px max(32px, calc((100vw - 1216px) / 2));
}

.routinex-section .eyebrow { color: var(--lime); }

.large-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1.8;
  margin: 30px 0;
  max-width: 610px;
}

blockquote {
  border-left: 2px solid var(--peach);
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.7;
  margin: 44px 0 0;
  padding-left: 24px;
}

.principles {
  align-self: center;
}

.principles > div {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  padding: 28px 0;
}

.principles > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.principles span { font-size: 18px; }
.principles strong { color: var(--lime); font-size: 11px; letter-spacing: 0.14em; }

.clip-heading { margin: 0 auto; text-align: center; }
.clip-heading > p:last-child { margin-left: auto; margin-right: auto; }

.clip-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
}

.clip-card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px 10px 24px;
}

.clip-card video {
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  max-height: 620px;
}

.clip-card > div { padding: 20px 14px 0; }
.clip-card span { color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.clip-card h3 { margin: 8px 0 0; }
.featured-clip { transform: translateY(32px); }

.tiktok-section {
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 244, 238, 0.12), transparent 23rem),
    radial-gradient(circle at 88% 82%, rgba(254, 44, 85, 0.12), transparent 25rem),
    var(--ink);
  color: white;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
  padding: 110px max(32px, calc((100vw - 1216px) / 2));
}

.tiktok-copy h2 {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.tiktok-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 30px;
}

.tiktok-copy strong {
  color: var(--lime);
}

.tiktok-profile-link {
  background: white;
  color: var(--ink);
}

.tiktok-embed-shell {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.tiktok-embed-shell .tiktok-embed {
  margin: 0 auto !important;
  width: 100% !important;
}

.start-section {
  align-items: start;
  background: #e4edc9;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 120px max(32px, calc((100vw - 1216px) / 2));
}

.start-copy > p:last-child {
  color: rgba(23, 53, 44, 0.68);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 24px;
}

.start-choices details {
  border-top: 1px solid rgba(23, 53, 44, 0.22);
  padding: 0;
}

.start-choices details:last-child { border-bottom: 1px solid rgba(23, 53, 44, 0.22); }

summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  padding: 26px 0;
}

summary::-webkit-details-marker { display: none; }
summary span { font-size: 30px; font-weight: 400; transition: transform 150ms ease; }
details[open] summary span { transform: rotate(45deg); }
.start-choices details p { color: rgba(23, 53, 44, 0.7); line-height: 1.7; margin: -6px 0 26px; max-width: 580px; }

.xvisor-section {
  background: #fffaf0;
  display: grid;
  gap: clamp(54px, 8vw, 108px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  padding: 130px max(32px, calc((100vw - 1216px) / 2));
}

.xvisor-intro {
  align-self: center;
}

.xvisor-lede {
  color: rgba(23, 53, 44, 0.72);
  font-size: 19px;
  line-height: 1.82;
  margin: 28px 0 0;
}

.system-path {
  margin-top: 40px;
}

.system-path > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px 13px;
  grid-template-columns: 32px 1fr;
  padding: 20px 0;
}

.system-path > div:last-child {
  border-bottom: 1px solid var(--line);
}

.system-path span {
  color: var(--peach);
  font-size: 11px;
  font-weight: 800;
  grid-row: 1 / 3;
  letter-spacing: 0.12em;
  padding-top: 3px;
}

.system-path strong {
  font-size: 17px;
}

.system-path p {
  color: rgba(23, 53, 44, 0.64);
  line-height: 1.65;
  margin: 0;
}

.journey-videos {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.journey-video-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(36, 91, 71, 0.12);
  overflow: hidden;
  padding: 10px 10px 24px;
}

.journey-video-offset {
  margin-top: 70px;
}

.journey-video-wrap {
  position: relative;
}

.journey-video-card video {
  border-radius: 22px;
}

.journey-video-card > div:last-child {
  padding: 20px 14px 0;
}

.journey-video-card span {
  color: var(--peach);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.journey-video-card h3 {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  margin: 8px 0 10px;
}

.journey-video-card p {
  color: rgba(23, 53, 44, 0.64);
  line-height: 1.65;
  margin: 0;
}

.xircle-section {
  align-items: center;
  background: #f2dbc9;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  padding: 110px max(32px, calc((100vw - 1216px) / 2));
  position: relative;
}

.xircle-section h2 {
  margin: 0;
}

.xircle-section > div:first-child > p {
  color: rgba(23, 53, 44, 0.68);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 680px;
}

.xircle-section > div:first-child > p strong {
  color: var(--forest);
  display: block;
  font-weight: 800;
  margin: 7px 0 2px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.xircle-section .button-secondary {
  background: rgba(255, 253, 248, 0.68);
}

.xircle-visual-stack {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.whitecat-companion {
  align-self: center;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  filter: drop-shadow(0 18px 22px rgba(23, 53, 44, 0.18));
  margin: 0 0 24px;
  padding: 48px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  width: min(78%, 336px);
  z-index: 2;
}

.whitecat-companion::before {
  background: radial-gradient(circle, rgba(255, 253, 248, 0.88), rgba(220, 236, 173, 0.24) 56%, transparent 72%);
  border-radius: 50%;
  content: "";
  inset: 7% -18% 0;
  position: absolute;
  z-index: -1;
}

.routine-orbit {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.routine-node {
  animation: routine-orb-travel 21s linear infinite;
  height: 0;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 0;
}

.routine-node-inner {
  align-items: center;
  animation: routine-orb-upright 21s linear infinite;
  display: flex;
  flex-direction: column;
  gap: 1px;
  left: 128px;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
}

.routine-node-eat {
  animation-delay: 0s;
}

.routine-node-move {
  animation-delay: -7s;
}

.routine-node-sleep {
  animation-delay: -14s;
}

.routine-node-eat .routine-node-inner {
  animation-delay: 0s;
}

.routine-node-move .routine-node-inner {
  animation-delay: -7s;
}

.routine-node-sleep .routine-node-inner {
  animation-delay: -14s;
}

.routine-orb-visual {
  animation: routine-orb-breathe 3.8s ease-in-out infinite alternate;
  background-image: url("/ako/assets/xircle-routine-orbs-sprite.webp");
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: 300% auto;
  display: block;
  filter: drop-shadow(0 9px 14px rgba(23, 53, 44, 0.18));
  height: 76px;
  width: 76px;
}

.routine-node-eat .routine-orb-visual {
  background-position-x: left;
}

.routine-node-move .routine-orb-visual {
  animation-delay: -1.2s;
  background-position-x: center;
}

.routine-node-sleep .routine-orb-visual {
  animation-delay: -2.4s;
  background-position-x: right;
}

.routine-node b {
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(23, 53, 44, 0.1);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(23, 53, 44, 0.08);
  color: var(--ink);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 5px 8px 4px;
}

.whitecat-companion img {
  display: block;
  height: auto;
  position: relative;
  width: 100%;
  z-index: 2;
}

.whitecat-companion:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 6px;
}

.whitecat-companion.is-speaking img {
  animation: whitecat-answer 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.whitecat-companion.is-speaking .routine-orb-visual {
  animation: routine-orb-listen 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes routine-orb-travel {
  0%, 100% {
    opacity: 0.78;
    transform: rotate(0deg);
  }
  24%, 76% {
    opacity: 1;
  }
  50% {
    opacity: 0.68;
    transform: rotate(180deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes routine-orb-upright {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes routine-orb-breathe {
  from {
    opacity: 0.88;
    transform: translateY(2px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes routine-orb-listen {
  0%, 100% {
    filter: drop-shadow(0 9px 14px rgba(23, 53, 44, 0.18));
    transform: scale(1);
  }
  42% {
    filter: drop-shadow(0 12px 22px rgba(23, 53, 44, 0.28));
    transform: scale(1.09);
  }
}

@keyframes whitecat-answer {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  38% {
    transform: translateY(-5px) scale(1.018);
  }
  72% {
    transform: translateY(-2px) scale(1.006);
  }
}


.xircle-button {
  background: var(--ink);
  border-radius: 28px;
  color: white;
  display: block;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.xircle-button:hover {
  box-shadow: 0 24px 50px rgba(23, 53, 44, 0.22);
  transform: translateY(-4px);
}

.xircle-button img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.xircle-link {
  align-items: center;
  background: var(--ink);
  display: flex;
  justify-content: space-between;
  padding: 20px 22px 22px;
}

.xircle-link b {
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.xircle-link strong {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 500;
}

footer {
  align-items: center;
  background: var(--ink);
  color: white;
  display: grid;
  font-size: 13px;
  gap: 24px;
  grid-template-columns: 1fr auto auto auto auto 1fr;
  padding: 42px max(32px, calc((100vw - 1216px) / 2));
}

footer p { color: rgba(255, 255, 255, 0.6); margin: 0; }
footer > span { color: rgba(255, 255, 255, 0.6); justify-self: end; }
.footer-xircle { color: var(--lime); font-weight: 700; }
.footer-tiktok { color: #84f8f3; font-weight: 700; }
.footer-line { color: #71ee9e; font-weight: 700; }
.footer-brand { color: white; }

@media (max-width: 860px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .micro-proof {
    justify-content: center;
  }

  .hero-media {
    max-width: 380px;
  }

  .habit-grid,
  .clip-grid,
  .about-section,
  .youtube-feature,
  .tiktok-section,
  .routinex-section,
  .start-section,
  .xvisor-section,
  .xircle-section {
    grid-template-columns: 1fr;
  }

  .habit-move,
  .featured-clip {
    transform: none;
  }

  .routinex-section,
  .start-section,
  .xvisor-section,
  .xircle-section,
  .tiktok-section {
    gap: 52px;
  }

  .clip-card video { max-height: none; }

  footer {
    gap: 24px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-xircle,
  .footer-tiktok,
  .footer-line,
  footer > span { justify-self: center; }
}

@media (max-width: 520px) {
  .site-header {
    padding: 18px 20px;
  }

  .hero {
    padding: 32px 20px 64px;
  }

  .bridge-section,
  .clip-section,
  .about-section,
  .youtube-feature,
  .tiktok-section {
    padding: 88px 20px;
  }

  .tiktok-embed-shell {
    border-radius: 24px;
    padding: 8px;
  }

  .tiktok-embed-shell .tiktok-embed {
    min-width: 0 !important;
  }

  .routinex-section,
  .start-section,
  .xvisor-section,
  .xircle-section {
    padding: 88px 20px;
  }

  h1 {
    font-size: 48px;
  }

  .button {
    width: 100%;
  }

  .contact-links,
  .contact-button {
    width: 100%;
  }

  .contact-button {
    align-items: center;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .contact-button > span:last-child {
    min-width: 0;
  }

  .journey-videos {
    grid-template-columns: 1fr;
  }

  .journey-video-offset {
    margin-top: 0;
  }

  .whitecat-companion {
    align-self: center;
    margin: 0 0 22px;
    padding: 40px;
    width: min(82%, 278px);
  }

  .routine-node-inner {
    left: 104px;
  }

  .routine-orb-visual {
    height: 62px;
    width: 62px;
  }

  .routine-node b {
    font-size: 7px;
    padding: 4px 7px 3px;
  }

  .closing-actions .button {
    width: 100%;
  }

  .xircle-button img {
    min-height: 0;
  }

  .xircle-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

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

  .button {
    transition: none;
  }

  .routine-node,
  .routine-node-inner,
  .routine-orb-visual,
  .whitecat-companion.is-speaking img,
  .whitecat-companion.is-speaking .routine-orb-visual {
    animation: none;
  }

}
