:root {
  color-scheme: light;
  --paper: #fbf6e8;
  --paper-soft: #fffaf0;
  --cyan: #0891b2;
  --cyan-soft: #dff6f8;
  --sage: #347f68;
  --warm: #d4874a;
  --ink: #211b16;
  --muted: #5c5041;
  --line: rgba(92, 80, 65, 0.2);
  --white: #fffdf7;
  --shadow: 0 22px 60px rgba(33, 27, 22, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.6;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 20% 12%, rgba(8, 145, 178, 0.16), transparent 28rem),
    linear-gradient(145deg, #fffaf0 0%, #fbf6e8 48%, #e8f4ef 100%);
}

a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sage);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(8, 145, 178, 0.46);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 5;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--cyan);
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.14);
}

.brand-mark svg {
  width: 1.3rem;
  height: 1.3rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.9rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}

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

.main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100svh - 5rem);
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--sage);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.25rem, 13vw, 6.7rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button,
.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.button {
  padding: 0.8rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(33, 27, 22, 0.16);
}

.button:hover {
  background: #342920;
  color: var(--white);
}

.text-link {
  color: var(--ink);
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.phone {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 0.52;
  margin: 0 auto;
  border: 1px solid rgba(33, 27, 22, 0.22);
  border-radius: 2.4rem;
  background: #171411;
  box-shadow: var(--shadow);
  padding: 0.8rem;
}

.phone-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  height: 100%;
  border-radius: 1.8rem;
  background: linear-gradient(155deg, #fffaf0 0%, #fbf6e8 58%, #dcefe8 100%);
  padding: 2.2rem 1.5rem 1.5rem;
}

.phone-title {
  text-align: center;
}

.phone-title strong {
  display: block;
  font-size: 1.36rem;
  line-height: 1.2;
}

.phone-title span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hold-button {
  align-self: center;
  justify-self: center;
  display: grid;
  width: min(72%, 210px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(92, 80, 65, 0.26);
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 20px 42px rgba(33, 27, 22, 0.08),
    0 0 0 10px rgba(8, 145, 178, 0.08);
  text-align: center;
}

.hold-button span {
  display: block;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
}

.hold-button strong {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.1;
}

.phone-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.78);
  padding: 0.8rem;
}

.phone-footer strong,
.phone-footer span {
  display: block;
}

.phone-footer span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-header {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-header p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.7);
  padding: 1.25rem;
}

.item p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.document {
  max-width: 820px;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(4rem, 10vw, 6rem);
}

.document h1 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 9vw, 5rem);
}

.document h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}

.document p,
.document li {
  color: var(--muted);
  font-size: 1.05rem;
}

.document ul {
  padding-left: 1.2rem;
}

.notice {
  margin: 2rem 0;
  border-left: 4px solid var(--cyan);
  background: rgba(255, 253, 247, 0.72);
  padding: 1rem 1.2rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.contact-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone {
    width: min(100%, 320px);
  }

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

@media (prefers-reduced-motion: no-preference) {
  a,
  .button {
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  }

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