@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #0b2440;
  --blue: #0b5cd6;
  --teal: #0ea5b7;
  --paper: #f3f6fb;
  --card: #ffffff;
  --mut: #5b6b80;
  --line: #e6edf5;
  --grad: linear-gradient(100deg, #0b5cd6 0%, #0ea5b7 100%);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; border: 0; background: none; cursor: pointer; width: 100%; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.phone {
  width: 100%;
  max-width: 440px;
  min-height: 100dvh;
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.portrait {
  position: relative;
  background: #155a9a;
}
.portrait picture { display: block; }
.portrait img.art {
  width: 100%;
  height: auto;
}
.mark {
  position: absolute;
  top: calc(14px + var(--safe-t));
  left: 16px;
  z-index: 2;
}
.mark img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

.sheet {
  position: relative;
  z-index: 1;
  padding: 20px 22px calc(96px + var(--safe-b));
  text-align: center;
}
h1 {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: .95;
}
.title {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 650;
  color: var(--blue);
}
.co {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 550;
  color: var(--mut);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 6px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, filter .15s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.save {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(11, 92, 214, .7);
}
.wa { background: #25d366; color: #052e16; }

.block {
  text-align: left;
  margin: 22px 0 4px;
  padding-top: 8px;
}
.block h2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.block p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.svc {
  display: grid;
  gap: 8px;
}
.svc a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
}
.svc small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 2px;
}
.svc h3 { font-size: 14px; font-weight: 800; display: block; font-family: inherit; margin: 0; color: inherit; }
.svc span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--mut);
  font-weight: 550;
  line-height: 1.4;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0 8px;
}
.quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 4px 10px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}
.quick i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 0 rgba(11,36,64,.04);
  font-style: normal;
}
.quick svg { width: 17px; height: 17px; }

.list { margin-top: 10px; text-align: left; font-style: normal; }
.list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  border-top: 1px solid var(--line);
}
.list a:last-child { border-bottom: 1px solid var(--line); }
.list i {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper);
  color: var(--blue);
  font-style: normal;
}
.list svg { width: 18px; height: 18px; }
.list small {
  display: block;
  color: var(--mut);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.list b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }

.note {
  margin-top: 22px;
  font-family: Newsreader, Georgia, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-b));
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 412px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #0b2440;
  border-radius: 18px;
  box-shadow: 0 16px 40px -12px rgba(11, 36, 64, .55);
  z-index: 20;
}
.dock .btn {
  min-height: 46px;
  border-radius: 12px;
  box-shadow: none;
}
.dock .save { background: #fff; color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(78px + var(--safe-b));
  transform: translateX(-50%) translateY(8px);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  z-index: 30;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 720px) {
  .phone { max-width: 560px; }
}

@media (min-width: 980px) {
  body {
    display: block;
    padding: 0;
    background: var(--paper);
  }
  .phone {
    display: block;
    max-width: none;
    width: 100%;
    min-height: auto;
    border-radius: 0;
  }
  .portrait {
    position: relative;
    height: min(78vh, 820px);
    overflow: hidden;
  }
  .portrait picture,
  .portrait img.art {
    width: 100%;
    height: 100%;
    display: block;
  }
  .portrait img.art {
    object-fit: cover;
    object-position: center top;
  }
  .mark img { height: 36px; }
  .sheet {
    padding: 48px 40px 80px;
    text-align: left;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    grid-template-areas:
      "intro intro"
      "about about"
      "services services"
      "quick quick"
      "list list"
      "note note";
    column-gap: 48px;
    row-gap: 12px;
  }
  .intro { grid-area: intro; }
  h1 { font-size: 64px; }
  #about { grid-area: about; }
  #services { grid-area: services; }
  .svc { grid-template-columns: 1fr; }
  .quick { grid-area: quick; max-width: 440px; margin-top: 18px; }
  .list { grid-area: list; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .list a:last-child { border-bottom: 1px solid var(--line); }
  .note { grid-area: note; max-width: 560px; }
  .dock { display: none; }
  .toast { bottom: 28px; }
}

@media (min-width: 1280px) {
  .sheet { padding: 56px 48px 96px; column-gap: 64px; }
  h1 { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .toast { transition: none; }
}
