:root {
  color-scheme: light;
  --brown: #633a2b;
  --brown-soft: #7c584b;
  --red: #ef4f3b;
  --red-dark: #d94231;
  --max-blue: #168cf2;
  --max-purple: #7444e8;
  --page: #f3f3f3;
  --card: #ffffff;
  --line: #e2e2e2;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--card);
  color: var(--brown);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.landing { min-height: 100vh; }

.narrow {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.desktop-bar {
  position: relative;
  height: 22px;
  background: #050505;
}

.desktop-bar i {
  position: absolute;
  top: 9px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffa300;
}

.intro {
  height: 492px;
  overflow: hidden;
  background: #fff;
}

.intro-inner {
  position: relative;
  padding-top: 34px;
}

.brand-name {
  margin: 0 0 6px 26px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.intro h1 {
  margin: 8px 0 4px 26px;
  color: #583326;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.subtitle {
  margin: 0 0 0 26px;
  color: #745043;
  font-size: 16px;
  line-height: 1.35;
}

.owner-stage {
  position: relative;
  height: 300px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 11px;
  background: #faf8f8;
}

.owner-photo {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: -1px;
  width: 222px;
  height: 300px;
  object-fit: contain;
  object-position: center bottom;
}

.owner-message {
  position: absolute;
  z-index: 2;
  left: 10px;
  width: 474px;
  padding: 14px 17px;
  border-radius: 10px;
  background: rgb(255 255 255 / 94%);
  color: #714b3e;
  font-size: 15px;
  line-height: 1.42;
}

.owner-message p { margin: 0; }
.owner-message-first { top: 9px; min-height: 102px; }
.owner-message-second { top: 123px; min-height: 160px; }

.quotes {
  display: block;
  height: 11px;
  margin: -12px 0 7px -15px;
  color: #ff573b;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -10px;
  transform: rotate(180deg);
}

.owner-message strong { color: #643c2f; }

.calculation {
  min-height: 460px;
  padding-top: 15px;
  background: var(--page);
}

.accent-line {
  width: 80px;
  height: 3px;
  background: var(--red);
}

.calculation > .narrow > h2 {
  margin: 12px 0 22px;
  color: var(--red);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.calculation > .narrow > h2 mark {
  padding: 1px 2px;
  background: var(--red);
  color: #fff;
}

.calculation-copy {
  margin: 0 0 22px;
  color: #775044;
  font-size: 17px;
  line-height: 1.52;
}

.max-cta-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 9px 20px rgb(0 0 0 / 9%);
}

.max-cta-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: linear-gradient(104deg, var(--max-blue) 0%, var(--max-purple) 100%);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: background 150ms ease, transform 150ms ease;
}

.max-cta-button:hover {
  background: linear-gradient(104deg, #087fe9 0%, #6135d7 100%);
  transform: translateY(-1px);
}

.max-cta-button:focus-visible {
  outline: 3px solid rgb(54 120 239 / 42%);
  outline-offset: 3px;
}

.max-cta-button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.action-note,
.action-status {
  margin: 0;
  color: #777;
  font-size: 12.5px;
  line-height: 1.45;
}

.action-status {
  min-height: 16px;
  color: var(--red-dark);
  font-weight: 700;
}

.factory-note {
  margin: 32px 0 0;
  color: #684032;
  font-size: 17px;
  line-height: 1.55;
}

.factory-note strong { color: #4f2f25; }

footer {
  padding: 35px 0 14px;
  color: #555;
  font-size: 10px;
  line-height: 1.55;
}

footer p { margin: 0 0 7px; }

footer a {
  color: #555;
  text-underline-offset: 3px;
}

.noscript {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #fff3cd;
  color: #5d4315;
}

@media (max-width: 680px) {
  .desktop-bar { display: none; }
  .narrow { width: 100%; }

  .intro { height: auto; }
  .intro-inner { padding-top: 16px; }
  .brand-name { margin-left: 15px; }
  .intro h1 { margin: 6px 15px 2px; font-size: 24px; line-height: 1.12; }
  .subtitle { margin-left: 15px; font-size: 17px; }

  .owner-stage {
    height: 295px;
    margin-top: 10px;
    border-radius: 0;
  }

  .owner-photo {
    right: -44px;
    top: 0;
    bottom: auto;
    width: 256px;
    height: 350px;
  }

  .owner-message {
    left: 0;
    padding: 12px 15px;
    border-radius: 0 13px 13px 0;
    background: rgb(255 255 255 / 84%);
    font-size: 14px;
    line-height: 1.45;
  }

  .owner-message-first { top: 14px; width: 76%; min-height: 112px; }
  .owner-message-second {
    top: 132px;
    width: 81%;
    min-height: 0;
    padding: 16px 20px 18px;
  }
  .quotes { margin-top: -13px; margin-left: 0; }

  .calculation { min-height: 452px; padding-top: 0; }
  .accent-line { width: 75px; margin-left: 20px; }

  .calculation > .narrow > h2 {
    margin: 14px 20px 22px;
    font-size: 20px;
    line-height: 1.2;
  }

  .calculation-copy {
    margin: 0 20px 22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .max-cta-panel { margin-inline: 20px; padding: 20px; }

  .factory-note {
    margin: 30px 20px 0;
    font-size: 15px;
    line-height: 1.56;
  }

  footer { padding: 40px 20px 8px; font-size: 10px; }
}

@media (max-width: 390px) {
  .owner-message { font-size: 13px; }
  .owner-photo { right: -44px; }
}

@media (max-width: 355px) {
  .calculation > .narrow > h2 { font-size: 18px; }
  .owner-message { font-size: 12px; }
}

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