/* SUNMARI official site — shared styles for all pages and both languages. */

:root {
  --paper: #fbf7f0;
  --paper-deep: #f4ecdf;
  --card: #ffffff;
  --ink: #1c2b30;
  --muted: #56656a;
  --sun: #f2a52b;
  --sun-soft: #fde7bd;
  --amber-text: #8f5503;
  --teal: #1f4b59;
  --teal-deep: #143843;
  --olive: #6f7f4a;
  --line: rgba(28, 43, 48, 0.14);
  --line-light: rgba(243, 239, 230, 0.18);
  --shadow: 0 18px 40px rgba(28, 43, 48, 0.1);
  --radius: 16px;
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Shows only the sun-and-waves part of the square logo file. */
.brand-mark {
  width: 52px;
  height: 40px;
  background: url("sunmari-logo.svg") no-repeat -18px -12px / 88px 88px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links > a:not(.button) {
  position: relative;
  padding: 6px 0;
}

.nav-links > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links > a:not(.button):hover {
  color: var(--ink);
}

.nav-links > a:not(.button):hover::after {
  transform: scaleX(1);
}

.lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.lang a,
.lang span {
  padding: 3px 10px;
  border-radius: 999px;
}

.lang a:hover {
  color: var(--ink);
}

.lang [aria-current] {
  background: var(--ink);
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

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

.button .arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button.primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(242, 165, 43, 0.28);
}

.button.primary:hover {
  background: #f7b446;
  box-shadow: 0 12px 26px rgba(242, 165, 43, 0.36);
}

.button.ghost {
  border-color: rgba(28, 43, 48, 0.24);
  background: transparent;
}

.button.ghost:hover {
  background: rgba(28, 43, 48, 0.05);
}

.button.light {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  color: #f3efe6;
}

.button.light:hover {
  background: #f3efe6;
  color: var(--ink);
}

.nav .button {
  min-height: 40px;
  padding: 8px 18px;
  box-shadow: none;
}

.mobile-menu {
  position: relative;
  display: none;
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.menu-button::-webkit-details-marker {
  display: none;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(270px, calc(100vw - 40px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.mobile-menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.mobile-menu-panel a:hover {
  background: var(--paper-deep);
}

/* Hero */

.hero {
  padding: 76px 0 36px;
  background: radial-gradient(700px 520px at 80% 40%, rgba(242, 165, 43, 0.13), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(143, 85, 3, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--amber-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(242, 165, 43, 0.22);
}

h1 {
  margin-top: 24px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.06;
}

h1 em {
  font-style: italic;
  color: var(--sun);
}

.hero-copy {
  margin-top: 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Fades all four edges of the picture into the page so it reads as part of the page, not a framed photo. */
.hero-art img {
  width: 114%;
  max-width: none;
  height: auto;
  margin-left: -8%;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 78%, transparent);
  mask-composite: intersect;
}

@media (min-width: 1240px) {
  .hero-art img {
    width: 126%;
    margin-left: -11%;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.fact {
  padding: 22px 26px 24px;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
}

/* Sections */

section {
  padding: 104px 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--amber-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(143, 85, 3, 0.34);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 52px;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
}

.section-desc {
  color: var(--muted);
  font-size: 17px;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service {
  padding: 10px 10px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 43, 48, 0.24);
  box-shadow: var(--shadow);
}

.service-art {
  overflow: hidden;
  border-radius: 14px;
}

.service-art svg {
  width: 100%;
  height: auto;
}

.service-art .float {
  filter: drop-shadow(0 10px 14px rgba(28, 43, 48, 0.13));
}

.art-web {
  background: linear-gradient(160deg, #fdebc8, #f8dcae);
}

.art-mobile {
  background: linear-gradient(160deg, #dbe8ea, #c5d9dd);
}

.art-auto {
  background: linear-gradient(160deg, #e9eedb, #d8e0c1);
}

.art-other {
  background: linear-gradient(160deg, #f3e9da, #e8d8c0);
}

.service-body {
  position: relative;
  padding: 26px 22px 0;
}

.service-num {
  position: absolute;
  top: 30px;
  right: 22px;
  color: rgba(28, 43, 48, 0.34);
  font-family: var(--serif);
  font-size: 15px;
}

.service h3 {
  padding-right: 40px;
  font-size: 28px;
  line-height: 1.15;
}

.service p {
  margin-top: 10px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  list-style: none;
}

.tags li {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
}

/* Scope */

.scope {
  background: var(--paper-deep);
}

.scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
}

.scope-head {
  position: sticky;
  top: 108px;
  align-self: start;
}

.scope-head .section-desc {
  margin-top: 22px;
}

.scope-note {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 3px solid var(--sun);
  color: var(--teal);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.35;
}

.scope-list {
  list-style: none;
  counter-reset: scope;
}

.scope-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  counter-increment: scope;
}

.scope-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.scope-list li::after {
  content: counter(scope, decimal-leading-zero);
  padding-top: 4px;
  color: rgba(28, 43, 48, 0.34);
  font-family: var(--serif);
  font-size: 15px;
}

.scope-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  color: var(--teal);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.scope-list li:hover .scope-icon {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--sun);
}

.scope-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scope-list h3 {
  font-size: 24px;
  line-height: 1.2;
}

.scope-list p {
  margin-top: 6px;
  color: var(--muted);
}

/* Process */

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 52px;
}

.steps {
  display: contents;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-right: 30px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 16px;
}

.steps li:nth-child(4)::before {
  background: var(--sun);
  color: var(--ink);
}

/* Dotted connector from each step marker to the next one. */
.steps li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 58px;
  right: 12px;
  border-top: 2px dotted rgba(28, 43, 48, 0.3);
}

.steps li:nth-child(4n)::after,
.steps li:last-child::after {
  display: none;
}

.steps h3 {
  margin-top: 20px;
  font-size: 22px;
  line-height: 1.22;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.note {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.note dt {
  color: var(--amber-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note dd {
  font-size: 15px;
}

.note dd + dt {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Pricing */

.pricing {
  background:
    radial-gradient(640px 420px at 88% 0%, rgba(242, 165, 43, 0.14), transparent 70%),
    var(--teal-deep);
  color: #f3efe6;
}

.pricing .kicker {
  color: var(--sun);
}

.pricing .kicker b {
  border-color: rgba(242, 165, 43, 0.5);
}

.pricing .kicker::after {
  background: var(--line-light);
}

.pricing .section-desc {
  color: rgba(243, 239, 230, 0.72);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 32px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.plan:hover {
  border-color: rgba(242, 165, 43, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.plan-tag {
  color: var(--sun);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan h3 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.12;
}

.plan-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  color: var(--sun);
}

.plan-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 26px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.plan-price strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.plan-price span {
  color: rgba(243, 239, 230, 0.72);
  font-size: 15px;
}

.plan ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 30px;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--sun);
  border-bottom: 2px solid var(--sun);
  transform: rotate(-45deg);
}

.plan .button {
  margin-top: auto;
}

.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.terms div {
  padding: 22px 28px 24px;
}

.terms div + div {
  border-left: 1px solid var(--line-light);
}

.terms dt {
  color: rgba(243, 239, 230, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terms dd {
  margin-top: 6px;
  font-size: 16px;
}

.terms a {
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-underline-offset: 4px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.contact-info > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.next-steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  list-style: none;
  counter-reset: next;
}

.next-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  counter-increment: next;
}

.next-steps li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sun-soft);
  color: var(--amber-text);
  font-size: 13px;
  font-weight: 700;
}

.contact-info dl {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-info dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info dd {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 24px;
}

.contact-info dd a:hover {
  color: var(--teal);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
  align-content: start;
}

.field.full,
.quote-form fieldset,
.form-foot {
  grid-column: 1 / -1;
}

.field label,
.quote-form legend {
  font-size: 14px;
  font-weight: 600;
}

.field label small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(28, 43, 48, 0.24);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field ::placeholder {
  color: rgba(86, 101, 106, 0.7);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(31, 75, 89, 0.22);
  border-color: var(--teal);
  background: #ffffff;
}

.quote-form fieldset {
  border: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(28, 43, 48, 0.24);
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.choice span:hover {
  border-color: var(--teal);
}

.choice input:checked + span {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--teal);
}

.form-foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hidden {
  display: none;
}

/* Policy pages */

.doc {
  padding: 72px 0 104px;
}

.doc-inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.doc-kicker {
  color: var(--amber-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.doc h1 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
}

.doc .effective {
  margin-top: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.doc .lead {
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.doc h2 {
  margin: 44px 0 12px;
  font-size: 25px;
  line-height: 1.25;
}

.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 12px;
}

.doc ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.doc li::marker {
  color: var(--sun);
}

.doc li ul {
  margin: 10px 0;
}

.doc p a,
.doc li a,
.doc-company a {
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-underline-offset: 3px;
}

.doc-company {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.doc-company strong {
  color: var(--ink);
  font-size: 16px;
}

.doc-thanks {
  padding: 48px 0;
  text-align: center;
}

.doc-thanks .lead {
  margin-bottom: 32px;
}

/* Footer */

footer {
  padding: 60px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
  gap: 48px;
}

.footer-company strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 15px;
}

.footer-company p {
  max-width: 460px;
  margin-top: 6px;
}

.footer-company p,
.footer-col a {
  color: var(--muted);
}

.footer-col h3 {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
}

.footer-col a:hover,
.footer-company p a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Responsive */

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .section-head,
  .scope-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 40px;
  }

  .scope-grid {
    gap: 40px;
  }

  .scope-head {
    position: static;
  }

  .hero-art {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .hero-art img {
    width: 100%;
    margin-left: 0;
  }

  .facts,
  .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(3) {
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps li:nth-child(2n)::after {
    display: none;
  }

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

  .footer-company {
    grid-column: 1 / -1;
  }
}

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

  .hero {
    padding-top: 44px;
  }

  .eyebrow {
    border-radius: 16px;
    font-size: 11px;
    letter-spacing: 0.07em;
  }

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

  .facts {
    margin-top: 44px;
  }

  .fact {
    padding: 18px 18px 20px;
  }

  .fact dd {
    font-size: 18px;
  }

  section {
    padding: 72px 0;
  }

  .service-grid,
  .steps-wrap,
  .plan-grid,
  .terms,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service h3 {
    font-size: 25px;
  }

  .scope-list li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }

  .scope-list li::after {
    display: none;
  }

  .scope-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .steps-wrap {
    row-gap: 0;
  }

  /* Vertical timeline: marker on the left, connector running down. */
  .steps li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 18px;
    padding: 0 0 30px;
  }

  .steps li::before {
    grid-row: 1 / span 2;
  }

  .steps li:not(:last-child)::after {
    display: block;
    top: 52px;
    bottom: 6px;
    left: 22px;
    right: auto;
    border-top: 0;
    border-left: 2px dotted rgba(28, 43, 48, 0.3);
  }

  .steps h3 {
    margin-top: 8px;
  }

  .steps p {
    grid-column: 2;
  }

  .plan {
    padding: 28px 22px 24px;
  }

  .terms div + div {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .quote-form {
    padding: 24px 18px;
  }

  .doc {
    padding: 48px 0 72px;
  }

  .doc-inner {
    width: min(760px, calc(100% - 32px));
  }

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

  .footer-grid {
    gap: 32px;
  }
}

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

  * {
    transition: none !important;
  }
}
