@import url("fonts.css");

/* =========================================================
   Edologia — Design System (Light Developer Studio)
   ========================================================= */

:root {
  /* Brand palette — deep indigo + amber CTA */
  --white: #ffffff;
  --bg-2: #f7f8ff;
  --mint: #eef1ff;
  --green: #4338ca;
  --green-dark: #3730a3;
  --green-deep: #312e81;
  --green-accent: #6366f1;
  --blue-soft: #eaf3ff;
  --blue: #2f6fd6;
  --ink: #171a33;
  --ink-2: #3b4160;
  --muted: #64748b;
  --line: #e6e8f4;
  --line-strong: #d6daf0;

  --green-ring: rgba(99, 102, 241, 0.3);
  --mint-2: #e0e7ff;

  --ok: #16a34a;
  --ok-soft: #dcfce7;

  --amber: #b45309;
  --amber-soft: #fff7ea;
  --red: #b42318;
  --red-soft: #fef3f2;

  /* Call-to-action accent (amber) */
  --cta: #f5a524;
  --cta-dark: #e08e0b;
  --cta-ink: #3d2b00;
  --cta-soft: #fff4e0;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(23, 26, 51, 0.05), 0 12px 28px -20px rgba(23, 26, 51, 0.35);
  --sh-2: 0 2px 6px rgba(23, 26, 51, 0.06), 0 26px 54px -32px rgba(23, 26, 51, 0.4);
  --sh-brand: 0 16px 34px -16px rgba(67, 56, 202, 0.5);
  --sh-cta: 0 16px 34px -16px rgba(224, 142, 11, 0.55);
  --sh-nav: 0 8px 24px -18px rgba(23, 26, 51, 0.45);

  --container: 1160px;
  --nav-h: 74px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}
h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
}
h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}
h4 {
  font-size: 1.05rem;
}
p {
  margin: 0 0 1rem;
}
strong,
b {
  color: var(--ink);
  font-weight: 700;
}

::selection {
  background: var(--mint-2);
  color: var(--green-deep);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section--tight {
  padding: clamp(40px, 6vw, 64px) 0;
}
.section--mint {
  background: var(--bg-2);
}
.bg-soft {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-2) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--muted);
  margin-bottom: 0;
}
.section-head h2 {
  margin-bottom: 0.6rem;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-2);
}

.muted {
  color: var(--muted);
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--sm {
  width: 16px;
  height: 16px;
}
.icon--lg {
  width: 26px;
  height: 26px;
}
.icon--xl {
  width: 32px;
  height: 32px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--cta);
  --btn-fg: var(--cta-ink);
  --btn-bd: var(--cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn .icon {
  transition: transform 0.22s var(--ease);
}
.btn:hover {
  --btn-bg: var(--cta-dark);
  --btn-bd: var(--cta-dark);
  box-shadow: var(--sh-cta);
  transform: translateY(-1px);
}

.btn--brand {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  --btn-bd: var(--green);
}
.btn--brand:hover {
  --btn-bg: var(--green-dark);
  --btn-bd: var(--green-dark);
  box-shadow: var(--sh-brand);
}
.btn:hover .icon--arrow {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0) scale(0.99);
}
.btn:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: 2px;
}

.btn--outline {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover {
  --btn-bg: var(--mint);
  --btn-fg: var(--green-deep);
  --btn-bd: var(--green-accent);
  box-shadow: var(--sh-1);
}
.btn--soft {
  --btn-bg: var(--mint);
  --btn-fg: var(--green-deep);
  --btn-bd: var(--mint);
}
.btn--soft:hover {
  --btn-bg: var(--mint-2);
  --btn-bd: var(--mint-2);
  --btn-fg: var(--green-deep);
}
.btn--wa {
  --btn-bg: #25d366;
  --btn-fg: #052e16;
  --btn-bd: #25d366;
}
.btn--wa:hover {
  --btn-bg: #1fbf5b;
  --btn-bd: #1fbf5b;
  --btn-fg: #052e16;
  box-shadow: 0 16px 34px -16px rgba(37, 211, 102, 0.75);
}
.btn--lg {
  padding: 16px 26px;
  font-size: 1rem;
}
.btn--sm {
  padding: 10px 16px;
  font-size: 0.86rem;
  border-radius: var(--r-sm);
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-display);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover {
  gap: 11px;
  color: var(--green-dark);
}
.link-arrow:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Hero staged entrance */
.hero__enter {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.7s var(--ease) forwards;
}
.hero__enter.d1 {
  animation-delay: 0.05s;
}
.hero__enter.d2 {
  animation-delay: 0.18s;
}
.hero__enter.d3 {
  animation-delay: 0.32s;
}
.hero__enter.d4 {
  animation-delay: 0.46s;
}
.hero__visual {
  opacity: 0;
  animation: heroVisual 0.8s var(--ease) 0.25s forwards;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroVisual {
  from {
    opacity: 0;
    transform: scale(0.965);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav.is-scrolled {
  box-shadow: var(--sh-nav);
  background: rgba(255, 255, 255, 0.95);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green-accent), var(--green));
  color: #fff;
  box-shadow: var(--sh-brand);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__text b {
  font-size: 1.15rem;
}
.brand__text small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--green-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover {
  color: var(--green-deep);
  background: var(--bg-2);
}
.nav__link.is-active {
  color: var(--green-deep);
}
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__link:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: 2px;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__burger span {
  top: 50%;
  margin-top: -1px;
}
.nav__burger span::before {
  content: "";
  left: 0;
  transform: none;
  top: -6px;
}
.nav__burger span::after {
  content: "";
  left: 0;
  transform: none;
  top: 6px;
}
.nav.is-open .nav__burger span {
  background: transparent;
}
.nav.is-open .nav__burger span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav.is-open .nav__burger span::after {
  transform: translateY(-6px) rotate(-45deg);
}
.nav__burger:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: 2px;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  pointer-events: none;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 40, 33, 0.4);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px -30px rgba(23, 53, 47, 0.5);
  padding: 18px;
  transform: translateX(100%);
  opacity: 0.6;
  transition: transform 0.36s var(--ease), opacity 0.36s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.drawer.is-open .drawer__scrim {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: none;
  opacity: 1;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.drawer__close {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  border: 1.5px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.drawer__link:hover,
.drawer__link.is-active {
  background: var(--mint);
  border-color: var(--line-strong);
  color: var(--green-deep);
}
.drawer__link .icon {
  color: var(--muted);
}
.drawer__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--blue-soft) 0%, transparent 60%),
    radial-gradient(50rem 28rem at 5% 0%, var(--mint) 0%, transparent 58%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(23, 53, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 53, 47, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60rem 26rem at 50% 0%, #000 5%, transparent 72%);
  mask-image: radial-gradient(60rem 26rem at 50% 0%, #000 5%, transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 92px);
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-block;
  margin-bottom: 18px;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero h1 .accent {
  color: var(--green);
}
.hero__desc {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  max-width: 520px;
}
.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero__benefits .icon {
  color: var(--green);
  background: var(--mint);
  border-radius: 8px;
  padding: 5px;
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

/* Hero visual illustration */
.hero__visual {
  position: relative;
  min-height: 420px;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.card-ui {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.editor {
  left: 0;
  top: 6%;
  width: 78%;
  overflow: hidden;
}
.editor__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.editor__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.editor__dot.r {
  background: #f5a3a0;
}
.editor__dot.y {
  background: #f6d488;
}
.editor__dot.g {
  background: #9fd9b4;
}
.editor__file {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 4px;
}
.editor__body {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
}
.editor__body .ln {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.editor__body .no {
  color: var(--line-strong);
  user-select: none;
  width: 16px;
  text-align: right;
}
.tok-key {
  color: #b5407a;
}
.tok-fn {
  color: var(--green);
}
.tok-str {
  color: #2f6fd6;
}
.tok-tag {
  color: #c2410c;
}
.tok-com {
  color: #94a3b8;
}

/* AI coding panel */
.ai-panel {
  right: 0;
  top: 30%;
  width: 56%;
  padding: 15px;
  z-index: 3;
}
.ai-panel__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.ai-panel__ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
}
.ai-panel__ico .icon {
  width: 17px;
  height: 17px;
}
.ai-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
}
.ai-panel__sub {
  font-size: 0.7rem;
  color: var(--muted);
}
.bubble {
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.76rem;
  line-height: 1.55;
  margin-bottom: 8px;
}
.bubble--user {
  background: var(--blue-soft);
  color: var(--ink-2);
  border: 1px solid #d8e6fb;
}
.bubble--ai {
  background: var(--mint);
  color: var(--green-deep);
  border: 1px solid var(--line-strong);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.bubble--ai .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.ai-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-top: 4px;
}
.ai-progress > i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-accent), var(--green));
}
.ai-progress__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--muted);
  margin-top: 5px;
}

/* VPS card */
.vps-card {
  left: 2%;
  bottom: 4%;
  width: 50%;
  padding: 15px;
  z-index: 4;
}
.vps-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.vps-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ok);
}
.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
}
.vps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
}
.vps-row b {
  color: var(--ink);
}
.vps-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.vps-bar > i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* Domain card */
.domain-card {
  right: 4%;
  bottom: 2%;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.domain-card__ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
}
.domain-card__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.domain-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink);
}

/* Mobile mockup */
.phone {
  position: absolute;
  right: 16%;
  top: 2%;
  width: 84px;
  border-radius: 18px;
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: var(--sh-2);
  overflow: hidden;
  z-index: 2;
}
.phone__notch {
  height: 12px;
  display: grid;
  place-items: center;
}
.phone__notch::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
}
.phone__body {
  padding: 4px 7px 12px;
}
.phone__bar {
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--green-accent), var(--green));
  margin-bottom: 7px;
}
.phone__line {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  margin-bottom: 5px;
}
.phone__line.s {
  width: 70%;
}
.phone__line.m {
  width: 90%;
}

/* Floating animations */
.float-a {
  animation: floatA 6.5s ease-in-out infinite;
}
.float-b {
  animation: floatB 7.5s ease-in-out infinite;
}
.float-c {
  animation: floatC 5.8s ease-in-out infinite;
}
@keyframes floatA {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
@keyframes floatC {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Terminal ---------- */
.terminal {
  background: #0f2620;
  border-radius: var(--r-lg);
  border: 1px solid #1c3b32;
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #122e27;
  border-bottom: 1px solid #1c3b32;
}
.terminal__bar .d {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal__bar .d.r {
  background: #f5a3a0;
}
.terminal__bar .d.y {
  background: #f6d488;
}
.terminal__bar .d.g {
  background: #9fd9b4;
}
.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7ea99a;
  margin-left: 4px;
}
.terminal__body {
  padding: 18px 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 2;
  color: #cfe9df;
  min-height: 148px;
}
.terminal__body .muted {
  color: #7ea99a;
}
.terminal__body .cmd::before {
  content: "$ ";
  color: var(--green-accent);
}
.terminal__body .out {
  color: #9fd9b4;
}
.terminal__caret {
  display: inline-block;
  width: 9px;
  height: 17px;
  background: var(--green-accent);
  vertical-align: -3px;
  margin-left: 2px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* =========================================================
   Feature / benefit cards
   ========================================================= */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-1);
  border-color: var(--line-strong);
}
.feature__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  margin-bottom: 16px;
}
.feature__ico .icon {
  width: 24px;
  height: 24px;
}
.feature h3 {
  margin-bottom: 7px;
  font-size: 1.12rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--green-accent);
}
.path-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.path-card__ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mint), var(--white));
  border: 1px solid var(--line-strong);
  color: var(--green);
}
.path-card__ico .icon {
  width: 26px;
  height: 26px;
}
.path-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.path-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.path-card .link-arrow {
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag--green {
  background: var(--mint);
  border-color: var(--line-strong);
  color: var(--green-deep);
}
.tag--blue {
  background: var(--blue-soft);
  border-color: #d8e6fb;
  color: var(--blue);
}
.tag--warn {
  background: var(--amber-soft);
  border-color: #f2dcb8;
  color: var(--amber);
}

/* =========================================================
   Portfolio
   ========================================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-chip {
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-chip:hover {
  border-color: var(--green-accent);
  color: var(--green-deep);
}
.filter-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.filter-chip:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: 2px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.p-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.p-card.is-hidden {
  display: none;
}
.p-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.p-card__thumb {
  width: 100%;
  height: 100%;
  transition: transform 0.28s var(--ease);
}
.p-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--ink-2);
  backdrop-filter: blur(4px);
}
.pill--ok {
  color: var(--ok);
  border-color: #b7e6c4;
}
.pill--warn {
  color: var(--amber);
  border-color: #f2dcb8;
}
.pill--muted {
  color: var(--muted);
}
.p-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.p-card__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.p-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}
.p-card__desc {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 16px;
}
.p-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.p-card__status {
  font-size: 0.78rem;
  font-weight: 600;
}
.p-card__status.ok {
  color: var(--ok);
}
.p-card__status.warn {
  color: var(--amber);
}
.p-card__status.muted {
  color: var(--muted);
}
.p-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
  transition: gap 0.2s var(--ease);
}
.p-card__link:hover {
  gap: 10px;
}
.p-card__locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Hover only on pointer devices */
@media (hover: hover) and (pointer: fine) {
  .p-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-2);
    border-color: var(--green-accent);
  }
  .p-card:hover .p-card__thumb {
    transform: scale(1.02);
  }
}

/* ---------- Thumbnail art (generated SVG) ---------- */
.thumb {
  display: block;
}

/* =========================================================
   Tutorial / articles
   ========================================================= */
.tut-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tut-cat {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.tut-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-1);
  border-color: var(--green-accent);
}
.tut-cat__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  color: var(--green);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.tut-cat h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.tut-cat p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-1);
  border-color: var(--green-accent);
}
.article-card__top {
  aspect-ratio: 16 / 8;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
.article-card__ico {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  color: var(--green);
  border: 1px solid var(--line);
}
.article-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card h3 {
  font-size: 1.12rem;
  line-height: 1.28;
  margin-bottom: 8px;
}
.article-card h3 a:hover {
  color: var(--green);
}
.article-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.article-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card__meta .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Article page ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.crumbs a:hover {
  color: var(--green);
}
.crumbs .sep {
  color: var(--line-strong);
}
.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.article-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--white));
}
.article-hero__inner {
  padding: clamp(32px, 5vw, 56px) 0;
  max-width: 820px;
}
.article-hero h1 {
  margin-bottom: 14px;
}
.article-hero__lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--muted);
  margin-bottom: 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.86rem;
  color: var(--muted);
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0;
}
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  background: var(--white);
}
.toc__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-accent);
  padding-top: 1px;
}
.toc a:hover,
.toc a.is-active {
  color: var(--green-deep);
  font-weight: 600;
}

.prose {
  font-size: 1.02rem;
  color: var(--ink-2);
  max-width: 720px;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 2.2em 0 0.7em;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.prose h3 {
  margin: 1.6em 0 0.5em;
}
.prose ul li,
.prose ol li {
  margin-bottom: 0.4em;
}
.prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.prose a:hover {
  color: var(--green-dark);
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--mint);
  color: var(--green-deep);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
}

.code-block {
  position: relative;
  margin: 1.4em 0;
}
.code-block pre {
  margin: 0;
  background: #0f2620;
  color: #d6ece3;
  border: 1px solid #1c3b32;
  border-radius: var(--r-md);
  padding: 44px 18px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
}
.code-block code {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}
.code-block__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #1c3b32;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.code-block__lang {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #7ea99a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a3a31;
  border: 1px solid #265043;
  color: #a9d9c9;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.code-copy:hover {
  background: #234a3e;
  color: #fff;
}
.code-copy.is-copied {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.callout {
  display: flex;
  gap: 14px;
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin: 1.5em 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.95rem;
}
.callout__ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.callout__ico .icon {
  width: 18px;
  height: 18px;
}
.callout strong {
  display: block;
  margin-bottom: 3px;
}
.callout--warn {
  background: var(--amber-soft);
  border-color: #f2dcb8;
}
.callout--warn .callout__ico {
  background: #fbe6c3;
  color: var(--amber);
}
.callout--info {
  background: var(--blue-soft);
  border-color: #d8e6fb;
}
.callout--info .callout__ico {
  background: #d5e6fb;
  color: var(--blue);
}
.callout--safe {
  background: var(--mint);
  border-color: var(--line-strong);
}
.callout--safe .callout__ico {
  background: var(--mint-2);
  color: var(--green);
}
.callout p:last-child {
  margin-bottom: 0;
}

.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-top: 40px;
  background: var(--bg-2);
}
.author-box__ava {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green-accent), var(--green));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-box b {
  display: block;
  font-family: var(--font-display);
}
.author-box span {
  color: var(--muted);
  font-size: 0.88rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

/* =========================================================
   Product showcase
   ========================================================= */
.product {
  background: var(--mint);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.product__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.product__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
}
.product__price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.product__price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.facility-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.facility-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-2);
}
.facility-list .icon {
  color: var(--green);
  background: var(--white);
  border-radius: 8px;
  padding: 5px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
}

.ebook-stack {
  display: grid;
  gap: 16px;
}
.ebook {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-1);
}
.ebook__cover {
  width: 58px;
  height: 74px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ebook__cover::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.35);
}
.ebook__cover.mint {
  background: linear-gradient(150deg, var(--green-accent), var(--green));
}
.ebook__cover.blue {
  background: linear-gradient(150deg, #5b9bf0, #2f6fd6);
}
.ebook__cover .icon {
  width: 24px;
  height: 24px;
}
.ebook h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}
.ebook p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.note-box {
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.note-box strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--ink);
}
.note-box ul {
  margin: 0;
  padding-left: 1.1rem;
}
.note-box li {
  margin-bottom: 4px;
  color: var(--muted);
}

/* =========================================================
   Consultation + CTA
   ========================================================= */
.consult {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--white), var(--bg-2));
  box-shadow: var(--sh-1);
}
.consult__chat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.consult__ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  flex-shrink: 0;
}
.consult__ico .icon {
  width: 26px;
  height: 26px;
}
.consult__points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 11px;
}
.consult__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.consult__points .icon {
  color: var(--green);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.consult__card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--sh-1);
}
.consult__card .icon--xl {
  color: var(--green);
  margin-bottom: 12px;
}
.consult__card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  text-align: center;
  box-shadow: var(--sh-2);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(30rem 16rem at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #e7e9ff;
}
.cta-band h2 {
  color: #fff;
  position: relative;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 26px;
  position: relative;
}
.cta-band .btn-row {
  justify-content: center;
  position: relative;
}
.cta-band .btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.5);
}
.cta-band .btn--outline:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: #fff;
  --btn-bd: #fff;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item.is-open {
  border-color: var(--green-accent);
  box-shadow: var(--sh-1);
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}
.faq__q .icon {
  color: var(--green);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq__item.is-open .faq__q .icon {
  transform: rotate(180deg);
}
.faq__q:focus-visible {
  outline: 3px solid var(--green-ring);
  outline-offset: -3px;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}
.faq__a > div {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 16px 0 18px;
  max-width: 320px;
}
.footer h4 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer ul a,
.footer ul span {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer ul a:hover {
  color: var(--green);
}
.footer ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer ul .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.footer__bar {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
}
.footer__bar a {
  color: var(--muted);
}
.footer__bar a:hover {
  color: var(--green);
}
.footer__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green);
}

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(40rem 20rem at 100% 0%, var(--blue-soft), transparent 65%),
    linear-gradient(180deg, var(--bg-2), var(--white));
}
.page-hero__inner {
  padding: clamp(36px, 5vw, 64px) 0;
  max-width: 760px;
}
.page-hero h1 {
  margin-bottom: 14px;
}
.page-hero p {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--muted);
  margin-bottom: 0;
}

/* Steps */
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* About / stats */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.value-list li {
  display: flex;
  gap: 14px;
}
.value-list .feature__ico {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 11px;
}
.value-list h3 {
  font-size: 1rem;
  margin-bottom: 3px;
}
.value-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-1);
}
.info-panel dl {
  margin: 0;
  display: grid;
  gap: 16px;
}
.info-panel dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 3px;
}
.info-panel dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   404
   ========================================================= */
.error-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.04em;
}
.error-page p {
  color: var(--muted);
  max-width: 480px;
  margin: 8px auto 26px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tut-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    order: -1;
  }
  .product__grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .nav__cta {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 66px;
  }
  .container {
    padding: 0 16px;
  }
  .grid--3,
  .grid--2,
  .grid--4,
  .tut-cats,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .consult {
    grid-template-columns: 1fr;
  }
  .hero__benefits {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
  }
  .btn-row .btn {
    width: 100%;
  }
  .brand__text small {
    display: none;
  }
  .hero__visual {
    min-height: 340px;
  }
  .stage {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    min-height: 300px;
  }
  .phone {
    width: 66px;
  }
  .editor__body {
    font-size: 0.68rem;
  }
  .article-hero__inner {
    padding: 28px 0;
  }
  .article-meta {
    gap: 8px 14px;
  }
}

/* Touch: disable hover-only lift */
@media (hover: none) {
  .p-card:hover,
  .feature:hover,
  .path-card:hover,
  .tut-cat:hover,
  .article-card:hover {
    transform: none;
  }
  .p-card:hover .p-card__thumb {
    transform: none;
  }
}

/* ---------- Language switcher ---------- */
.lang {
  position: relative;
}
.lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.lang__trigger:hover {
  border-color: var(--green-accent);
  box-shadow: var(--sh-1);
}
.lang__globe {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}
.lang__caret {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}
.lang.is-open .lang__caret {
  transform: rotate(180deg);
}
.lang__label {
  white-space: nowrap;
}
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 208px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}
.lang.is-open .lang__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.lang__opt:hover,
.lang__opt:focus-visible {
  background: var(--mint);
  outline: none;
}
.lang__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
  position: relative;
}
.lang__opt.is-current {
  color: var(--green);
}
.lang__opt.is-current .lang__dot {
  border-color: var(--green);
}
.lang__opt.is-current .lang__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
}
.drawer__lang {
  padding: 4px 20px 8px;
}
.drawer__lang .lang,
.drawer__lang .lang__trigger {
  width: 100%;
}
.drawer__lang .lang__trigger {
  justify-content: space-between;
}
.drawer__lang .lang__menu {
  left: 0;
  right: 0;
  transform-origin: top left;
}
@media (max-width: 860px) {
  .nav .lang {
    display: none;
  }
}

/* ---------- Japanese typography ---------- */
[lang="ja"] {
  --font: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-display: "Plus Jakarta Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
[lang="ja"] .prose {
  line-height: 1.95;
}
[lang="ja"] .prose h2,
[lang="ja"] .prose h3 {
  line-height: 1.5;
}
[lang="ja"] h1,
[lang="ja"] h2,
[lang="ja"] h3 {
  letter-spacing: 0;
}
[lang="ja"] .hero h1 {
  line-height: 1.25;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .hero__enter,
  .hero__visual {
    opacity: 1 !important;
    transform: none !important;
  }
  .float-a,
  .float-b,
  .float-c {
    animation: none !important;
  }
}

/* Print */
@media print {
  .nav,
  .drawer,
  .footer,
  .cta-band,
  .toc {
    display: none;
  }
}

/* =========================================================
   Conversions: hero proof, price anchor, results, testimonials, lead magnet
   ========================================================= */
.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--mint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}
.hero__proof .icon {
  color: var(--ok);
}

.product__price-row {
  flex-wrap: wrap;
  align-items: center;
}
.product__price-old {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}
.product__save {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cta-ink);
  background: var(--cta);
  padding: 6px 11px;
  border-radius: var(--r-pill);
}
.product__anchor {
  margin: -8px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Results (before / after) */
.rcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-1);
}
.rcard__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.rcard__row {
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.rcard__row p {
  margin: 6px 0 0;
  font-size: 0.94rem;
}
.rcard__row--before {
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.rcard__row--before p {
  color: var(--muted);
}
.rcard__row--after {
  background: var(--mint);
  border: 1px solid var(--line-strong);
}
.rcard__row--after p {
  color: var(--green-deep);
  font-weight: 600;
}
.rcard__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rcard__row--after .rcard__label {
  color: var(--green);
}
.rcard__arrow {
  display: flex;
  justify-content: center;
  color: var(--green-accent);
  margin: 8px 0;
}
.rcard__arrow .icon {
  width: 22px;
  height: 22px;
  transform: rotate(90deg);
}

/* Testimonials */
.stars {
  display: inline-flex;
  gap: 2px;
}
.stars__i {
  width: 16px;
  height: 16px;
  fill: var(--cta);
  stroke: var(--cta);
}
.tcard {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-1);
}
.tcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tcard__quote {
  width: 30px;
  height: 30px;
  color: var(--green-accent);
  opacity: 0.45;
}
.tcard blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}
.tcard__by {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.tcard__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--green-accent), var(--green));
  flex-shrink: 0;
}
.tcard__id {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.tcard__id b {
  font-size: 0.95rem;
  color: var(--ink);
}
.tcard__id small {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Lead magnet */
.kit {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  box-shadow: var(--sh-2);
  position: relative;
  overflow: hidden;
}
.kit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(30rem 16rem at 85% 0%, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.kit > * {
  position: relative;
}
.kit__intro .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #e7e9ff;
}
.kit__intro h2 {
  color: #fff;
}
.kit__intro > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}
.kit__points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.kit__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #fff;
  font-size: 0.95rem;
}
.kit__points .icon {
  color: var(--cta);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.kit__card {
  background: #fff;
  color: var(--ink-2);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-2);
}
.kit__card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.kit__form {
  display: grid;
  gap: 12px;
}
.kit__field input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.kit__field input::placeholder {
  color: var(--muted);
}
.kit__field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-ring);
}
.kit__privacy {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.kit__privacy .icon {
  margin-top: 2px;
}
.kit__success {
  text-align: center;
  display: grid;
  place-items: center;
  gap: 10px;
}
.kit__success[hidden] {
  display: none;
}
.kit__success .icon--lg {
  color: var(--ok);
  width: 34px;
  height: 34px;
}
.kit__success strong {
  font-size: 1.05rem;
  color: var(--ink);
}
.kit__success p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.kit__fallback {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.kit__fallback a {
  color: var(--green);
  font-weight: 600;
}
@media (max-width: 860px) {
  .kit {
    grid-template-columns: 1fr;
  }
}

/* ---------- TikTok / social embeds ---------- */
.social-videos {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin: 0 auto;
}
.social-videos--single {
  grid-template-columns: 1fr;
  max-width: 300px;
}
.social-videos__item {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.tt-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e1020;
  box-shadow: 0 24px 50px -30px rgba(23, 26, 51, 0.6);
}
.tt-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
  background: radial-gradient(120% 90% at 50% 15%, #2b2f55 0%, #14162e 55%, #0b0c18 100%);
  font: inherit;
}
.tt-card__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.tt-card__poster:hover .tt-card__play {
  transform: scale(1.08);
  background: var(--cta);
}
.tt-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.tt-card__play {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0e1020;
  transition: transform 0.2s ease, background 0.2s ease;
}
.tt-card__play .icon {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}
.tt-card__meta {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.tt-card__meta b {
  font-family: var(--font-display, inherit);
  font-size: 0.92rem;
}
.tt-card__meta span {
  font-size: 0.78rem;
  opacity: 0.75;
}
@media (max-width: 720px) {
  .social-videos {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}

/* =========================================================
   Price strip (below hero)
   ========================================================= */
.price-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.price-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.price-strip__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 210px;
  flex: 0 0 auto;
}
.price-strip__urgency {
  align-self: flex-start;
  background: var(--amber-soft);
}
.price-strip__title {
  font-size: 0.88rem;
  color: var(--muted);
}
.price-strip__title strong {
  color: var(--ink);
  font-size: 0.95rem;
}
.price-strip__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.price-strip__items li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.price-strip__items .icon {
  color: var(--green);
  background: var(--mint);
  border-radius: 8px;
  padding: 5px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  stroke-width: 2.2;
}
.price-strip__items span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.price-strip__items b {
  font-size: 0.86rem;
  color: var(--ink-2);
}
.price-strip__items small {
  font-size: 0.72rem;
  color: var(--muted);
}
.price-strip__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.price-strip__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.price-strip__price s {
  font-size: 0.72rem;
  color: var(--muted);
}
.price-strip__price b {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

/* =========================================================
   Urgency badge + value box (product section)
   ========================================================= */
.product__urgency {
  background: var(--amber-soft);
  margin-bottom: 6px;
}
.product__price-row {
  flex-wrap: wrap;
}
.value-box {
  margin-top: 26px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.value-box > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.value-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.value-box li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.value-box li b {
  color: var(--ink);
  white-space: nowrap;
}
.value-box__total {
  border-bottom: none;
  border-top: 2px solid var(--line-strong);
  padding-top: 10px;
  font-weight: 700;
}
.value-box__total b {
  color: var(--green-deep);
}
.value-box__note {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}
.value-box__then {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 600;
}
.value-box__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-deep);
}

/* =========================================================
   Floating WhatsApp button (mobile)
   ========================================================= */
.wa-float {
  display: none;
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  align-items: center;
  gap: 8px;
  background: #1faa55;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 26px -10px rgba(20, 120, 60, 0.55);
}
.wa-float .icon {
  width: 20px;
  height: 20px;
}
.wa-float:active {
  transform: scale(0.97);
}

@media (max-width: 1080px) {
  .price-strip__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .price-strip__cta {
    flex-wrap: wrap;
  }
  .price-strip__price {
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .wa-float {
    display: inline-flex;
  }
  .footer {
    padding-bottom: 78px;
  }
}

@media (max-width: 720px) {
  .price-strip__items {
    display: grid;
    grid-template-columns: 1fr;
  }
  .price-strip__cta .btn {
    flex: 1 1 auto;
  }
}

/* =========================================================
   Pricing tier cards (Lynk.id checkout)
   ========================================================= */
.pricing-block {
  margin-top: 26px;
}
.pricing-block__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-soft);
  margin-bottom: 18px;
}
.tier-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
.tier-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier-card--featured {
  border: 2px solid var(--green-accent);
  box-shadow: var(--sh-brand);
}
.tier-card__badge {
  position: absolute;
  top: -13px;
  right: 18px;
  color: var(--white);
  background: var(--green-accent);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
}
.tier-card__badge .icon {
  width: 15px;
  height: 15px;
}
.tier-card h3 {
  font-size: 1.15rem;
  margin: 0;
}
.tier-card__desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.tier-card__price b {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.tier-card__duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.tier-card__duration span {
  font-weight: 700;
  color: var(--ink-2);
}
.tier-card__note {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 2px 0 0;
  text-align: center;
}
.pricing-block__foot {
  margin-top: 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.pricing-block__foot p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* =========================================================
   Other products catalog (Lynk.id)
   ========================================================= */
.other-products {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.op-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--sh-1);
  flex-wrap: wrap;
}
.op-card__ico {
  color: var(--green);
  background: var(--mint);
  border-radius: var(--r-md);
  padding: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.op-card__body {
  flex: 1 1 220px;
}
.op-card__body h3 {
  font-size: 1rem;
  margin: 0 0 2px;
}
.op-card__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .tier-cards {
    grid-template-columns: 1fr;
  }
  .price-strip__price small {
    display: block;
  }
}
