:root {
  --ink: #17252d;
  --muted: #66747a;
  --paper: #f6f8f5;
  --surface: #ffffff;
  --green: #2c6756;
  --mint: #c8e2d5;
  --line: #dbe2dd;
  --shadow: 0 24px 70px rgba(20, 42, 47, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }

a { color: inherit; }

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  box-shadow: 3px 3px 0 var(--mint);
}

.header-link,
.site-footer a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link:hover,
.site-footer a:hover,
.policy-content a:hover { color: var(--green); }

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 118px;
  overflow: hidden;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: .88;
}

.phone-gallery {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  max-width: 1000px;
}

.phone-shot {
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid rgba(23, 37, 45, .08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-shot img { border-radius: 20px; }
.phone-shot-left { transform: rotate(-3deg) translateY(22px); }
.phone-shot-center { position: relative; z-index: 1; }
.phone-shot-right { transform: rotate(3deg) translateY(22px); }

.intro {
  padding: 120px max(24px, calc((100vw - 900px) / 2));
  color: white;
  background: var(--green);
}

.intro .section-label { color: var(--mint); }

.intro h2 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: .96;
}

.intro-text {
  max-width: 760px;
  margin: 52px 0 0 auto;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.5;
}

.wide-gallery {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  gap: 32px;
}

.wide-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 8px solid var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.wide-gallery img { border-radius: 11px; }

.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav { display: flex; gap: 28px; }

.policy-shell {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.policy-heading {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h1 {
  font-size: clamp(56px, 9vw, 96px);
  line-height: .95;
}

.policy-heading > p:last-child {
  margin: 28px 0 0;
  color: var(--muted);
}

.policy-content { padding-top: 48px; }

.policy-content h2 {
  margin: 52px 0 16px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.policy-content p {
  margin: 0 0 18px;
  color: #405158;
  font-size: 17px;
  line-height: 1.75;
}

.policy-content a { color: var(--green); font-weight: 650; }

:focus-visible { outline: 3px solid #e1a84b; outline-offset: 4px; }

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .hero,
  .wide-gallery,
  .policy-shell { width: min(100% - 32px, 1180px); }

  .site-header { min-height: 76px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 30px; height: 37px; }
  .header-link { font-size: 11px; }
  .hero { padding: 48px 0 84px; }

  .phone-gallery {
    width: 142%;
    margin: 0 0 0 -21%;
    gap: 10px;
  }

  .phone-shot { padding: 4px; border-radius: 16px; }
  .phone-shot img { border-radius: 12px; }
  .phone-shot-left,
  .phone-shot-right { transform: translateY(12px); }
  .intro { padding-block: 84px; }
  .intro-text { margin-top: 36px; }
  .wide-gallery { padding: 72px 0; gap: 18px; }
  .wide-gallery figure { border-width: 4px; border-radius: 12px; }

  .site-footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p { margin: 0; }
  .site-footer nav { flex-wrap: wrap; gap: 18px 24px; }
  .policy-shell { padding: 70px 0 88px; }
  .policy-heading { padding-bottom: 44px; }
  .policy-content p { font-size: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone-shot { animation: settle .75s cubic-bezier(.2, .8, .2, 1) both; }
  .phone-shot-center { animation-delay: .08s; }
  .phone-shot-right { animation-delay: .16s; }
  @keyframes settle {
    from { opacity: 0; translate: 0 28px; }
    to { opacity: 1; translate: 0 0; }
  }
}
