@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #222422;
  --muted: #515450;
  --paper: #f7f2e9;
  --accent: #a83f15;
  --accent-hover: #893310;
  --line: #d9d0c1;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #f2be9d; color: var(--ink); }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; transform: translateY(-200%); padding: .6rem; background: white; }
.skip:focus { transform: none; }
.header { padding: 12px clamp(18px, 4.3vw, 72px); min-height: 82px; background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { flex: 0 1 246px; }
.brand img { width: 100%; height: auto; aspect-ratio: 3 / 1; }
nav, .actions { display: flex; gap: clamp(12px, 2.25vw, 36px); align-items: center; flex-wrap: wrap; }
nav a { font-weight: 650; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 48px; padding: 12px 19px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; text-align: center; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.dark { background: var(--ink); color: white; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-hover); }
.outline { border-color: var(--ink); background: transparent; }
.outline:hover { background: #eadfce; }
.hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); background: var(--paper); }
.hero-copy { padding: clamp(42px, 5.4vw, 94px) clamp(22px, 4.3vw, 72px); align-self: center; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.037em; }
h1 { font-size: clamp(3rem, 6.2vw, 6rem); line-height: .99; font-weight: 800; }
.hero p { margin: 22px 0 29px; max-width: 31ch; font-size: clamp(1.08rem, 1.7vw, 1.5rem); line-height: 1.43; }
.actions { gap: 12px; }
.hero-image { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.section { padding: clamp(28px, 4.6vw, 76px) clamp(22px, 4.3vw, 72px); }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.06; }
h3 { font-size: 1.25rem; }
p { line-height: 1.55; }
.steps ol { padding: 0; margin: 27px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps li { display: flex; align-items: flex-start; gap: 14px; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps span { display: grid; place-items: center; background: var(--accent); color: white; flex: 0 0 38px; height: 38px; border-radius: 50%; font-weight: 750; }
.steps p, .company p, .offer p, .privacy p { margin-top: 8px; color: var(--muted); }
.offer { background: var(--paper); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 6vw, 90px); }
.offer > div p { max-width: 34ch; }
form { background: white; border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 3vw, 36px); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: block; font-size: .94rem; font-weight: 650; }
small { font-size: .82rem; color: var(--muted); font-weight: 450; }
input, select, textarea { display: block; margin-top: 6px; width: 100%; min-width: 0; min-height: 46px; padding: 10px; border-radius: 6px; border: 1px solid #918b80; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.photo-upload { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: var(--paper); }
.photo-upload p { font-size: .87rem; }
.photo-upload input { background: white; }
.photo-upload input::file-selector-button { border: 0; border-radius: 4px; padding: 7px 10px; margin-right: 8px; background: var(--ink); color: white; cursor: pointer; }
#photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; }
#photo-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
#photo-preview button { width: 100%; min-height: 38px; margin-top: 3px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.offer .form-note { margin: 15px 0; font-size: .87rem; }
#form-status { margin-top: 16px; padding: 10px 13px; background: var(--paper); color: var(--ink); border-radius: 6px; }
button:disabled { opacity: .7; cursor: wait; }
.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.company p { max-width: 47ch; }
.company .button { margin-top: 16px; }
.privacy { padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); }
.privacy p { max-width: 70ch; }
summary { cursor: pointer; font-weight: 650; }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 20px; padding-bottom: 20px; background: var(--ink); color: white; font-size: .9rem; }
@media (max-width: 800px) {
  .hero, .offer { grid-template-columns: 1fr; }
  .hero-image { min-height: 0; height: auto; aspect-ratio: 1.65; }
  .steps ol { grid-template-columns: 1fr; gap: 14px; }
  .steps li + li { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .header { gap: 8px; flex-wrap: wrap; }
  .brand { flex-basis: 146px; }
  nav { gap: 12px; font-size: .82rem; }
  nav .button { min-height: 40px; padding: 7px 10px; }
  .fields, .company { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
