:root {
  --bg-main: #F7F3EA;
  --bg-surface: #FFFDF8;
  --bg-soft: #EFE7D8;
  --text-main: #151313;
  --text-secondary: #645F56;
  --text-muted: #918A7D;
  --hero-bg: #111111;
  --hero-panel: #18161F;
  --accent-gold: #B89A54;
  --accent-warm: #D9C28F;
  --accent-olive: #3F4634;
  --accent-ink: #1C2430;
  --border-soft: #DDD2BD;
  --bg: var(--bg-main);
  --surface: var(--bg-surface);
  --surface-strong: var(--bg-soft);
  --ink: var(--text-main);
  --muted: var(--text-secondary);
  --line: var(--border-soft);
  --green: #21b57b;
  --shadow: 0 24px 70px rgba(35, 28, 18, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 210, 189, 0.88);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.social-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 38px;
  min-height: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.social-link:hover {
  border-color: rgba(184, 154, 84, 0.44);
  color: var(--accent-gold);
}

.section,
.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero > * {
  min-width: 0;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 48px;
  padding: 38px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  line-height: 1.15;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.13rem;
}

.lead-secondary {
  margin-top: 10px;
  color: var(--text-secondary);
}

.gradient-text {
  color: var(--accent-ink);
  background: none;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--accent-ink);
  box-shadow: 0 18px 36px rgba(28, 36, 48, 0.18);
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
}

.profile-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(184, 154, 84, 0.24);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(217, 194, 143, 0.24), rgba(255, 253, 248, 0.18));
  box-shadow: var(--shadow);
}

.profile-frame img {
  width: 100%;
  height: auto;
  max-height: 336px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: contain;
  background: #fff;
}

.profile-badge {
  position: static;
  max-width: none;
  margin-top: 12px;
  padding: 12px 4px 2px;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  font-weight: 760;
  text-align: center;
}

.profile-badge span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.section {
  padding: 44px 0;
}

.section + .section {
  padding-top: 14px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}

.section-header p {
  max-width: 640px;
  color: var(--muted);
}

.band {
  width: 100%;
  background: linear-gradient(180deg, rgba(241, 244, 255, 0.75), rgba(251, 251, 255, 0));
}

.newsletter-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.newsletter-card p {
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.field input:focus {
  outline: 3px solid rgba(184, 154, 84, 0.18);
  border-color: rgba(184, 154, 84, 0.62);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.88rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--accent-gold);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 760;
}

.form-status.is-error {
  color: #c03434;
}

.form-status.is-success {
  color: var(--green);
}

.tabs,
.filter-row {
  max-width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 10px;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar,
.filter-row::-webkit-scrollbar,
.horizontal-rail::-webkit-scrollbar {
  display: none;
}

.tab-button,
.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 780;
}

.tab-button.is-active,
.filter-chip.is-active {
  border-color: transparent;
  color: var(--bg-surface);
  background: var(--accent-ink);
}

.horizontal-rail {
  max-width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tool-card,
.ebook-card,
.video-card,
.faq-card,
.plain-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(27, 24, 58, 0.07);
}

.tool-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.tool-card p {
  color: var(--muted);
}

.tool-card .btn {
  margin-top: auto;
}

.tool-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.tool-meta span,
.tag-row span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--accent-olive);
  font-size: 0.76rem;
  font-weight: 820;
}

.tag-row {
  margin: 0 0 16px;
}

.tag-row span {
  color: var(--muted);
  background: #f6f6fb;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(28, 36, 48, 0.98), rgba(17, 17, 17, 0.96)),
    var(--hero-bg);
  box-shadow: var(--shadow);
}

.cta-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-panel .btn {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.ebook-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 0;
  overflow: hidden;
  min-height: 100%;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 243, 234, 0.92));
}

.ebook-cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(78%, 210px);
  margin: 0 auto 16px;
  padding: 8px 8px 28px;
  border: 1px solid rgba(221, 210, 189, 0.9);
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 16px 34px rgba(35, 28, 18, 0.11);
  transform: rotate(-1.3deg);
}

.ebook-cover-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  background: var(--surface-strong);
  filter: saturate(0.75) contrast(0.95);
  transition: transform 180ms ease, filter 180ms ease;
}

.ebook-cover-link::after {
  content: "";
  position: absolute;
  inset: 8px 8px 28px;
  pointer-events: none;
  border-radius: 3px;
  background: rgba(217, 194, 143, 0.16);
  mix-blend-mode: multiply;
  transition: opacity 180ms ease;
}

.ebook-cover-link:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.02);
}

.ebook-cover-link:hover::after {
  opacity: 0.35;
}

.ebook-card div {
  padding: 0 2px;
}

.ebook-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.ebook-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.ebook-card .btn {
  width: 100%;
  margin: 14px 0 0;
  color: var(--text-main);
  background: var(--accent-warm);
  box-shadow: none;
}

.rail-shell {
  position: relative;
}

.rail-arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(27, 24, 58, 0.12);
  cursor: pointer;
}

.rail-arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.rail-arrow-left {
  left: -18px;
}

.rail-arrow-right {
  right: -18px;
}

.video-grid,
.faq-grid,
.tools-grid {
  display: grid;
  gap: 16px;
}

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

.video-card,
.faq-card,
.plain-card {
  padding: 22px;
}

.video-card span {
  color: var(--accent-gold);
  font-weight: 860;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.video-card p,
.faq-card p,
.plain-card p {
  color: var(--muted);
}

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

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-email {
  color: var(--text-secondary);
  font-size: 0.94rem;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(420px, calc(100% - 28px));
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 22px 54px rgba(28, 24, 18, 0.16);
}

.cookie-consent p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn-primary {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: var(--bg-surface);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-main);
}

.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 26px;
  text-align: center;
}

.page-hero .lead {
  margin-inline: auto;
}

.tools-page-hero {
  display: grid;
  justify-items: center;
  padding-bottom: 12px;
}

.tools-page-hero h1 {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.tools-page-hero .lead {
  text-align: center;
}

.tools-list-section {
  padding-top: 10px;
}

.premium-hero h1 {
  max-width: 820px;
  font-size: clamp(2.05rem, 3.55vw, 3.25rem);
  line-height: 1.08;
}

.underline-word {
  text-decoration-line: underline;
  text-decoration-color: var(--accent-gold);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.premium-hero .hero-actions {
  gap: 10px;
}

.premium-hero .hero-actions .btn {
  min-height: 52px;
  padding: 12px 18px;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
}

.signature-photo {
  padding: 16px 16px 34px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.signature-photo img {
  display: block;
  border-radius: 14px;
}

.signature-note,
.note-brand {
  border-color: rgba(217, 194, 143, 0.44);
  color: var(--accent-warm);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.note-seo {
  left: 16px;
  top: 28px;
  transform: rotate(-1.8deg);
}

.note-ai {
  top: 58px;
  right: 12px;
  width: min(292px, 48%);
  transform: rotate(1.6deg);
}

.note-youtube {
  left: 18px;
  bottom: 80px;
  transform: rotate(1.4deg);
}

.note-brand {
  right: 14px;
  bottom: 30px;
  transform: rotate(-1.2deg);
}

.signature-note:hover,
.note-brand:hover {
  color: #f1ddb0;
  background: rgba(255, 255, 255, 0.11);
}

@media (min-width: 981px) {
  .premium-hero {
    grid-template-columns: minmax(440px, 0.95fr) minmax(560px, 1.05fr);
    gap: 34px;
  }

  .premium-hero .hero-intro {
    max-width: 760px;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .premium-hero .hero-actions .btn {
    padding-inline: 13px;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions .btn {
    white-space: normal;
  }

  .premium-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .premium-hero .hero-actions .btn,
  .premium-hero .hero-actions .btn:first-child {
    grid-column: auto;
    width: 100%;
  }

  .signature-note.note-ai {
    white-space: nowrap;
    font-size: clamp(0.82rem, 4.8vw, 1rem);
  }

  .signature-photo {
    padding: 12px 12px 26px;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .premium-hero .hero-actions .btn,
  .premium-hero .hero-actions .btn:first-child {
    width: 100%;
    grid-column: auto;
  }
}

@media (min-width: 981px) {
  .note-ai {
    top: 73px;
    right: 12px;
  }
}

@media (max-width: 640px) {
  .signature-note.note-ai {
    width: 100%;
    max-width: none;
    white-space: nowrap;
  }
}

/* Hero final correction: keep glass cards, improve text contrast */
.premium-hero h1 {
  max-width: 820px;
  font-size: clamp(2.05rem, 3.55vw, 3.25rem);
  line-height: 1.08;
}

.underline-word {
  text-decoration-line: underline;
  text-decoration-color: var(--accent-gold);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.premium-hero .hero-actions {
  gap: 10px;
}

.premium-hero .hero-actions .btn {
  min-height: 52px;
  padding: 12px 18px;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
}

.signature-photo {
  padding: 16px 16px 34px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.signature-photo img {
  display: block;
  border-radius: 14px;
}

.signature-note,
.note-brand {
  border-color: rgba(217, 194, 143, 0.44);
  color: var(--accent-warm);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.note-seo {
  left: 16px;
  top: 28px;
  transform: rotate(-1.8deg);
}

.note-ai {
  top: 58px;
  right: 12px;
  width: min(292px, 48%);
  transform: rotate(1.6deg);
}

.note-youtube {
  left: 18px;
  bottom: 80px;
  transform: rotate(1.4deg);
}

.note-brand {
  right: 14px;
  bottom: 30px;
  transform: rotate(-1.2deg);
}

.signature-note:hover,
.note-brand:hover {
  color: #f1ddb0;
  background: rgba(255, 255, 255, 0.11);
}

@media (min-width: 981px) {
  .premium-hero {
    grid-template-columns: minmax(440px, 0.95fr) minmax(560px, 1.05fr);
    gap: 34px;
  }

  .premium-hero .hero-intro {
    max-width: 760px;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .premium-hero .hero-actions .btn {
    padding-inline: 13px;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions .btn {
    white-space: normal;
  }

  .signature-photo {
    padding: 12px 12px 26px;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .premium-hero .hero-actions .btn,
  .premium-hero .hero-actions .btn:first-child {
    width: 100%;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .premium-hero .hero-actions .btn,
  .premium-hero .hero-actions .btn:first-child {
    width: 100%;
    grid-column: auto;
  }
}

/* Final hero polish */
.premium-hero h1 {
  max-width: 820px;
  font-size: clamp(2.05rem, 3.55vw, 3.25rem);
  line-height: 1.08;
}

.underline-word {
  text-decoration-line: underline;
  text-decoration-color: var(--accent-gold);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.premium-hero .hero-actions {
  gap: 10px;
}

.premium-hero .hero-actions .btn {
  min-height: 52px;
  padding: 12px 18px;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
}

.signature-photo {
  padding: 16px 16px 34px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.signature-photo img {
  display: block;
  border-radius: 14px;
}

.signature-note {
  border-color: rgba(217, 194, 143, 0.42);
  color: var(--accent-warm);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.note-seo {
  transform: rotate(-1.8deg);
}

.note-ai {
  top: 78px;
  right: 2px;
  width: min(292px, 48%);
  transform: rotate(1.6deg);
}

.note-youtube {
  transform: rotate(1.4deg);
}

.note-brand {
  transform: rotate(-1.2deg);
}

.signature-note:hover {
  color: #f1ddb0;
  background: rgba(255, 255, 255, 0.11);
}

@media (min-width: 981px) {
  .premium-hero {
    grid-template-columns: minmax(440px, 0.95fr) minmax(560px, 1.05fr);
    gap: 34px;
  }

  .premium-hero .hero-intro {
    max-width: 760px;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .premium-hero .hero-actions .btn {
    padding-inline: 13px;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions .btn {
    white-space: normal;
  }

  .signature-photo {
    padding: 12px 12px 26px;
  }
}

.tools-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tools-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 760;
}

.category-select {
  width: 100%;
  min-height: 52px;
  padding: 0 42px 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--accent-gold) 50%) calc(100% - 22px) 22px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent-gold) 50%, transparent 50%) calc(100% - 17px) 22px / 7px 7px no-repeat,
    var(--surface);
  font: inherit;
  font-weight: 760;
  appearance: none;
}

.category-select:focus {
  outline: 2px solid rgba(184, 154, 84, 0.36);
  outline-offset: 2px;
}

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

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}

.legal-content {
  max-width: 880px;
}

.legal-date {
  display: inline-flex;
  margin: 6px 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  font-size: 0.92rem;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 1.6rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--accent-gold);
  text-underline-offset: 3px;
}

.test-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-ink);
  font-weight: 900;
}

.ai-test-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 68px;
}

.ai-test-progress {
  position: sticky;
  top: 78px;
  z-index: 8;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 154, 84, 0.28);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
}

.ai-test-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ai-test-progress-meta span:last-child {
  color: var(--text-muted);
  font-style: italic;
}

.ai-test-progress-bar {
  height: 9px;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.14);
  border-radius: 99px;
  background: rgba(28, 36, 48, 0.08);
}

.ai-test-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-ink);
  transition: width 240ms ease;
}

.ai-test-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(184, 154, 84, 0.12), transparent 32%),
    var(--surface);
  box-shadow: 0 26px 80px rgba(28, 36, 48, 0.1);
}

.ai-test-card[hidden] {
  display: none;
}

.ai-test-intro,
.ai-test-question-card,
.ai-test-form-card,
.ai-test-success {
  color: var(--text-main);
}

.ai-test-card h1 {
  margin: 8px 0 18px;
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.ai-test-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.ai-test-card .lead {
  max-width: 700px;
  color: var(--text-secondary);
  font-weight: 800;
}

.ai-test-intro .btn,
.ai-test-form .btn,
.ai-test-success .btn {
  margin-top: 24px;
}

.ai-test-visual {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  transform: rotate(1.4deg);
  box-shadow: 0 24px 60px rgba(28, 36, 48, 0.16);
}

.ai-test-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 18px;
  background: var(--bg-soft);
}

.ai-test-question-card,
.ai-test-form-card,
.ai-test-success {
  grid-template-columns: 1fr;
  align-items: start;
}

.ai-test-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ai-test-option {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(184, 154, 84, 0.28);
  border-radius: 18px;
  color: var(--text-secondary);
  background: rgba(255, 253, 248, 0.82);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.ai-test-option:hover,
.ai-test-option:focus-visible {
  border-color: rgba(28, 36, 48, 0.55);
  background: #fff;
  transform: translateY(-1px);
}

.ai-test-option strong {
  color: var(--text-main);
}

.ai-test-option-index {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-ink);
  font-weight: 900;
}

.ai-test-back {
  justify-self: start;
  margin-bottom: 18px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-main);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.ai-test-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-top: 26px;
}

.ai-test-form label {
  display: grid;
  gap: 8px;
  color: var(--text-main);
  font-weight: 900;
}

.ai-test-form input[type="text"],
.ai-test-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--text-main);
  background: #fff;
  font: inherit;
}

.ai-test-consent {
  grid-template-columns: 24px 1fr;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(184, 154, 84, 0.24);
  border-radius: 16px;
  background: rgba(239, 231, 216, 0.34);
}

.ai-test-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.ai-test-errors {
  padding: 14px 16px;
  border: 1px solid rgba(160, 40, 40, 0.18);
  border-radius: 14px;
  color: #8f2727;
  background: rgba(160, 40, 40, 0.06);
  font-weight: 800;
}

@media (max-width: 760px) {
  .ai-test-shell {
    width: min(100% - 24px, 560px);
    margin: 24px auto 46px;
  }

  .ai-test-progress {
    top: 68px;
  }

  .ai-test-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }

  .ai-test-card h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.02;
  }

  .ai-test-card p {
    font-size: 0.98rem;
  }

  .ai-test-visual {
    order: -1;
    transform: none;
  }

  .ai-test-option {
    grid-template-columns: 38px 1fr;
    padding: 14px;
  }

  .ai-test-option-index {
    width: 38px;
    height: 38px;
  }
}

/* AI test page: closer to the original app flow while keeping site header/footer. */
.ai-test-shell {
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 67px);
  margin: 0 auto;
  padding: 18px 0 42px;
}

.ai-test-progress {
  position: static;
  top: auto;
  z-index: auto;
  width: min(820px, 100%);
  margin: 0 auto 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.ai-test-progress-meta {
  margin-bottom: 8px;
  color: var(--accent-ink);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.ai-test-progress-percent {
  color: var(--text-muted);
  font-style: italic;
}

.ai-test-progress-bar {
  height: 8px;
  border-color: rgba(28, 36, 48, 0.22);
  background: rgba(28, 36, 48, 0.1);
}

.ai-test-card {
  min-height: auto;
  padding: 0 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ai-test-card h1 {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--text-main);
  font-size: clamp(2rem, 3.15vw, 3.2rem);
  line-height: 1.12;
  font-weight: 430;
}

.ai-test-card h1 span,
.ai-test-intro h1 span,
.ai-test-form-card h1 span {
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 780;
}

.ai-test-card p {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.58;
}

.ai-test-card mark {
  color: var(--text-main);
  background: linear-gradient(transparent 66%, rgba(184, 154, 84, 0.42) 0);
}

.ai-test-intro {
  align-self: center;
}

.ai-test-intro .btn {
  width: min(520px, 100%);
  justify-content: center;
  margin-top: 22px;
  padding: 16px 26px;
  border: 1px solid rgba(184, 154, 84, 0.48);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.ai-test-note {
  margin-top: 24px;
  color: var(--text-muted) !important;
  font-size: 0.95rem !important;
  font-style: italic;
  font-weight: 760;
}

.ai-test-visual {
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.ai-test-visual-mobile {
  display: none;
}

.ai-test-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(184, 154, 84, 0.26);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(28, 36, 48, 0.12);
}

.ai-test-question-card {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.ai-test-question-card h1 {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.16;
}

.ai-test-question-card .eyebrow,
.ai-test-form-card .eyebrow {
  display: none;
}

.ai-test-options {
  gap: 14px;
  margin-top: 0;
}

.ai-test-option {
  grid-template-columns: 44px 1fr;
  gap: 18px;
  min-height: 70px;
  padding: 14px 18px;
  border-color: rgba(221, 210, 189, 0.96);
  border-radius: 15px;
  background: var(--bg-surface);
  box-shadow: 0 10px 24px rgba(28, 36, 48, 0.045);
  font-size: clamp(0.98rem, 1.4vw, 1.2rem);
  line-height: 1.45;
}

.ai-test-option-index {
  width: 38px;
  height: 38px;
  color: var(--text-secondary);
  border: 1px solid rgba(221, 210, 189, 1);
  background: var(--bg-soft);
}

.ai-test-option.is-selected,
.ai-test-option:focus-visible {
  border-color: var(--accent-ink);
  background: var(--bg-soft);
  box-shadow: 0 14px 34px rgba(28, 36, 48, 0.1);
}

.ai-test-option.is-selected .ai-test-option-index {
  color: #fff;
  border-color: var(--accent-ink);
  background: var(--accent-ink);
}

.ai-test-form-card {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.ai-test-form-card h1 {
  max-width: none;
  font-size: clamp(1.65rem, 2.08vw, 2rem);
  line-height: 1.22;
  margin-bottom: 8px;
}

.ai-test-form-card .lead {
  max-width: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 600;
}

.ai-test-form {
  max-width: none;
  margin-top: 14px;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.ai-test-form label {
  gap: 5px;
}

.ai-test-form-note,
.ai-test-consent,
.ai-test-errors,
.ai-test-form .btn {
  grid-column: 1 / -1;
}

.ai-test-form input[type="text"],
.ai-test-form input[type="email"] {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
}

.ai-test-form-note {
  margin: 4px 0 0;
  max-width: none !important;
  padding: 10px 16px;
  border: 1px solid rgba(221, 210, 189, 0.84);
  border-radius: 15px;
  background: rgba(239, 231, 216, 0.55);
  color: var(--text-secondary) !important;
  font-size: 0.98rem !important;
  font-style: italic;
  font-weight: 850;
}

.ai-test-consent {
  background: var(--bg-surface);
  padding: 12px 16px;
}

.ai-test-form .btn {
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(184, 154, 84, 0.56);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ai-test-nav {
  position: sticky;
  bottom: 0;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  width: min(780px, 100%);
  margin: 22px auto 0;
  padding: 0;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.ai-test-nav[hidden] {
  display: none;
}

.ai-test-nav-btn {
  min-width: 104px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(28, 36, 48, 0.2);
}

.ai-test-nav-btn[disabled] {
  color: rgba(28, 36, 48, 0.28);
  background: rgba(28, 36, 48, 0.08);
  box-shadow: none;
  cursor: default;
}

.ai-test-success {
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.ai-test-success h1 {
  max-width: none;
  margin: 26px auto 16px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.ai-test-success .lead {
  max-width: none;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 600;
}

.ai-test-success .lead strong {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: rgba(184, 154, 84, 0.45);
  text-underline-offset: 6px;
}

.ai-test-check {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 32px auto 0;
  place-items: center;
  border: 1px solid rgba(184, 154, 84, 0.32);
  border-radius: 50%;
  color: var(--accent-ink);
  background: var(--bg-soft);
  font-size: 3rem;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(28, 36, 48, 0.08);
}

.ai-test-next-steps {
  display: grid;
  gap: 22px;
  margin: 0 auto 46px;
  padding: 36px;
  border: 1px solid rgba(221, 210, 189, 0.88);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 24px 70px rgba(28, 36, 48, 0.1);
  text-align: left;
}

.ai-test-next-steps span {
  justify-self: start;
  padding: 10px 20px;
  border: 1px solid rgba(28, 36, 48, 0.14);
  border-radius: 999px;
  color: var(--accent-ink);
  background: rgba(28, 36, 48, 0.06);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ai-test-next-steps p {
  max-width: none;
  margin: 0;
  font-size: 1.08rem;
}

.ai-test-success small {
  color: var(--text-muted);
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .ai-test-shell {
    width: min(100% - 24px, 620px);
    padding: 0 0 44px;
  }

  .ai-test-progress {
    width: 100%;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid rgba(221, 210, 189, 0.88);
    border-radius: 18px;
    background: var(--bg-surface);
  }

  .ai-test-card {
    padding-bottom: 22px;
  }

  .ai-test-card h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.35rem);
    margin-bottom: 14px;
  }

  .ai-test-card p {
    font-size: 0.93rem;
    line-height: 1.48;
  }

  .ai-test-question-card h1,
  .ai-test-form-card h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  }

  .ai-test-form-card .lead {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .ai-test-card > .ai-test-visual {
    display: none;
  }

  .ai-test-visual-mobile {
    display: block;
    margin: 0 0 16px;
  }

  .ai-test-visual-mobile img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
  }

  .ai-test-option {
    grid-template-columns: 44px 1fr;
    min-height: 0;
    padding: 16px;
    font-size: 1rem;
  }

  .ai-test-form {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .ai-test-nav {
    width: 100%;
    margin-top: 24px;
  }

  .ai-test-next-steps {
    padding: 24px;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0 4px;
    overflow: visible;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header .social-inline {
    grid-column: 1 / -1;
    display: none;
  }

  .hero,
  .newsletter-card,
  .test-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .profile-frame {
    max-width: 520px;
  }

  .section-header,
  .cta-panel,
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel {
    display: flex;
  }

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

@media (max-width: 640px) {
  .section,
  .page-hero {
    padding: 42px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  .field-grid,
  .video-grid,
  .faq-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tools-toolbar {
    grid-template-columns: 1fr;
  }

  .tools-meta {
    grid-column: auto;
  }

  .newsletter-card,
  .cta-panel {
    padding: 20px;
  }

  .profile-badge {
    max-width: none;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(248px, 86vw);
  }

  .ebook-cover-link {
    width: min(70%, 190px);
  }

  .rail-arrow {
    display: none;
  }
}

/* Personal collage board direction */
.collage-hero {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(320px, 0.88fr) minmax(560px, 1.12fr);
  gap: 34px;
  padding: 34px max(18px, calc((100vw - var(--max)) / 2)) 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 154, 84, 0.20), transparent 26%),
    radial-gradient(circle at 84% 20%, rgba(63, 70, 52, 0.20), transparent 24%),
    linear-gradient(135deg, #16131e, #050505 72%);
  color: #fff;
}

.collage-hero .eyebrow {
  color: var(--accent-warm);
}

.collage-hero h1 {
  max-width: 660px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.6vw, 5.45rem);
  line-height: 0.98;
}

.collage-hero .lead {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
}

.collage-hero .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.collage-board {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.05);
  background-size: 34px 34px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 26px 80px rgba(0, 0, 0, 0.26);
}

.collage-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(42vw, 330px);
  transform: translate(-50%, -50%) rotate(-2deg);
  background: #fff;
}

.collage-photo img {
  max-height: 310px;
}

.sticky-note {
  position: absolute;
  z-index: 3;
  max-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 6px;
  color: #1c1824;
  background: var(--accent-warm);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  font-weight: 850;
  line-height: 1.22;
  transform: rotate(var(--tilt, -2deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sticky-note:hover,
.about-note:hover,
.tool-card:hover,
.ebook-card:hover {
  transform: translateY(-3px) rotate(var(--tilt, 0deg));
}

.note-a {
  --tilt: -5deg;
  left: 5%;
  top: 8%;
  background: var(--accent-warm);
}

.note-b {
  --tilt: 4deg;
  right: 9%;
  top: 9%;
  background: var(--bg-surface);
}

.note-c {
  --tilt: -2deg;
  right: 4%;
  top: 43%;
  background: var(--bg-soft);
}

.note-d {
  --tilt: 3deg;
  left: 4%;
  top: 48%;
  background: #E7E0D0;
}

.note-e {
  --tilt: -3deg;
  left: 24%;
  bottom: 7%;
  background: #F4EEE3;
}

.note-f {
  --tilt: 5deg;
  right: 19%;
  bottom: 9%;
  background: #fff;
}

.doodle-arrow {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
}

.doodle-arrow-one {
  left: 24%;
  top: 26%;
  transform: rotate(-16deg);
}

.doodle-arrow-two {
  right: 28%;
  top: 30%;
  transform: rotate(18deg);
}

.about-board {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: #f7f3ff;
}

.about-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-note {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(23, 20, 33, 0.1);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 34px rgba(27, 24, 58, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.about-note:nth-child(2n) {
  background: var(--bg-soft);
}

.about-note:nth-child(3n) {
  background: var(--bg-surface);
}

.about-note:nth-child(5n) {
  background: #F2EADB;
}

.about-note span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-gold);
  font-weight: 900;
}

.about-note strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.about-note em {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(23, 20, 33, 0.72);
  font-style: normal;
  transition: max-height 180ms ease, margin-top 180ms ease;
}

.about-note:hover em,
.about-note:focus-visible em,
.about-note.is-open em {
  max-height: 220px;
  margin-top: 12px;
}

.about-note:focus-visible,
.menu-toggle:focus-visible,
.rail-arrow:focus-visible {
  outline: 3px solid rgba(184, 154, 84, 0.32);
  outline-offset: 3px;
}

.board-card {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 243, 165, 0.92), rgba(255, 255, 255, 0.96));
}

.board-card::before {
  content: "not defteri";
  position: absolute;
  right: 22px;
  top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-olive);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.sticker-cta {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.sticker-cta::after {
  content: "test et, kaybolma";
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #171421;
  background: var(--accent-warm);
  font-weight: 900;
  transform: rotate(-4deg);
}

.alt-sticker::after {
  content: "15 fikir";
  background: var(--bg-soft);
}

.tools-section .tool-card,
.ebooks-section .ebook-card {
  border-style: dashed;
}

.tool-card,
.ebook-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .collage-hero {
    grid-template-columns: 1fr;
  }

  .collage-board {
    min-height: 520px;
  }

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

@media (max-width: 640px) {
  .collage-hero {
    display: flex;
    flex-direction: column;
    padding: 28px 16px 30px;
  }

  .collage-hero h1 {
    font-size: 2.65rem;
  }

  .collage-board {
    display: grid;
    min-height: 0;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .collage-photo,
  .sticky-note {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .collage-photo {
    justify-self: center;
    width: min(100%, 330px);
  }

  .sticky-note {
    min-height: 0;
    padding: 11px 12px;
    font-size: 0.95rem;
  }

  .doodle-arrow {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .about-board {
    padding-inline: 16px;
  }

  .about-notes {
    grid-template-columns: 1fr;
  }

  .about-note {
    min-height: 0;
  }

  .about-note em {
    max-height: 0;
  }

  .about-note.is-open em {
    max-height: 260px;
  }

  .board-card::before,
  .sticker-cta::after {
    display: none;
  }
}

/* Refined premium creator direction */
:root {
  --premium-ink: #17141f;
  --premium-soft: #f7f5f0;
  --premium-line: #ddd8cf;
  --premium-gold: #c7a15a;
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.1;
}

.section {
  padding: 42px 0;
}

.section + .section {
  padding-top: 18px;
}

.premium-hero {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 44px max(18px, calc((100vw - var(--max)) / 2)) 46px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(199, 161, 90, 0.22), transparent 25%),
    radial-gradient(circle at 86% 18%, rgba(63, 70, 52, 0.24), transparent 28%),
    linear-gradient(135deg, #24202c 0%, #121018 58%, #08070b 100%);
  overflow: hidden;
}

.hero-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.premium-hero .eyebrow {
  color: #d7c39a;
}

.premium-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 4.1vw, 3.65rem);
  font-weight: 850;
}

.premium-hero .lead {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.premium-hero .hero-actions {
  justify-content: center;
}

.premium-hero .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.signature-board {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.055);
  background-size: 32px 32px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.signature-grid {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 310px) 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
  align-items: center;
}

.signature-photo {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 100%;
  margin: 0;
  transform: none;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.signature-photo img {
  max-height: 292px;
}

.signature-note {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-weight: 780;
  line-height: 1.25;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.signature-note:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 195, 154, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.note-seo,
.note-youtube {
  grid-column: 1;
}

.note-ai,
.note-mentor {
  grid-column: 3;
}

.note-brand {
  grid-column: 1 / span 3;
  justify-self: center;
  min-height: 56px;
  padding-inline: 22px;
  color: #221b13;
  background: #d7c39a;
}

.collage-hero,
.collage-board,
.collage-photo,
.sticky-note {
  position: initial;
}

.about-board {
  background: var(--premium-soft);
}

.about-notes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-note {
  position: relative;
  min-height: 136px;
  padding: 17px;
  border-color: var(--premium-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(43, 36, 26, 0.07);
}

.about-note:nth-child(2n),
.about-note:nth-child(3n),
.about-note:nth-child(5n) {
  background: #fff;
}

.about-note::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 13px;
  color: var(--premium-gold);
  font-size: 1.25rem;
  font-weight: 800;
}

.about-note.is-open::after,
.about-note:hover::after,
.about-note:focus-visible::after {
  content: "–";
}

.about-note span {
  color: var(--premium-gold);
}

.about-note:hover,
.about-note:focus-visible,
.about-note.is-open {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(43, 36, 26, 0.1);
}

.board-card {
  border: 1px solid var(--premium-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 240, 0.96));
}

.board-card::before {
  content: "güvenli kayıt";
  color: #5d4b29;
  background: #ead9b5;
}

.sticker-cta {
  background:
    linear-gradient(135deg, rgba(36, 32, 44, 0.96), rgba(18, 16, 24, 0.95)),
    #17141f;
}

.sticker-cta::after {
  content: "kısa yol";
  color: #211b12;
  background: #d7c39a;
}

.alt-sticker::after {
  content: "15 fikir";
  background: #e5dcc9;
}

.tools-section .tool-card,
.ebooks-section .ebook-card {
  border-style: solid;
  border-color: var(--premium-line);
}

@media (max-width: 1040px) {
  .signature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signature-photo {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: center;
    max-width: 320px;
  }

  .note-seo,
  .note-ai,
  .note-youtube,
  .note-mentor,
  .note-brand {
    grid-column: auto;
  }

  .note-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .premium-hero {
    padding: 22px 16px 28px;
    gap: 18px;
  }

  .hero-intro {
    text-align: left;
  }

  .premium-hero h1 {
    font-size: clamp(1.95rem, 9.5vw, 2.3rem);
  }

  .premium-hero .lead {
    font-size: 0.98rem;
  }

  .premium-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-content: stretch;
    margin-top: 18px;
  }

  .premium-hero .hero-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 11px;
    font-size: 0.9rem;
  }

  .premium-hero .hero-actions .btn:first-child {
    grid-column: 1 / -1;
  }

  .signature-board {
    padding: 14px;
    border-radius: 18px;
  }

  .signature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .signature-photo {
    grid-column: auto;
    max-width: 295px;
    order: -1;
  }

  .signature-note,
  .note-brand {
    grid-column: auto;
    justify-self: stretch;
    min-height: 0;
    padding: 13px 14px;
    font-size: 0.94rem;
  }

  .about-notes {
    grid-template-columns: 1fr;
  }
}

/* About section image cards */
.about-board .section-header,
.about-board .about-notes {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.about-board {
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
}

.about-note .note-index {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-gold);
  font-weight: 900;
}

.about-note > span:not(.note-index):not(.about-note-media) {
  margin: 0;
}

.about-note-media {
  position: relative;
  display: block;
  max-height: 0;
  width: min(78%, 180px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: var(--bg-surface);
  box-shadow: 0 14px 30px rgba(35, 28, 18, 0.12);
  transform: rotate(-1deg);
  opacity: 0;
  line-height: 0;
  visibility: hidden;
  transition: max-height 220ms ease, margin 220ms ease, padding 220ms ease, opacity 180ms ease;
}

.about-note-media::after {
  content: "";
  position: absolute;
  inset: 8px 8px 24px;
  pointer-events: none;
  border-radius: 4px;
  background: rgba(217, 194, 143, 0.12);
  mix-blend-mode: multiply;
}

.about-note-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.82) contrast(0.96);
  transition: filter 180ms ease, transform 180ms ease;
}

.about-note:hover .about-note-media,
.about-note:focus-visible .about-note-media,
.about-note.is-open .about-note-media {
  max-height: 280px;
  margin-top: 14px;
  margin-bottom: 2px;
  padding: 8px 8px 24px;
  border: 1px solid var(--border-soft);
  opacity: 1;
  visibility: visible;
}

.about-note:hover .about-note-media img,
.about-note:focus-visible .about-note-media img,
.about-note.is-open .about-note-media img {
  filter: saturate(1) contrast(1);
}

@media (max-width: 640px) {
  .about-board {
    padding-inline: 16px;
  }

  .about-note-media {
    width: min(72%, 190px);
  }
}

/* Requested hero and contact layout refinements */
.premium-hero {
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 42px;
}

.premium-hero .hero-intro {
  max-width: 680px;
  margin: 0;
  text-align: left;
}

.premium-hero .hero-actions {
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.signature-board {
  width: min(640px, 100%);
  margin: 0;
  justify-self: start;
}

.signature-grid {
  position: relative;
  display: block;
  min-height: 510px;
}

.signature-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(56%, 260px);
  transform: translate(-50%, -50%);
}

.signature-note {
  position: absolute;
  z-index: 3;
  min-height: 0;
  width: min(230px, 46%);
  padding: 13px 15px;
  border-color: rgba(217, 194, 143, 0.7);
  color: #211b12;
  background: rgba(217, 194, 143, 0.94);
  text-shadow: none;
}

.note-seo {
  left: 0;
  top: 18px;
}

.note-ai {
  right: 0;
  top: 110px;
  width: min(285px, 46%);
  white-space: nowrap;
}

.note-youtube {
  left: 0;
  bottom: 78px;
}

.note-brand {
  right: 0;
  bottom: 18px;
  justify-self: auto;
  color: #211b12;
  background: rgba(217, 194, 143, 0.94);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(239, 231, 216, 0.92));
  box-shadow: 0 18px 48px rgba(35, 28, 18, 0.08);
}

.contact-panel p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.contact-panel .btn {
  color: var(--text-main);
  background: var(--accent-warm);
  box-shadow: none;
}

@media (max-width: 980px) {
  .premium-hero {
    grid-template-columns: 1fr;
  }

  .premium-hero .hero-intro {
    order: 2;
  }

  .signature-board {
    order: 1;
    justify-self: center;
    width: min(620px, 100%);
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .signature-grid {
    display: grid;
    min-height: 0;
  }

  .signature-photo,
  .signature-note,
  .note-brand {
    position: static;
    width: auto;
    transform: none;
    white-space: normal;
  }

  .signature-photo {
    width: min(100%, 295px);
    justify-self: center;
  }
}

.tools-list-section {
  padding-top: 10px;
}

/* Final override after all hero rules */
.premium-hero h1 {
  max-width: 820px;
  font-size: clamp(2.05rem, 3.55vw, 3.25rem);
  line-height: 1.08;
}

.underline-word {
  text-decoration-line: underline;
  text-decoration-color: var(--accent-gold);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.premium-hero .hero-actions {
  gap: 10px;
}

.premium-hero .hero-actions .btn {
  min-height: 52px;
  padding: 12px 18px;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
}

.signature-photo {
  padding: 16px 16px 34px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.signature-photo img {
  display: block;
  border-radius: 14px;
}

.signature-note,
.note-brand {
  border-color: rgba(217, 194, 143, 0.44);
  color: var(--accent-warm);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.note-seo {
  left: 16px;
  top: 28px;
  transform: rotate(-1.8deg);
}

.note-ai {
  top: 58px;
  right: 12px;
  width: min(292px, 48%);
  transform: rotate(1.6deg);
}

.note-youtube {
  left: 18px;
  bottom: 80px;
  transform: rotate(1.4deg);
}

.note-brand {
  right: 14px;
  bottom: 30px;
  transform: rotate(-1.2deg);
}

.signature-note:hover,
.note-brand:hover {
  color: #f1ddb0;
  background: rgba(255, 255, 255, 0.11);
}

@media (min-width: 981px) {
  .premium-hero {
    grid-template-columns: minmax(440px, 0.95fr) minmax(560px, 1.05fr);
    gap: 34px;
  }

  .premium-hero .hero-intro {
    max-width: 760px;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .premium-hero .hero-actions .btn {
    padding-inline: 13px;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions .btn {
    white-space: normal;
  }

  .signature-photo {
    padding: 12px 12px 26px;
  }
}

@media (max-width: 640px) {
  .premium-hero .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .premium-hero .hero-actions .btn,
  .premium-hero .hero-actions .btn:first-child {
    width: 100%;
    grid-column: auto;
  }
}

@media (min-width: 981px) {
  .signature-grid .note-ai {
    top: 73px;
    right: 12px;
  }
}

/* About showcase: list + pinned preview */
.about-board {
  background: var(--bg-main);
}

.about-board .section-header {
  width: min(var(--max), 100%);
  margin-inline: auto;
  justify-content: center;
  text-align: center;
}

.about-board .section-header > div {
  max-width: 780px;
  margin-inline: auto;
}

.about-showcase {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  margin: 34px auto 0;
}

.about-showcase .about-notes {
  width: 100%;
  display: block;
  margin: 0;
  border-top: 1px solid var(--border-soft);
}

.about-showcase .about-note {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 25px 18px;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  color: var(--text-main);
  background: transparent;
  box-shadow: none;
  text-align: left;
  transform: none;
}

.about-showcase .about-note::after {
  display: none;
}

.about-showcase .about-note:hover,
.about-showcase .about-note:focus-visible,
.about-showcase .about-note.is-open {
  color: var(--accent-gold);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.about-showcase .about-note .note-index {
  margin: 0;
  color: var(--accent-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 800;
}

.about-showcase .about-note strong {
  display: block;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.25vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-showcase .about-note em,
.about-showcase .about-note-media {
  display: none;
}

.about-preview {
  position: sticky;
  top: 104px;
}

.about-preview-card {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 14px 14px 30px;
  border: 1px solid rgba(221, 210, 189, 0.72);
  border-radius: 6px;
  background: var(--bg-surface);
  box-shadow: 0 28px 72px rgba(35, 28, 18, 0.14);
  transform: rotate(1.5deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-preview-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.9) contrast(0.98);
  transition: opacity 140ms ease, filter 180ms ease;
}

.about-preview-card p {
  margin: 18px 8px 0;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.55;
}

.about-preview-card.is-changing img,
.about-preview-card.is-changing p {
  opacity: 0.45;
}

@media (max-width: 900px) {
  .about-showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-preview {
    display: none;
  }

  .about-showcase .about-note {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px 0;
  }

  .about-showcase .about-note strong {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .about-showcase .about-note-media {
    position: relative;
    grid-column: 1 / -1;
    display: block;
    width: min(78%, 240px);
    max-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: var(--bg-surface);
    box-shadow: 0 16px 36px rgba(35, 28, 18, 0.13);
    opacity: 0;
    visibility: hidden;
    transform: rotate(-1deg);
    transition: max-height 220ms ease, margin 220ms ease, padding 220ms ease, opacity 180ms ease;
  }

  .about-showcase .about-note-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
    border-radius: 3px;
  }

  .about-showcase .about-note em {
    grid-column: 1 / -1;
    display: block;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-style: normal;
    line-height: 1.55;
    transition: max-height 220ms ease, margin 220ms ease;
  }

  .about-showcase .about-note.is-open .about-note-media {
    max-height: 360px;
    margin-top: 16px;
    padding: 10px 10px 28px;
    border: 1px solid var(--border-soft);
    opacity: 1;
    visibility: visible;
  }

  .about-showcase .about-note.is-open em {
    max-height: 420px;
    margin-top: 14px;
  }
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.16em;
}

.hero-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(217, 194, 143, 0.2));
}

@media (max-width: 900px) {
  .about-showcase .about-note {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 14px;
    padding: 17px 0;
  }

  .about-showcase .about-note .note-index {
    font-size: 1rem;
  }

  .about-showcase .about-note strong {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.76rem, 3.25vw, 0.98rem);
    font-weight: 720;
    line-height: 1.12;
    white-space: nowrap;
  }

  .about-showcase .about-note-media,
  .about-showcase .about-note em {
    grid-column: 2 / -1;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .about-showcase .about-note-media {
    transform: none;
  }

  .about-showcase .about-note.is-open .about-note-media {
    margin-top: 14px;
  }
}

@media (max-width: 900px) {
  .about-showcase .about-note {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
  }

  .about-showcase .about-note:not(.is-open)::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border: 1px solid rgba(184, 154, 84, 0.45);
    border-radius: 999px;
    color: var(--accent-gold);
    background: rgba(255, 253, 248, 0.6);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
  }

  .about-showcase .about-note.is-open::after {
    display: none;
  }

  .about-showcase .about-note-media,
  .about-showcase .about-note em {
    grid-column: 2 / -1;
  }

  .about-showcase .about-note.is-open .about-note-media {
    padding: 10px 10px 22px;
  }

  .about-showcase .about-note-media em {
    display: block;
    max-height: none;
    margin: 16px 4px 0;
    overflow: visible;
    color: var(--text-secondary);
    font-style: normal;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .about-showcase .about-note.is-open > em {
    display: none;
  }
}

@media (max-width: 900px) {
  .about-showcase .about-note-media::after {
    display: none;
  }

  .about-showcase .about-note.is-open .about-note-media {
    max-height: none;
    background: #fff !important;
  }

  .about-showcase .about-note-media em {
    max-height: none;
    opacity: 1;
    visibility: visible;
    background: #fff !important;
    color: var(--text-secondary);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.03rem;
    font-weight: 400;
    line-height: 1.55;
  }
}

@media (max-width: 900px) {
  .about-showcase .about-note {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    column-gap: 14px;
    padding: 22px 0;
  }

  .about-showcase .about-note .note-index {
    font-size: 1.22rem;
  }

  .about-showcase .about-note strong {
    font-size: clamp(1rem, 4.25vw, 1.22rem);
    font-weight: 720;
    line-height: 1.16;
  }

  .about-showcase .about-note.is-open .about-note-media {
    padding: 10px 10px 28px;
  }

  .about-showcase .about-note-media em {
    margin: 18px 8px 0;
    padding: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 14px;
    bottom: 14px;
    padding: 14px;
    border-radius: 14px;
  }

  .cookie-consent p {
    font-size: 0.9rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-btn {
    width: 100%;
    padding-inline: 12px;
  }
}

@media (max-width: 760px) {
  .ai-test-shell {
    width: min(100% - 20px, 620px);
    padding-bottom: 28px;
  }

  .ai-test-progress {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .ai-test-progress-meta {
    font-size: 0.7rem;
    letter-spacing: 0.11em;
  }

  .ai-test-card {
    padding-bottom: 16px;
  }

  .ai-test-intro {
    display: block;
  }

  .ai-test-intro h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(1.42rem, 5.8vw, 1.76rem);
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .ai-test-visual-mobile {
    margin-bottom: 10px;
  }

  .ai-test-visual-mobile img {
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 18px;
  }

  .ai-test-intro .btn {
    min-height: 48px;
    margin: 10px 0 10px;
    padding: 12px 18px;
    font-size: 0.86rem;
  }

  .ai-test-intro p {
    margin: 0 0 8px;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .ai-test-note {
    margin-top: 8px !important;
    font-size: 0.78rem !important;
    line-height: 1.32 !important;
  }

  .ai-test-question-card h1 {
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 6vw, 1.8rem);
    line-height: 1.12;
  }

  .ai-test-options {
    gap: 12px;
  }

  .ai-test-option {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    font-size: 0.94rem;
    line-height: 1.36;
  }

  .ai-test-option-index {
    width: 36px;
    height: 36px;
  }

  .ai-test-form-card h1 {
    margin-bottom: 6px;
    font-size: clamp(1.46rem, 6.2vw, 1.78rem);
    line-height: 1.12;
  }

  .ai-test-form-card .lead {
    margin: 0 0 6px;
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .ai-test-form {
    margin-top: 6px;
    gap: 8px;
  }

  .ai-test-form label {
    gap: 4px;
  }

  .ai-test-form input[type="text"],
  .ai-test-form input[type="email"] {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .ai-test-form-note {
    margin-top: 0;
    padding: 10px 12px;
    font-size: 0.86rem !important;
    line-height: 1.35;
  }

  .ai-test-consent {
    padding: 11px 12px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .ai-test-form .btn {
    min-height: 52px;
  }

  .ai-test-nav {
    position: static;
    width: 100%;
    margin: 18px 0 0;
    padding: 0;
  }

  .ai-test-nav-btn {
    min-width: 124px;
    padding: 12px 22px;
  }
}
