
:root {
  --ink: #17211d;
  --ink-soft: #36433d;
  --muted: #66736d;
  --line: #d8dfdb;
  --line-strong: #bdc8c1;
  --paper: #ffffff;
  --ground: #f5f7f5;
  --soft: #edf2ef;
  --green: #23664f;
  --green-dark: #174736;
  --green-soft: #e5f0e9;
  --cream: #f7f3e9;
  --amber: #86631f;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.shell { width: min(100% - 40px, 1080px); margin-inline: auto; }
.narrow { max-width: 790px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; letter-spacing: -0.035em; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.02; font-weight: 690; }
h2 { font-size: clamp(27px, 4vw, 40px); line-height: 1.12; font-weight: 670; }
h3 { font-weight: 660; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.header-inner { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 15px; font-weight: 720; letter-spacing: -0.02em; }
.wordmark-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 5px; background: var(--ink); color: #fff; font-size: 13px; }
.header-inner nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; font-weight: 620; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover { color: var(--ink); }
.header-upgrade { color: var(--green-dark) !important; }

.home-hero { padding: 106px 0 88px; }
.home-hero h1 { max-width: 760px; margin-bottom: 24px; }
.home-lede { max-width: 620px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.tool-library { padding: 76px 0; border-top: 1px solid var(--line); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading-row h2 { max-width: 670px; margin-bottom: 0; }
.honesty-note { max-width: 260px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.featured-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: var(--ground);
}
.tool-kicker { margin: 0 0 13px; color: var(--amber); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.featured-tool h3 { margin-bottom: 12px; font-size: clamp(23px, 3vw, 32px); }
.featured-tool-copy > p:not(.tool-kicker) { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.inline-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; color: var(--ink-soft); font-size: 11px; list-style: none; }
.inline-facts li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 800; }
.featured-tool-actions { display: flex; min-width: 210px; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 12px; font-weight: 700; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #2b3731; }
.button-secondary { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.button-secondary:hover { background: var(--ground); }
.button-light { background: #fff; color: var(--green-dark); }
.button-light:hover { background: var(--cream); }
.text-link { color: var(--green-dark); font-size: 12px; font-weight: 650; text-underline-offset: 4px; }
.principles-section { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 70px; padding: 86px 0 110px; }
.principles-section h2 { margin-bottom: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { padding: 24px 20px 0 0; }
.principle-grid article + article { padding-left: 20px; border-left: 1px solid var(--line); }
.principle-grid span, .workflow-grid span { color: var(--green); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.principle-grid h3 { margin: 18px 0 9px; font-size: 16px; }
.principle-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.tool-hero { padding: 56px 0 31px; }
.breadcrumb { display: flex; gap: 9px; margin-bottom: 37px; color: var(--muted); font-size: 11px; }
.breadcrumb a { text-underline-offset: 3px; }
.tool-hero h1 { max-width: 950px; margin-bottom: 18px; font-size: clamp(36px, 5.7vw, 61px); }
.tool-lede { max-width: 750px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 24px; margin: 22px 0 0; padding: 0; color: var(--green-dark); font-size: 11px; font-weight: 650; list-style: none; }
.trust-row li::before { content: "•"; margin-right: 8px; }
.tool-shell { margin-bottom: 88px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--ground); }
.tool-shell-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 5px 7px 16px; }
.tool-shell-heading h2 { margin: 0; font-size: 23px; }
.tool-shell-heading .eyebrow { margin-bottom: 4px; }
.tool-shell-heading > p { margin: 0 0 2px; color: var(--muted); font-size: 11px; }
.tool-frame { display: block; width: 100%; border: 0; background: #fff; }
.content-section { padding: 82px 0; }
.content-section.narrow { padding-top: 42px; text-align: center; }
.section-lede { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.workflow-grid li { min-height: 205px; padding: 24px 22px 20px 0; }
.workflow-grid li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.workflow-grid h3 { margin: 29px 0 10px; font-size: 15px; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.example-section { background: var(--ground); }
.example-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 70px; align-items: center; }
.example-grid h2 { margin-bottom: 16px; }
.example-grid > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.example-panel { display: grid; grid-template-columns: 1fr 32px 1fr; gap: 10px; align-items: center; }
.example-file { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.example-file > span { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; }
.example-file code { overflow: hidden; padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.example-file code:last-child { border-bottom: 0; }
.example-file.output { border-color: #bcd2c4; background: var(--green-soft); }
.example-arrow { color: var(--green); text-align: center; }
.comparison-table { margin-top: 34px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.comparison-row { display: grid; grid-template-columns: 0.55fr 1fr 1fr; }
.comparison-row + .comparison-row { border-top: 1px solid var(--line); }
.comparison-row span { padding: 15px 17px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.comparison-row span + span { border-left: 1px solid var(--line); }
.comparison-row span:first-child { color: var(--ink); font-weight: 650; }
.comparison-head { background: var(--ground); }
.comparison-head span { color: var(--ink) !important; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.privacy-section { display: grid; grid-template-columns: 150px 1fr; gap: 44px; align-items: center; margin-block: 55px; padding-block: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-mark { display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid #a8c1b1; border-radius: 50%; color: var(--green); font-family: var(--mono); font-size: 11px; font-weight: 750; letter-spacing: 0.12em; }
.privacy-section h2 { margin-bottom: 13px; }
.privacy-section p:last-child { max-width: 710px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-card { padding: 29px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.plan-card.paid { border-color: #9ebba9; background: var(--green-soft); }
.plan-label { margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-card h3 { margin-bottom: 21px; font-size: 34px; }
.plan-card h3 span { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.plan-card ul { display: grid; gap: 11px; margin: 0 0 26px; padding: 0; color: var(--ink-soft); font-size: 12px; list-style: none; }
.plan-card li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 800; }
.plan-card .button { width: 100%; }
.faq-section { text-align: left !important; }
.faq-list { margin-top: 31px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 34px 19px 0; cursor: pointer; font-size: 14px; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 17px; right: 4px; color: var(--green); font-size: 18px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 690px; margin: -3px 0 19px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.final-cta { margin-top: 58px; background: var(--green-dark); color: #fff; }
.final-cta .eyebrow { color: #a8d1b9; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-block: 59px; }
.final-cta h2 { max-width: 620px; margin-bottom: 10px; }
.final-cta p:last-child { margin: 0; color: #c5d6cd; font-size: 13px; }
.final-cta .button { min-width: 260px; }
.site-footer { border-top: 1px solid var(--line); background: var(--ground); }
.footer-inner { display: flex; min-height: 154px; align-items: center; justify-content: space-between; gap: 30px; }
.footer-wordmark { text-decoration: none; font-size: 15px; font-weight: 720; }
.footer-inner p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 24px; color: var(--muted); font-size: 11px; }
.footer-links a { text-underline-offset: 3px; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 1080px); }
  .home-hero { padding: 76px 0 66px; }
  .section-heading-row, .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .honesty-note { text-align: left; }
  .featured-tool { grid-template-columns: 1fr; gap: 25px; padding: 25px; }
  .featured-tool-actions { align-items: stretch; }
  .principles-section { grid-template-columns: 1fr; gap: 35px; padding-block: 70px; }
  .tool-hero { padding-top: 38px; }
  .breadcrumb { margin-bottom: 27px; }
  .tool-shell { padding: 10px; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-grid li:nth-child(4) { border-top: 1px solid var(--line); }
  .example-grid { grid-template-columns: 1fr; gap: 34px; }
  .privacy-section { grid-template-columns: 105px 1fr; gap: 28px; }
  .privacy-mark { width: 88px; height: 88px; }
  .final-cta .button { min-width: 0; width: 100%; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 56px; }
  .header-inner nav { gap: 14px; }
  .header-inner nav > a:first-child:not(.header-upgrade) { display: none; }
  .header-upgrade span { display: none; }
  h1 { font-size: 40px; }
  h2 { font-size: 29px; }
  .home-lede { font-size: 16px; }
  .tool-library, .content-section { padding-block: 61px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .principle-grid article + article { padding-left: 0; border-left: 0; }
  .tool-hero h1 { font-size: 38px; }
  .tool-lede { font-size: 16px; }
  .trust-row { gap: 8px 15px; }
  .tool-shell { width: 100%; margin-bottom: 55px; border-right: 0; border-left: 0; border-radius: 0; }
  .tool-shell-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .workflow-grid li + li, .workflow-grid li:nth-child(3), .workflow-grid li:nth-child(4) { padding-left: 0; border-top: 0; border-left: 0; }
  .workflow-grid h3 { margin-top: 16px; }
  .example-panel { grid-template-columns: 1fr; }
  .example-arrow { transform: rotate(90deg); }
  .comparison-table { border: 0; overflow: visible; }
  .comparison-head { display: none; }
  .comparison-row { display: block; margin-bottom: 12px; border: 1px solid var(--line) !important; border-radius: 8px; overflow: hidden; }
  .comparison-row span { display: block; padding: 11px 13px; }
  .comparison-row span + span { border-top: 1px solid var(--line); border-left: 0; }
  .comparison-row span:nth-child(2)::before { content: "Manual / VBA: "; color: var(--ink); font-weight: 650; }
  .comparison-row span:nth-child(3)::before { content: "GetKorai: "; color: var(--ink); font-weight: 650; }
  .privacy-section { grid-template-columns: 1fr; margin-block: 20px; padding-block: 36px; }
  .privacy-mark { width: 74px; height: 74px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-links { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
