/* OfisHattÄ± AraÃ§lar â€” sharp forest-green design system */
:root {
  /* JS theme binding: --navy/--teal keep legacy names */
  --navy: #0f3d22;
  --navy-2: #1a5c32;
  --teal: #2d8a4e;
  --teal-dim: #1a5c32;
  --forest: #1a5c32;
  --forest-dark: #0f3d22;
  --forest-accent: #2d8a4e;
  --sand: #d4e0d6;
  --ink: #14201a;
  --muted: #5a6b60;
  --line: rgba(15, 61, 34, 0.14);
  --paper: #f2f5f2;
  --paper-2: #e8eee9;
  --white: #ffffff;
  --danger: #b42318;
  --ok: #1a5c32;
  --shadow: 0 12px 36px rgba(15, 61, 34, 0.12);
  --radius: 2px;
  --radius-lg: 4px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --max: 1120px;
  --slash: skewX(-18deg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 100% 70% at 8% -5%, rgba(45, 138, 78, 0.16), transparent 52%),
    radial-gradient(ellipse 80% 55% at 98% 5%, rgba(15, 61, 34, 0.1), transparent 48%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(45, 138, 78, 0.09), transparent 55%),
    linear-gradient(180deg, #eaf0eb 0%, var(--paper) 42%, var(--paper-2) 100%);
  min-height: 100vh;
  line-height: 1.55;
}

/* Soft office texture â€” dots + slash weave (logo angle) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background-image:
    radial-gradient(rgba(15, 61, 34, 0.085) 1.1px, transparent 1.3px),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 20px,
      rgba(15, 61, 34, 0.045) 20px,
      rgba(15, 61, 34, 0.045) 21px
    ),
    repeating-linear-gradient(
      72deg,
      transparent,
      transparent 28px,
      rgba(45, 138, 78, 0.03) 28px,
      rgba(45, 138, 78, 0.03) 29px
    );
  background-size: 16px 16px, auto, auto;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* â”€â”€â”€ Nav â”€â”€â”€ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(242, 245, 242, 0.88);
  border-bottom: 2px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--forest) 18%,
    var(--forest-accent) 52%,
    transparent 100%
  );
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  opacity: 0.55;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--forest-dark);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
  border: 2px solid var(--forest-dark);
}

/* Diagonal slash like OH logo */
.brand-mark::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 2px;
  background: white;
  top: 50%;
  left: -20%;
  transform: translateY(-50%) rotate(-32deg);
  opacity: 0.95;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand:has(.brand-logo) .brand-mark {
  display: none;
}

.hero-visual.has-hero-img {
  background: #0f3d22;
  padding: 0;
}

.hero-visual.has-hero-img .hero-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.hero-visual.has-hero-img .hero-overlay-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(8, 28, 16, calc(var(--hero-overlay, 0.18) * 0.55)) 0%,
    rgba(8, 28, 16, calc(var(--hero-overlay, 0.18) * 0.25)) 50%,
    rgba(8, 28, 16, calc(var(--hero-overlay, 0.18) * 0.1)) 100%
  );
}

.hero-visual.has-hero-img::before,
.hero-visual.has-hero-img::after {
  display: none;
}

.hero-visual.has-hero-img .hero-panel {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--forest-dark);
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--forest-dark);
  background: rgba(45, 138, 78, 0.1);
}

.nav-links a.active::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--forest-accent);
  transform: skewX(-18deg);
}

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.55rem 0.95rem !important;
  max-width: min(280px, 70vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: var(--radius) !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.nav-cta:hover {
  background: var(--navy-2) !important;
}

.nav-cta::before {
  display: none;
}

.nav-toggle {
  display: none;
  border: 2px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--forest-dark);
  font-weight: 600;
}

.nav-toggle:hover {
  border-color: var(--forest-accent);
  background: rgba(45, 138, 78, 0.08);
}

/* Instagram social link */
.social-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  color: var(--forest-dark);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  background: white;
}

.social-ig:hover {
  border-color: var(--forest-accent);
  background: rgba(45, 138, 78, 0.08);
  transform: translateY(-1px);
  color: var(--forest);
}

.social-ig svg,
.social-ig img {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* â”€â”€â”€ Buttons â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest-accent), var(--forest));
  color: white;
  box-shadow: 0 8px 22px rgba(26, 92, 50, 0.28);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

/* Slash shine on primary hover */
.btn-primary::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -40%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.45s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-secondary {
  background: var(--navy);
  color: white;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--line);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: rgba(45, 138, 78, 0.45);
  background: white;
}

.btn-block {
  width: 100%;
}

/* â”€â”€â”€ Hero â”€â”€â”€ */
.hero {
  padding: 3.5rem 0 2.5rem;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--forest-dark);
  text-transform: none;
}

.hero-brand::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--forest-accent);
  transform: skewX(-18deg);
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 61, 34, 0.35);
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}

.hero-logo-wrap img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--navy);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 3px;
  background: var(--forest-accent);
  transform: skewX(-18deg);
  opacity: 0.45;
}

.hero-copy p {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--forest-dark) 0%, var(--forest) 48%, #246b3c 100%);
  box-shadow: var(--shadow);
  animation: rise 0.8s ease both;
  border: 2px solid var(--forest-dark);
  /* Diagonal cut â€” logo slash energy */
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      -32deg,
      transparent 42%,
      rgba(255, 255, 255, 0.07) 42.5%,
      rgba(255, 255, 255, 0.07) 44%,
      transparent 44.5%
    ),
    linear-gradient(
      -32deg,
      transparent 58%,
      rgba(45, 138, 78, 0.35) 58.5%,
      rgba(45, 138, 78, 0.35) 61%,
      transparent 61.5%
    );
  pointer-events: none;
  z-index: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 55%;
  height: 55%;
  background: linear-gradient(145deg, rgba(45, 138, 78, 0.5), transparent 70%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 70%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 1.6rem;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.hero-panel .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 600;
}

.hero-panel .eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 2px;
  background: white;
  margin-right: 0.5rem;
  vertical-align: middle;
  transform: skewX(-18deg);
}

.hero-panel .big {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0.4rem 0 0;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0.75rem;
  border-left: 3px solid rgba(45, 138, 78, 0.85);
}

.hero-stats strong {
  display: block;
  font-size: 1.15rem;
  font-family: var(--font-display);
}

.hero-stats span {
  font-size: 0.78rem;
  opacity: 0.7;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slash-shine {
  from {
    left: -40%;
  }
  to {
    left: 120%;
  }
}

.hero-copy {
  animation: fade-up 0.7s ease both;
}

/* â”€â”€â”€ Sections â”€â”€â”€ */
.section {
  padding: 2.5rem 0 3.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--forest-accent);
  transform: skewX(-18deg);
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

/* Homepage category hubs â€” 3 columns */
.cat-hub-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 1.15rem;
  width: 100%;
  align-items: stretch;
}

.cat-hub-card {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.45rem 1.35rem 1.35rem;
  min-height: 210px;
  flex: 1 1 calc(33.333% - 0.8rem);
  max-width: calc(33.333% - 0.8rem);
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #ffffff 0%, #f0f4f1 100%);
  border: 2px solid var(--line);
  border-left: 2px solid var(--line);
  box-shadow: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    border-left-color 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.cat-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(225deg, rgba(45, 138, 78, 0.12), transparent 70%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

.cat-hub-card:hover {
  transform: translate(3px, -3px);
  border-color: rgba(26, 92, 50, 0.35);
  border-left: 4px solid var(--forest);
  box-shadow: 6px 6px 0 rgba(15, 61, 34, 0.08);
}

.cat-hub-card .tool-icon {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.2rem;
}

.cat-hub-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
}

.cat-hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  line-height: 1.45;
}

.cat-hub-card .tool-use {
  font-size: 0.78rem;
  color: var(--muted);
}

.cat-hub-card .go {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-dim);
}

.cat-hub-card .go::after {
  content: " â†’";
  display: inline-block;
  transform: skewX(-12deg);
}

.cat-hub-card[data-cat="premium"] {
  background: linear-gradient(165deg, #ffffff 0%, #f4f7f2 100%);
  border-color: rgba(26, 92, 50, 0.22);
}

.cat-hub-card[data-cat="kisiye-gore"] {
  background: linear-gradient(165deg, #ffffff 0%, #eef2ef 100%);
}

@media (max-width: 900px) {
  .cat-hub-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Tool category sections */
.tool-section {
  margin-top: 1.75rem;
}

.tool-section:first-child {
  margin-top: 0.35rem;
}

.tool-section-head {
  margin-bottom: 0.95rem;
}

.tool-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
}

.tool-section-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tool-section-empty {
  margin: 0.25rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Tool cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--line);
  box-shadow: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    border-left-width 0.2s ease,
    border-left-color 0.2s ease,
    box-shadow 0.2s ease;
  min-height: 168px;
  position: relative;
}

.tool-card:hover {
  transform: translate(2px, -3px);
  border-color: rgba(26, 92, 50, 0.28);
  border-left: 4px solid var(--forest);
  box-shadow: 4px 4px 0 rgba(15, 61, 34, 0.07);
}

.tool-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(45, 138, 78, 0.12);
  color: var(--teal-dim);
  font-size: 1.1rem;
  border: 1px solid rgba(26, 92, 50, 0.12);
}

.tool-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.tool-card .tool-use {
  font-size: 0.78rem;
  color: var(--muted);
}

.tool-card .go {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dim);
}

/* Support band */
.support-band {
  margin: 1rem 0 3rem;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  background: linear-gradient(125deg, var(--forest-dark) 0%, var(--forest) 55%, #246b3c 100%);
  color: white;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 0 100%);
  border: 2px solid var(--forest-dark);
}

.support-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -32deg,
    transparent 48%,
    rgba(255, 255, 255, 0.08) 48.5%,
    rgba(255, 255, 255, 0.08) 50.5%,
    transparent 51%
  );
  pointer-events: none;
}

.support-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
}

.support-band p {
  margin: 0;
  opacity: 0.85;
  max-width: 36rem;
  position: relative;
}

.support-band .btn-primary {
  background: white;
  color: var(--navy);
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.support-band .btn-primary::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(26, 92, 50, 0.15),
    transparent
  );
}

.support-band .btn,
.support-band > * {
  position: relative;
  z-index: 1;
}

/* â”€â”€â”€ Tool page layout â”€â”€â”€ */
.tool-page {
  padding: 2rem 0 3.5rem;
}

.tool-hero {
  margin-bottom: 1.4rem;
  animation: fade-up 0.55s ease both;
}

.crumb {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.crumb a:hover {
  color: var(--teal-dim);
}

.tool-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 0.45rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.tool-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: none;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(45, 138, 78, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 138, 78, 0.14);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.result-box {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--forest-dark);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 94% 100%, 0 100%);
}

.result-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -32deg,
    transparent 55%,
    rgba(255, 255, 255, 0.06) 55.5%,
    rgba(255, 255, 255, 0.06) 58%,
    transparent 58.5%
  );
  pointer-events: none;
}

.result-box h3 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
  position: relative;
}

.result-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  position: relative;
}

.result-list {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  position: relative;
}

.result-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  border-left: 2px solid rgba(45, 138, 78, 0.6);
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.qr-canvas-wrap {
  display: grid;
  place-items: center;
  background: white;
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 220px;
  border: 2px solid var(--line);
}

.qr-canvas-wrap canvas,
.qr-canvas-wrap img {
  max-width: 220px;
}

.dropzone {
  border: 2px dashed rgba(45, 138, 78, 0.5);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  background: rgba(45, 138, 78, 0.05);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dropzone:hover,
.dropzone.drag {
  background: rgba(45, 138, 78, 0.1);
  border-color: var(--forest);
}

.preview-img {
  margin-top: 0.8rem;
  border-radius: var(--radius);
  max-height: 220px;
  margin-inline: auto;
  border: 2px solid var(--line);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius);
  background: rgba(45, 138, 78, 0.12);
  color: var(--teal-dim);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(26, 92, 50, 0.15);
  transform: skewX(-6deg);
}

.pill > * {
  transform: skewX(6deg);
}

.notice {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(15, 61, 34, 0.04);
  border: 2px solid var(--line);
  border-left: 4px solid var(--forest);
  font-size: 0.92rem;
}

.notice a {
  color: var(--teal-dim);
  font-weight: 600;
}

/* â”€â”€â”€ Footer â”€â”€â”€ */
.site-footer {
  border-top: 2px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 1rem;
  background: rgba(232, 238, 233, 0.65);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--forest) 30%,
    var(--forest-accent) 70%,
    transparent
  );
  transform: skewX(-18deg);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.site-footer a:hover {
  color: var(--teal-dim);
}

.site-footer .social-ig {
  margin-top: 0.5rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Legal / prose pages */
.prose {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.prose h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 0;
  font-weight: 700;
}

.prose h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.prose a {
  color: var(--forest);
  font-weight: 600;
}

.search-box {
  margin: 0 0 1.2rem;
}

.search-box input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.search-box input:focus {
  border-color: rgba(45, 138, 78, 0.5);
  box-shadow: 0 0 0 3px rgba(45, 138, 78, 0.14);
}

.toast {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 100;
  border-left: 4px solid var(--forest-accent);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}

.toast.show {
  opacity: 1;
  transform: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

/* SEO content blocks on tool pages */
.seo-content {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.seo-content h2,
.seo-content h3 {
  font-family: var(--font-display);
  color: var(--navy);
}

/* Utility: force rise / fade-up on any element */
.rise {
  animation: rise 0.8s ease both;
}

.fade-up {
  animation: fade-up 0.7s ease both;
}

/* â”€â”€â”€ Breakpoints â”€â”€â”€ */
@media (max-width: 960px) {
  .hero-grid,
  .panel-grid,
  .tool-grid,
  .footer-grid,
  .support-band {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 280px;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 94% 100%, 0 100%);
  }

  .support-band {
    clip-path: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
    background: white;
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a.active::before {
    display: none;
  }

  .nav-cta {
    clip-path: none;
  }

  .tool-grid,
  .row-2,
  .row-3,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    clip-path: none;
  }

  .result-box {
    clip-path: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn-primary::before {
    display: none;
  }
}

/* Media CMS — tool cards + hero video */
.hero-visual .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tool-card .tool-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius, 4px);
  margin-bottom: 0.75rem;
  background: var(--paper-2, #e8eee9);
}
.tool-card.has-media .tool-icon { display: none; }
