@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --ink: #16201d;
  --muted: #5c6b64;
  --line: #dbe2df;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --mint: #cfeee1;
  --leaf: #26735a;
  --coral: #e56f54;
  --gold: #e5b94f;
  --sky: #93c5fd;
  --plum: #7c5c8c;
  --wash-blue: #f2f8ff;
  --wash-gold: #fff9eb;
  --wash-mint: #eef7f2;
  --wash-rose: #fff5f2;
  --shadow: 0 18px 60px rgba(35, 50, 45, 0.12);
  --font-body: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.nav-links,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand,
.nav-links a,
.button {
  text-decoration: none;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

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

.icon-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.hero-art {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207, 238, 225, 0.9), rgba(147, 197, 253, 0.48)),
    repeating-linear-gradient(90deg, rgba(22, 32, 29, 0.07) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(22, 32, 29, 0.06) 0 1px, transparent 1px 56px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.metric-panel {
  position: absolute;
  left: 8%;
  top: 10%;
  width: min(260px, 70%);
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 32, 29, 0.1);
}

.metric-panel span,
.metric-panel small,
.eyebrow {
  color: var(--muted);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.metric-panel strong {
  display: block;
  margin: 0.25rem 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
}

.tool-preview {
  position: absolute;
  right: 7%;
  bottom: 9%;
  width: min(360px, 76%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.tool-preview div {
  min-height: 96px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 32, 29, 0.08);
}

.tool-preview div:nth-child(2) { background: rgba(229, 185, 79, 0.72); }
.tool-preview div:nth-child(3) { background: rgba(229, 111, 84, 0.66); }
.tool-preview div:nth-child(5) { background: rgba(124, 92, 140, 0.68); }

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  margin: 0.35rem 0 1.25rem;
  max-width: 760px;
}

.hero-copy p {
  color: var(--muted);
  max-width: 620px;
  font-size: 1.08rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  background: var(--panel);
  color: var(--ink);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.ticker div {
  padding: 1.15rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.ticker div:last-child {
  border-right: 0;
}

.ticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.band {
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem));
  background: var(--wash-mint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2,
.contact-section h2,
.legal-page h1 {
  font-family: var(--font-display);
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.section-heading p,
.contact-section p,
.legal-page p {
  color: var(--muted);
}

.tool-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  align-items: start;
}

.tool-list {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.55rem;
}

.tool-tab {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 0.9rem;
  cursor: pointer;
}

.tool-tab strong,
.tool-tab span {
  display: block;
}

.tool-tab span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.2rem;
}

.tool-tab.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(38, 115, 90, 0.12);
}

.tool-workspace {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tool-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff, #f3f8f6);
}

.tool-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin: 0.2rem 0 0.6rem;
}

.tool-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 1rem;
  padding: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.output {
  min-height: 260px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8faf8;
  padding: 1rem;
}

.output h4 {
  margin: 0 0 0.75rem;
}

.result-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  margin: 0.35rem 0 0.75rem;
}

.mini-grid,
.revenue-grid,
.blueprint-grid,
.tracker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-card,
.revenue-card,
.blueprint-step,
.tracker-item,
.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

.mini-card strong,
.mini-card span,
.service-menu strong,
.service-menu span {
  display: block;
}

.mini-card span,
.service-menu span {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf);
  font-weight: 800;
  font-size: 0.78rem;
}

.blueprint-section {
  padding-top: 4rem;
}

.blueprint-grid {
  grid-template-columns: repeat(4, 1fr);
}

.blueprint-step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 850;
}

.blueprint-step h3 {
  margin: 1rem 0 0.5rem;
}

.blueprint-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.supporting {
  display: grid;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
}

.supporting h4 {
  margin: 0;
}

.support-list {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.support-list li {
  margin: 0.35rem 0;
}

.tracker-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.tracker-item input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
}

.tracker-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: center;
}

.service-menu {
  display: grid;
  gap: 0.75rem;
}

.service-menu div,
.service-menu a {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: inherit;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem));
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.warning {
  border-left: 4px solid var(--coral);
  padding: 0.7rem 0.9rem;
  background: #fff5f2;
  color: #703325;
}

.tool-page-hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: start;
  background: linear-gradient(180deg, var(--wash-blue), var(--paper));
  box-shadow: 0 0 0 100vmax var(--wash-blue);
  clip-path: inset(0 -100vmax);
}

.tool-page-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  margin: 0.3rem 0 1rem;
}

.tool-page-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.calculator-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.calculator-panel .button,
.clock-output {
  grid-column: 1 / -1;
}

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

.clock-output {
  min-height: auto;
}

.compact-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--wash-gold);
  box-shadow: 0 0 0 100vmax var(--wash-gold);
  clip-path: inset(0 -100vmax);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.content-card strong + span {
  display: block;
  color: var(--muted);
  margin-top: 0.45rem;
}

.linked-step,
.time-tool-links a {
  text-decoration: none;
}

.linked-step {
  color: inherit;
  transition: border-color 160ms ease, transform 160ms ease;
}

.linked-step:hover {
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.time-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.time-tool-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  padding: 0.55rem 0.78rem;
  font-weight: 800;
  font-size: 0.9rem;
}

.language-picker {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: auto;
  max-width: none;
  min-height: 36px;
  margin: 0;
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.25rem 0.35rem 0.25rem 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.language-picker select {
  width: auto;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0.15rem 1.45rem 0.15rem 0.25rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.shift-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.45rem;
}

.shift-row {
  display: grid;
  grid-template-columns: 64px repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: center;
}

.shift-row strong,
.shift-heading span {
  color: var(--muted);
  font-weight: 800;
}

.shift-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.result-table th,
.result-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  text-align: left;
}

.result-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.tool-page-band {
  margin-top: 1rem;
  background: var(--wash-mint);
}

.service-cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.service-cta-section h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0.25rem 0 0.75rem;
}

.service-cta-section p {
  max-width: 700px;
  color: var(--muted);
}

.service-package-grid {
  grid-template-columns: repeat(3, 1fr);
}

.brief-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-shadow: none;
}

.brief-panel label:nth-of-type(n + 3),
.brief-panel .brief-output,
.brief-panel .button {
  grid-column: 1 / -1;
}

.brief-output {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  color: var(--ink);
}

main > .compact-section:nth-of-type(4n) {
  background: var(--wash-rose);
  box-shadow: 0 0 0 100vmax var(--wash-rose);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 860px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.article-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
  background: linear-gradient(180deg, var(--wash-blue), var(--paper));
  box-shadow: 0 0 0 100vmax var(--wash-blue);
  clip-path: inset(0 -100vmax);
}

.article-hero h1 {
  max-width: 850px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98;
  margin: 0.3rem 0 1rem;
}

.article-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.article-body {
  display: grid;
  gap: 1rem;
}

.article-body h2,
.article-sidebar h2 {
  font-family: var(--font-display);
  margin: 1rem 0 0;
}

.article-body p {
  color: var(--muted);
  margin: 0;
}

.formula-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash-mint);
  padding: 1rem;
  font-weight: 850;
}

.article-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1rem;
}

.article-sidebar a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 800;
}

.article-sidebar a:hover {
  border-color: var(--leaf);
}

@media (max-width: 920px) {
  .hero,
  .tool-layout,
  .tool-body,
  .contact-section,
  .tool-page-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 420px;
    order: 2;
  }

  .tool-list {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-grid,
  .revenue-grid,
  .blueprint-grid,
  .tracker,
  .guide-grid,
  .example-grid,
  .ticker {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .icon-button {
    display: grid;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.static {
    display: flex;
  }

  .hero-actions,
  .service-cta-section,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .tool-list,
  .mini-grid,
  .revenue-grid,
  .blueprint-grid,
  .tracker,
  .guide-grid,
  .example-grid,
  .ticker {
    grid-template-columns: 1fr;
  }

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

  .shift-row,
  .shift-heading {
    grid-template-columns: 1fr;
  }

  .shift-heading {
    display: none;
  }

  .ticker div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticker div:last-child {
    border-bottom: 0;
  }
}
