:root {
  --brown-950: #2f1c10;
  --brown-900: #3d2516;
  --brown-800: #523520;
  --brown-700: #68462b;
  --brown-600: #7c5636;
  --caramel: #bd7541;
  --peach: #e6a56d;
  --apricot: #f6c894;
  --cream: #fff9f0;
  --cream-2: #fffdf9;
  --sand: #f4e4d1;
  --ink: #39291f;
  --muted: #806f63;
  --line: rgba(96, 60, 36, 0.16);
  --danger: #a54234;
  --danger-bg: #fff0ec;
  --success: #2f6d50;
  --white: #ffffff;
  --shadow-sm: 0 12px 35px rgba(63, 38, 22, 0.08);
  --shadow-md: 0 24px 70px rgba(63, 38, 22, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream-2);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--white);
  background: var(--brown-700);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  border: 0;
}

input,
select {
  font-size: 16px;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brown-900);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(86, 53, 31, 0.08);
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--brown-900);
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(30px, 3.2vw, 46px);
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.footer-links a {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brown-800);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.header-cta:hover {
  background: var(--brown-950);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 178, 117, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #fff9f0 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding-block: 84px 150px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--caramel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--apricot);
}

.hero h1,
.calculator-heading h2,
.how-heading h2,
.safety-card h2,
.section-heading h3,
.result-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  text-wrap: balance;
}

.hero h1 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero h1 span {
  display: block;
  margin-bottom: 12px;
  color: var(--peach);
  font-family: "Manrope", sans-serif;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.2;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button-primary {
  color: var(--white);
  background: var(--brown-800);
  box-shadow: 0 12px 30px rgba(74, 45, 27, 0.18);
}

.button-primary:hover {
  background: var(--brown-950);
  box-shadow: 0 16px 38px rgba(74, 45, 27, 0.25);
}

.button-secondary {
  color: var(--brown-800);
  border-color: rgba(82, 53, 32, 0.18);
  background: var(--cream);
}

.button-secondary:hover {
  border-color: rgba(82, 53, 32, 0.35);
  background: var(--white);
}

.button-ghost {
  color: var(--brown-700);
  border-color: var(--line);
  background: transparent;
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 13px;
}

.button-large {
  min-height: 58px;
  padding-inline: 32px;
}

.text-link {
  color: var(--brown-700);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note-icon {
  min-width: 50px;
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brown-700);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(246, 200, 148, 0.18);
  box-shadow: inset 0 0 0 1px rgba(189, 117, 65, 0.12);
}

.hero-drinks {
  position: relative;
  z-index: 3;
  width: min(42vw, 520px);
  filter: drop-shadow(0 28px 38px rgba(100, 56, 25, 0.14));
}

.hero-beer {
  position: absolute;
  right: 1%;
  bottom: 4%;
  z-index: 4;
  width: clamp(130px, 15vw, 210px);
  filter: drop-shadow(0 24px 26px rgba(100, 56, 25, 0.18));
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(189, 117, 65, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 86%;
  aspect-ratio: 1;
  transform: rotate(-18deg) scaleY(0.72);
}

.orbit-two {
  width: 64%;
  aspect-ratio: 1;
  border-style: dashed;
  transform: rotate(28deg) scaleY(0.72);
}

.spark {
  position: absolute;
  z-index: 5;
  color: var(--peach);
}

.spark-one {
  top: 10%;
  left: 10%;
  font-size: 32px;
}

.spark-two {
  top: 25%;
  right: 8%;
  font-size: 18px;
}

.spark-three {
  bottom: 20%;
  left: 4%;
  font-size: 42px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  top: 22%;
  left: -130px;
  width: 260px;
  height: 260px;
  background: rgba(232, 165, 105, 0.12);
}

.hero-glow-two {
  right: -140px;
  bottom: 18%;
  width: 330px;
  height: 330px;
  background: rgba(82, 53, 32, 0.08);
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
}

.hero-wave path {
  fill: #584129;
}

.calculator-section {
  position: relative;
  padding: 38px 0 110px;
  color: var(--white);
  background: #584129;
}

.calculator-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.calculator-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 600;
  line-height: 0.98;
}

.calculator-heading > p:last-child {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.75fr);
  align-items: start;
  gap: 28px;
}

.calculator-form {
  display: grid;
  gap: 24px;
}

.form-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(82, 53, 32, 0.1);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}

.profile-panel {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 88% 12%, rgba(246, 200, 148, 0.17), transparent 25%),
    linear-gradient(145deg, var(--brown-900), #4a2e1c 70%);
}

.section-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 28px;
}

.section-heading h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.section-kicker {
  margin: 1px 0 5px;
  color: var(--caramel);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading-light .section-kicker {
  color: var(--apricot);
}

.step-number {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.8;
}

.gender-fieldset,
.metabolism-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.gender-fieldset legend,
.metabolism-fieldset legend {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  font-weight: 700;
}

.gender-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gender-card {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.gender-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 148, 0.48);
}

.gender-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gender-card:has(input:checked) {
  border-color: var(--apricot);
  background: rgba(246, 200, 148, 0.13);
  box-shadow: inset 0 0 0 1px rgba(246, 200, 148, 0.2);
}

.gender-visual {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 249, 240, 0.92);
}

.gender-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gender-label {
  font-size: 16px;
  font-weight: 800;
}

.gender-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brown-900);
  background: var(--apricot);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.gender-card:has(input:checked) .gender-check {
  opacity: 1;
  transform: scale(1);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric-control > label {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.stepper,
.compact-stepper {
  display: grid;
  align-items: center;
  border-radius: 18px;
}

.stepper {
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.075);
}

.stepper button,
.compact-stepper button {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  color: inherit;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  transition: background-color 160ms ease, transform 160ms ease;
}

.stepper button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stepper button:active,
.compact-stepper button:active {
  transform: scale(0.92);
}

.stepper-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.stepper-value input {
  width: 64px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 24px;
  font-weight: 800;
  text-align: right;
}

.stepper-value span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.metabolism-fieldset {
  margin-top: 24px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.segmented-control label {
  position: relative;
  cursor: pointer;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
}

.segmented-control span {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.segmented-control small {
  display: block;
  color: inherit;
  font-size: 9px;
  font-weight: 600;
}

.segmented-control input:checked + span {
  color: var(--brown-900);
  background: var(--apricot);
  box-shadow: 0 8px 22px rgba(25, 13, 7, 0.16);
}

.timing-panel {
  min-height: 360px;
}

.timing-art {
  position: absolute;
  top: -32px;
  right: -28px;
  width: 190px;
  opacity: 0.22;
  pointer-events: none;
}

.timing-art circle,
.timing-art path {
  fill: none;
  stroke: var(--caramel);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timing-art .clock-inner {
  stroke-width: 0.8;
  stroke-dasharray: 3 5;
}

.timing-art .clock-dot {
  fill: var(--caramel);
  stroke: none;
}

.timing-art .clock-tick {
  stroke-width: 1.4;
}

.preset-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--brown-700);
  background: var(--cream);
  font-size: 12px;
  font-weight: 800;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.chip-button:hover {
  border-color: rgba(82, 53, 32, 0.35);
  background: var(--white);
  transform: translateY(-1px);
}

.datetime-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.input-shell,
.suffix-input {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-shell:focus-within,
.suffix-input:focus-within,
.drink-variant:focus-visible,
.custom-drink-row input:focus-visible {
  border-color: var(--caramel);
  box-shadow: 0 0 0 4px rgba(189, 117, 65, 0.12);
  outline: 0;
}

.input-shell svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--caramel);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.input-shell input,
.suffix-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.field-group-accent .input-shell {
  border-color: rgba(189, 117, 65, 0.45);
  background: #fff6e9;
}

.section-description {
  max-width: 680px;
  margin: -12px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.drink-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drink-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.drink-card:hover {
  border-color: rgba(189, 117, 65, 0.3);
  box-shadow: 0 14px 32px rgba(74, 45, 27, 0.08);
  transform: translateY(-2px);
}

.drink-card:first-child {
  grid-column: 1 / -1;
}

.drink-image {
  width: 72px;
  height: 88px;
  display: grid;
  place-items: center;
}

.drink-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(112, 62, 27, 0.1));
}

.drink-card-copy {
  min-width: 0;
}

.drink-card-copy label {
  display: block;
  color: var(--brown-900);
  font-size: 15px;
  font-weight: 800;
}

.drink-card-copy > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.drink-variant {
  width: min(100%, 270px);
  min-height: 40px;
  margin-top: 5px;
  padding: 0 32px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.compact-stepper {
  grid-template-columns: 42px 44px 42px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.compact-stepper button {
  color: var(--brown-800);
  font-size: 21px;
}

.compact-stepper button:hover {
  background: rgba(189, 117, 65, 0.1);
}

.compact-stepper input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--brown-900);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.custom-drinks {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.custom-drinks-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.custom-drinks-heading h4 {
  margin: 0;
  color: var(--brown-900);
  font-size: 16px;
}

.custom-drinks-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.custom-drinks-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.custom-drink-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.7fr auto 42px;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}

.custom-drink-row > .field-group > input,
.custom-name {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

.suffix-input {
  min-height: 48px;
  padding-inline: 12px;
  border-radius: 14px;
}

.suffix-input span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.remove-custom {
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  cursor: pointer;
  color: var(--danger);
  background: var(--danger-bg);
  font-size: 24px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.remove-custom:hover {
  background: #ffe5de;
  transform: scale(1.04);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.form-error {
  padding: 16px 18px;
  border: 1px solid rgba(165, 66, 52, 0.25);
  border-radius: 18px;
  color: #7f2d23;
  background: var(--danger-bg);
  font-size: 14px;
  font-weight: 700;
}

.result-column {
  position: sticky;
  top: 104px;
}

.result-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(189, 117, 65, 0.2);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 240, 0.98)),
    var(--cream);
  box-shadow: var(--shadow-md);
}

.result-card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -140px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(189, 117, 65, 0.16);
  border-radius: 50%;
}

.result-content {
  position: relative;
  z-index: 2;
}

.result-kicker {
  margin: 0 0 4px;
  color: var(--caramel);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.result-card h2 {
  max-width: 280px;
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  line-height: 0.95;
}

.result-main {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.result-main > span {
  color: var(--brown-800);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(72px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.78;
}

.result-main div {
  display: grid;
  padding-bottom: 7px;
}

.result-main strong {
  color: var(--caramel);
  font-size: 20px;
}

.result-main small {
  max-width: 100px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.result-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--sand);
  font-size: 11px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.result-status.is-ok {
  color: var(--success);
  background: #e9f5ee;
}

.result-status.is-over {
  color: var(--danger);
  background: var(--danger-bg);
}

.result-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.result-stat {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.result-stat span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
}

.result-stat strong {
  color: var(--brown-800);
  font-size: 15px;
}

.equivalents {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(244, 228, 209, 0.45);
}

.equivalents > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.equivalents.is-over-limit {
  border-color: rgba(165, 66, 52, 0.24);
  background: var(--danger-bg);
}

.equivalents.is-over-limit > p {
  color: var(--danger);
}

.equivalent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.equivalent-grid div {
  min-width: 0;
  display: grid;
  justify-items: center;
  padding: 8px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.equivalent-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.equivalent-grid strong {
  margin-top: 3px;
  color: var(--brown-800);
  font-size: 18px;
}

.equivalent-grid span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
}

.result-warning {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(165, 66, 52, 0.22);
  border-radius: 16px;
  color: #7f2d23;
  background: var(--danger-bg);
  font-size: 11px;
}

.result-disclaimer {
  max-width: 300px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.result-bottle {
  position: absolute;
  right: -20px;
  bottom: -38px;
  z-index: 1;
  width: 165px;
  opacity: 0.48;
  pointer-events: none;
}

.how-section {
  padding: 110px 0;
  background: var(--cream-2);
}

.how-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.how-heading h2,
.safety-card h2 {
  margin: 0;
  color: var(--brown-900);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  line-height: 0.98;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.how-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.how-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brown-800);
  background: var(--sand);
  font-size: 11px;
  font-weight: 800;
}

.how-card h3 {
  margin: 54px 0 10px;
  color: var(--brown-900);
  font-size: 18px;
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.safety-section {
  padding: 0 0 110px;
  background: var(--cream-2);
}

.safety-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(165, 66, 52, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff6f2, #fffdf9);
}

.safety-card h2 {
  font-size: clamp(34px, 4vw, 55px);
}

.safety-card p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.safety-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 66, 52, 0.22);
  border-radius: 50%;
  color: var(--danger);
  background: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  padding: 118px 0 50px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  background: #584129;
}

.footer-wave {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  width: 100%;
  height: 90px;
  transform: rotate(180deg);
  transform-origin: center;
}

.footer-wave path {
  fill: var(--cream-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr auto 1fr;
  align-items: end;
  gap: 50px;
}

.brand-light {
  color: var(--white);
}

.brand-footer-logo {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand-footer-logo img {
  height: clamp(38px, 4.8vw, 60px);
}

.brand-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.94);
  box-shadow: inset 0 0 0 1px rgba(237, 209, 182, 0.45);
}

.brand-pill img {
  height: clamp(34px, 4vw, 52px);
}

.footer-grid > div:first-child p {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--white);
}

.footer-legal {
  margin: 0;
  font-size: 11px;
  text-align: right;
}

.mobile-result-bar {
  display: none;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  padding: 16px;
  border-radius: 16px;
  color: var(--white);
  background: var(--danger);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}

:focus-visible {
  outline: 3px solid rgba(189, 117, 65, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 30px;
  }

  .calculator-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .datetime-grid {
    grid-template-columns: 1fr;
  }

  .drink-grid {
    grid-template-columns: 1fr;
  }

  .drink-card:first-child {
    grid-column: auto;
  }

  .custom-drink-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .remove-custom {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 66px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 56px 132px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .hero-note {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 390px;
  }

  .hero-drinks {
    width: min(78vw, 460px);
  }

  .hero-beer {
    right: 8%;
    width: min(31vw, 180px);
  }

  .calculator-section {
    padding-bottom: 96px;
  }

  .calculator-heading {
    text-align: center;
  }

  .calculator-heading > p:last-child {
    margin-inline: auto;
  }

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

  .result-column {
    position: static;
  }

  .result-card {
    min-height: auto;
  }

  .result-disclaimer {
    max-width: 70%;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: auto;
  }

  .how-card h3 {
    margin-top: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .footer-legal {
    text-align: left;
  }

  .mobile-result-bar {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    z-index: 90;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    color: var(--white);
    background: rgba(88, 65, 41, 0.96);
    box-shadow: 0 22px 50px rgba(31, 18, 10, 0.28);
    backdrop-filter: blur(16px);
  }

  .mobile-result-bar > div {
    display: grid;
  }

  .mobile-result-bar span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
  }

  .mobile-result-bar strong {
    font-size: 18px;
  }

  .mobile-result-bar .button {
    min-height: 50px;
    background: var(--apricot);
    color: var(--brown-900);
    box-shadow: none;
  }

  .site-footer {
    padding-bottom: 122px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero-grid {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero h1 span {
    font-size: 12px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
    text-align: left;
  }

  .hero-art {
    min-height: 330px;
    margin-top: -10px;
  }

  .hero-beer {
    right: 1%;
    bottom: 0;
  }

  .calculator-heading h2 {
    font-size: 46px;
  }

  .form-panel,
  .result-card {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .section-heading h3 {
    font-size: 32px;
  }

  .gender-grid {
    gap: 10px;
  }

  .gender-card {
    min-height: 142px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding: 14px 10px;
    text-align: center;
  }

  .gender-visual {
    width: 70px;
    height: 70px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .stepper {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
  }

  .segmented-control {
    grid-template-columns: 1fr;
  }

  .segmented-control span {
    min-height: 48px;
  }

  .timing-art {
    top: -12px;
    right: -52px;
    width: 150px;
  }

  .preset-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chip-button:last-child {
    grid-column: 1 / -1;
  }

  .drink-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .drink-image {
    width: 62px;
    height: 78px;
  }

  .drink-card .compact-stepper {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 58px 1fr 58px;
  }

  .custom-drinks-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-drinks-heading .button {
    width: 100%;
  }

  .custom-drink-row {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .custom-drink-row .compact-stepper {
    grid-template-columns: 58px 1fr 58px;
  }

  .form-actions {
    display: grid;
  }

  .form-actions .button {
    width: 100%;
  }

  .result-card h2 {
    max-width: 250px;
  }

  .result-main > span {
    font-size: 78px;
  }

  .result-stat-grid {
    grid-template-columns: 1fr;
  }

  .result-stat {
    min-height: 70px;
  }

  .equivalent-grid {
    gap: 5px;
  }

  .result-bottle {
    right: -42px;
    width: 150px;
  }

  .result-disclaimer {
    max-width: 68%;
  }

  .how-section {
    padding-block: 82px;
  }

  .how-heading h2 {
    font-size: 46px;
  }

  .safety-card {
    grid-template-columns: 1fr;
  }

  .safety-icon {
    width: 66px;
    height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .parallax {
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Dyskretne miejsca reklamowe */
.ad-section {
  padding: 18px 0;
  background: var(--cream);
}

.ad-section-top {
  padding-top: 12px;
  padding-bottom: 24px;
  background: #584129;
}

.ad-section-top .ad-shell {
  border-color: rgba(255, 245, 236, 0.16);
  background: rgba(255, 248, 243, 0.94);
  box-shadow: 0 16px 34px rgba(30, 18, 10, 0.16);
}

.ad-section-top .ad-label,
.ad-section-top .ad-placeholder {
  color: rgba(96, 69, 45, 0.56);
}

.ad-section-bottom {
  padding-top: 26px;
  padding-bottom: 10px;
  background: var(--white);
}

.ad-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 970px);
  min-height: 96px;
  margin-inline: auto;
  padding: 20px 22px 16px;
  overflow: hidden;
  border: 1px solid rgba(111, 74, 45, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 42px rgba(81, 51, 31, 0.045);
}

.ad-label {
  position: absolute;
  top: 8px;
  left: 14px;
  color: rgba(82, 53, 32, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.adsbygoogle {
  width: 100%;
  min-height: 62px;
}

.ad-placeholder {
  position: absolute;
  inset: 20px 16px 12px;
  display: grid;
  place-items: center;
  color: rgba(82, 53, 32, 0.34);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.ad-shell.is-live .ad-placeholder {
  display: none;
}

body.ads-disabled .ad-section {
  display: none;
}

/* Banner cookies */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  width: min(760px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid rgba(111, 74, 45, 0.14);
  border-radius: 24px;
  background: rgba(255, 250, 245, 0.96);
  box-shadow: 0 24px 70px rgba(67, 39, 21, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: cookie-enter 280ms ease-out both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(221, 151, 91, 0.16);
  font-size: 22px;
}

.cookie-copy h2 {
  margin: 0 0 3px;
  color: var(--brown-900);
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  line-height: 1;
}

.cookie-copy p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 15px;
  white-space: nowrap;
  font-size: 12px;
}

.footer-cookie-button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  opacity: 0.82;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

@keyframes cookie-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 720px) {
  .ad-section {
    padding-block: 12px;
  }

  .ad-shell {
    min-height: 86px;
    padding-inline: 14px;
    border-radius: 18px;
  }

  .cookie-banner {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100vw - 24px);
    padding: 14px;
    border-radius: 20px;
  }

  .cookie-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .cookie-copy h2 {
    font-size: 19px;
  }

  .cookie-copy p {
    font-size: 11px;
  }

  .cookie-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-icon {
    display: none;
  }

  .cookie-actions {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }
}

/* Mobile landing composition based on the dedicated Figma view. */
.mobile-hero-scene,
.mobile-hero-wave,
.mobile-button-label {
  display: none;
}

.desktop-button-label {
  display: inline;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 18px;
  }

  .site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .site-header .container {
    width: calc(100% - 56px);
  }

  .header-inner {
    min-height: 0;
    justify-content: flex-start;
    padding-top: max(24px, env(safe-area-inset-top));
  }

  .brand img {
    width: clamp(150px, 43vw, 178px);
    height: auto;
  }

  .hero {
    min-height: 100svh;
    display: block;
    overflow: hidden;
    background: #ffffff;
  }

  .hero-glow,
  .hero-art,
  .hero-wave,
  .hero-copy .eyebrow,
  .hero-lead,
  .hero-note,
  .hero-actions .text-link {
    display: none;
  }

  .hero-grid {
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: clamp(174px, 27svh, 236px) 18px clamp(154px, 23svh, 214px);
  }

  .mobile-hero-scene {
    position: relative;
    z-index: 3;
    display: block;
    width: min(100%, 430px);
    height: auto;
    margin: 0 auto;
    filter: none;
  }

  .hero-copy,
  .hero-copy.reveal {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: none;
    margin-top: clamp(8px, 1.8svh, 16px);
    text-align: center;
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    margin: 0;
    color: #dcc2ad;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(13px, 3.8vw, 17px);
    font-weight: 400;
    letter-spacing: 0.045em;
    line-height: 1.32;
    text-transform: uppercase;
  }

  .hero h1 span {
    display: block;
    margin: 0 0 2px;
    color: #cda274;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(37px, 10.8vw, 48px);
    font-weight: 400;
    letter-spacing: 0.045em;
    line-height: 1.03;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(24px, 4svh, 34px);
  }

  .hero-actions .button {
    width: auto;
    min-width: 150px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 12px;
    color: #ffffff;
    background: #c9a176;
    box-shadow: 0 8px 13px rgba(73, 51, 33, 0.28);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .hero-actions .button:hover,
  .hero-actions .button:focus-visible {
    background: #bd9164;
  }

  .desktop-button-label {
    display: none;
  }

  .mobile-button-label {
    display: inline;
  }

  .mobile-hero-wave {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: rotate(180deg);
    transform-origin: center;
  }

  .mobile-hero-wave path {
    fill: #584129;
  }

  .ad-section-top {
    position: relative;
    z-index: 2;
  }

  .mobile-result-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 28px));
    transition: opacity 220ms ease, transform 260ms ease;
  }

  .mobile-result-bar.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 390px) and (max-height: 720px) {
  .hero-grid {
    padding-top: 164px;
    padding-bottom: 130px;
  }

  .mobile-hero-scene {
    width: min(100%, 390px);
  }

  .hero h1 span {
    font-size: 38px;
  }

  .hero-actions {
    margin-top: 22px;
  }
}

/* Localization: prevent longer translations from overflowing on small screens. */
@media (max-width: 720px) {
  html:not([lang="pl"]) .hero h1 span { font-size: clamp(30px, 8.7vw, 43px); }
  html[lang="de"] .hero h1 span,
  html[lang="uk"] .hero h1 span { font-size: clamp(27px, 7.8vw, 39px); letter-spacing: 0.025em; }
  html:not([lang="pl"]) .hero-actions .button { max-width: calc(100vw - 44px); white-space: normal; }
}
