/*
 * 2026 visual refresh
 * Content and interaction remain in index.html/styles.css. This layer only adds
 * the visual language: drawing-grid precision, tool-like frames, and depth.
 */
:root {
  --surface: #eee9df;
  --surface-raised: #f8f4eb;
  --surface-deep: #ddd7cb;
  --graphite: #1b211f;
  --graphite-deep: #101513;
  --graphite-mid: #2a322f;
  --mint-bright: #83e5d2;
  --mint-deep: #55bbae;
  --hairline: rgba(27, 33, 31, .18);
  --soft-shadow: 0 24px 70px rgba(20, 27, 24, .12);
  --hard-shadow: 14px 14px 0 rgba(27, 33, 31, .1);
  background: var(--surface);
}

body {
  color: var(--graphite);
  background:
    radial-gradient(circle at 11% 7%, rgba(131, 229, 210, .13), transparent 28rem),
    linear-gradient(rgba(27, 33, 31, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 33, 31, .025) 1px, transparent 1px),
    var(--surface);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.site-header {
  min-height: 70px;
  padding-inline: max(24px, calc((100vw - 1260px) / 2));
  background: rgba(20, 26, 24, .94);
  border-bottom-color: rgba(131, 229, 210, .2);
  box-shadow: 0 9px 30px rgba(8, 12, 10, .16);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint-deep) 48%, transparent);
  opacity: .52;
}

.wordmark { letter-spacing: .1em; }
.brand-icon { width: 74px; filter: drop-shadow(0 0 10px rgba(131, 229, 210, .28)); }
.site-header nav { gap: 30px; letter-spacing: .04em; }
.header-cta {
  position: relative;
  overflow: hidden;
  padding: 10px 16px;
  color: var(--graphite) !important;
  background: var(--mint-bright);
  border-color: var(--mint-bright);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .24);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.header-cta:hover { background: #a4eddf; transform: translate(-1px, -1px); box-shadow: 7px 7px 0 rgba(0, 0, 0, .2); }
.header-cta.is-paused, .header-cta.is-paused:hover { color: #777d77 !important; background: transparent; box-shadow: none; transform: none; }

.section-shell { max-width: 1260px; padding-inline: 34px; }

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
  gap: clamp(48px, 7vw, 112px);
  min-height: calc(100svh - 70px);
  padding-block: 92px 112px;
}

.hero::before {
  display: none;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 8px 10px;
  color: #dff9f3;
  background: var(--graphite);
  box-shadow: 5px 5px 0 rgba(85, 187, 174, .3);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--mint-bright); box-shadow: 0 0 10px rgba(131, 229, 210, .6); }

.hero h1 {
  font-size: clamp(44px, 5.1vw, 74px);
  line-height: 1.13;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}
.lead { max-width: 520px; color: #414945; }
.hero-actions { margin-top: 42px; }
.button {
  position: relative;
  overflow: hidden;
  min-width: 230px;
  box-shadow: 7px 7px 0 rgba(27, 33, 31, .12);
}
.button::after { content: "→"; font: 600 15px "IBM Plex Mono", monospace; }
.button.is-paused::after { display: none; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 rgba(27, 33, 31, .12); }
.button-primary { background: var(--graphite); border-color: var(--graphite); }
.button-primary:hover { color: var(--graphite); background: var(--mint-bright); border-color: var(--graphite); }

.demo-frame {
  position: relative;
  align-self: center;
  justify-self: end;
  width: auto;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: 0 26px 58px rgba(20, 27, 24, .16);
}
.demo-frame::before {
  display: none;
}
.demo-frame::after {
  display: none;
}
.hero-demo-video {
  width: auto;
  max-width: 100%;
  height: min(67svh, 660px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #d8d3c8;
  border: 1px solid rgba(27, 33, 31, .3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.problem-strip {
  position: relative;
  padding-block: 42px;
  color: #10201c;
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 255, 255, .08) 16px 17px),
    var(--mint-deep);
  border-block: 1px solid rgba(27, 33, 31, .4);
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), inset 0 -8px rgba(27, 33, 31, .05);
}
.problem-strip p { letter-spacing: -.02em; }
.problem-strip span { position: relative; height: 7px; background: transparent; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .5; }

.statement { position: relative; margin-block: 44px; padding-block: 112px; border: 1px solid var(--hairline); background: rgba(248, 244, 235, .78); box-shadow: var(--hard-shadow); }
.statement::before { content: ""; position: absolute; top: -1px; left: 34px; width: 96px; height: 4px; background: var(--mint-deep); }
.section-number { color: #59635e; }
.statement h2, .section-heading h2 { text-wrap: balance; }
.statement div p { color: #414945; }

.functions { padding-block: 130px 150px; }
.function-list { border-top: 2px solid var(--graphite); }
.function-list article {
  position: relative;
  padding: 31px 20px 34px 4px;
  background: linear-gradient(90deg, transparent, rgba(248, 244, 235, .7));
  transition: background .18s, transform .18s;
}
.function-list article:hover { background: var(--surface-raised); transform: translateX(6px); }
.function-index { color: var(--mint-deep); }

.field-note {
  position: relative;
  overflow: hidden;
  padding-block: 154px;
  background:
    linear-gradient(rgba(131, 229, 210, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 229, 210, .035) 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(85, 187, 174, .13), transparent 32rem),
    var(--graphite);
  background-size: 32px 32px, 32px 32px, auto, auto;
  border-block: 1px solid #44504b;
  box-shadow: inset 0 22px 70px rgba(0, 0, 0, .18);
}
.field-note::before, .field-note::after { content: ""; position: absolute; width: 110px; height: 110px; border-color: var(--mint-deep); opacity: .5; }
.field-note::before { top: 36px; left: max(28px, calc((100vw - 1180px) / 2)); border-top: 1px solid; border-left: 1px solid; }
.field-note::after { right: max(28px, calc((100vw - 1180px) / 2)); bottom: 36px; border-right: 1px solid; border-bottom: 1px solid; }
.field-note blockquote strong { text-shadow: 0 0 24px rgba(131, 229, 210, .18); }

.workflow { padding-block: 140px 156px; }
.workflow ol { gap: 12px; border-top: 0; }
.workflow li { position: relative; min-height: 178px; padding: 25px 20px; background: var(--surface-raised); border: 1px solid var(--hairline); box-shadow: 7px 7px 0 rgba(27, 33, 31, .08); }
.workflow li:last-child { border-right: 1px solid var(--hairline); }
.workflow li::before { content: ""; position: absolute; top: -1px; right: -1px; width: 28px; height: 28px; border-top: 3px solid var(--mint-deep); border-right: 3px solid var(--mint-deep); }
.workflow-video { margin-top: 0; background: var(--surface-raised); border-color: var(--hairline); box-shadow: 7px 7px 0 rgba(27, 33, 31, .07); }

.home-screen { position: relative; overflow: hidden; background: var(--graphite); box-shadow: inset 0 24px 80px rgba(0, 0, 0, .18); }
.home-screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 0 55%, rgba(131, 229, 210, .045) 55% 56%, transparent 56%); }
.home-screen-inner { position: relative; padding-block: 144px; }
.install-steps { gap: 16px; }
.install-steps > li { border-color: #414b47; box-shadow: 9px 10px 0 rgba(8, 12, 10, .26), inset 0 1px rgba(255, 255, 255, .025); }
.install-visual { height: 202px; }

.pricing { padding-block: 152px 166px; }
.price-panel {
  position: relative;
  padding: 44px;
  background:
    linear-gradient(rgba(131, 229, 210, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 229, 210, .035) 1px, transparent 1px),
    var(--graphite-deep);
  background-size: 24px 24px;
  border: 1px solid #414b47;
  box-shadow: 17px 17px 0 rgba(85, 187, 174, .2), var(--soft-shadow);
}
.price-panel::before { content: "PRO TOOL / 01"; position: absolute; top: 13px; right: 15px; color: #68716c; font: 600 8px "IBM Plex Mono", monospace; letter-spacing: .14em; }
.price-panel .button { box-shadow: 7px 7px 0 rgba(131, 229, 210, .18); }
.price-direct-link { background: rgba(255, 255, 255, .018); }

.faq { padding-block: 140px 156px; }
.faq details { padding-inline: 20px; background: rgba(248, 244, 235, .45); border-inline: 1px solid transparent; transition: background .18s, border-color .18s; }
.faq details[open] { background: var(--surface-raised); border-inline-color: var(--hairline); }
.faq summary::marker { color: var(--mint-deep); }

.closing {
  position: relative;
  overflow: hidden;
  padding-block: 112px;
  background:
    repeating-linear-gradient(135deg, transparent 0 25px, rgba(255, 255, 255, .08) 25px 26px),
    var(--mint-deep);
  border-top: 1px solid rgba(27, 33, 31, .45);
}
.closing::before { content: ""; position: absolute; top: -80px; right: 10%; width: 280px; height: 280px; border: 1px solid rgba(27, 33, 31, .12); transform: rotate(45deg); }
.closing > * { position: relative; z-index: 1; }
.closing .button-primary { box-shadow: 8px 8px 0 rgba(0, 0, 0, .2); }

footer { padding-block: 52px; background: var(--graphite-deep); border-top: 1px solid #38413e; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 72px; }
  .hero::before { top: auto; right: 18px; bottom: 48px; width: calc(100% - 36px); height: 48%; }
  .demo-frame { justify-self: center; }
  .statement { margin-inline: 18px; }
  .workflow ol { gap: 10px; }
  .price-panel { box-shadow: 12px 12px 0 rgba(85, 187, 174, .18), var(--soft-shadow); }
}

@media (max-width: 560px) {
  :root { --hard-shadow: 7px 7px 0 rgba(27, 33, 31, .09); }
  body { background-size: auto, 22px 22px, 22px 22px, auto; }
  .site-header { min-height: 60px; padding-inline: 16px; }
  .brand-icon { width: 54px; }
  .wordmark { gap: 5px; font-size: 12px; }
  .site-header nav { gap: 8px; }
  .header-cta { padding: 8px 10px; box-shadow: 3px 3px 0 rgba(0, 0, 0, .22); }
  .section-shell { padding-inline: 21px; }
  .hero { gap: 56px; padding-block: 60px 78px; }
  .hero::before { right: 8px; bottom: 25px; width: calc(100% - 16px); height: 44%; background-size: 24px 24px; }
  .eyebrow { margin-bottom: 25px; padding: 7px 9px; font-size: 9px; }
  .hero h1 { font-size: clamp(39px, 12vw, 52px); line-height: 1.16; }
  .lead { margin-top: 24px; font-size: 14px; line-height: 1.9; }
  .hero-actions { gap: 20px; margin-top: 34px; }
  .button { box-shadow: 5px 5px 0 rgba(27, 33, 31, .11); }
  .demo-frame { width: calc(100% - 14px); padding: 0; box-shadow: 0 20px 44px rgba(20, 27, 24, .14); }
  .hero-demo-video { width: 100%; height: auto; max-height: 610px; }
  .problem-strip { padding-block: 32px; }
  .statement { margin-block: 26px; padding: 76px 22px; }
  .statement::before { left: 22px; width: 72px; }
  .functions, .workflow, .pricing { padding-block: 94px 108px; }
  .function-list article { padding-right: 8px; }
  .function-list article:hover { transform: none; }
  .field-note { padding-block: 112px; background-size: 24px 24px, 24px 24px, auto, auto; }
  .field-note::before, .field-note::after { width: 60px; height: 60px; }
  .workflow ol { gap: 9px; border-bottom: 0; }
  .workflow li { border: 1px solid var(--hairline); box-shadow: 5px 5px 0 rgba(27, 33, 31, .07); }
  .workflow li:last-child { border-bottom: 1px solid var(--hairline); }
  .home-screen-inner { padding-block: 106px; }
  .install-steps > li { box-shadow: 6px 7px 0 rgba(8, 12, 10, .25); }
  .price-panel { padding: 34px 22px; box-shadow: 8px 8px 0 rgba(85, 187, 174, .18), 0 22px 48px rgba(20, 27, 24, .14); }
  .price-panel::before { display: none; }
  .faq { padding-block: 100px 114px; }
  .faq details { padding-inline: 13px; }
  .closing { padding-block: 82px; }
  .closing::before { right: -35%; }
  footer { padding-block: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .function-list article:hover { transform: none; }
}
