:root {
  color-scheme: light;
  --canvas: #f9f8f2;
  --paper: #fffefb;
  --ink: #162644;
  --muted: #4a5870;
  --blue: #204ddd;
  --blue-hover: #163dbb;
  --pale: #eaf0ff;
  --line: #dedfd8;
  --gutter: clamp(20px, 5vw, 75px);
  --heading: "Trebuchet MS", "Arial", sans-serif;
  --body: "Arial", "Helvetica", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--body);
}

a { color: inherit; }
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid #bf5900;
  outline-offset: 5px;
}

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -.042em;
  line-height: 1.06;
}

h2 { font-size: clamp(2rem, 3.65vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.section, #start { scroll-margin-block-start: 24px; }

.wrap {
  width: min(100% - var(--gutter) * 2, 1240px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  transform: translateY(calc(-100% - 20px));
  clip-path: inset(50%);
  background: var(--paper);
}

.skip-link:focus { transform: none; clip-path: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  font: 700 1.38rem/1 var(--heading);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--blue);
}

.brand-icon i {
  position: relative;
  width: 19px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.brand-icon i::before {
  position: absolute;
  inset: -5px auto auto 4px;
  width: 7px;
  height: 4px;
  border-radius: 3px 3px 0 0;
  background: currentColor;
  content: "";
}

.brand-icon i::after {
  position: absolute;
  inset: 2px auto auto 4px;
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3.5vw, 42px);
  font-size: .96rem;
  font-weight: 600;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.header-inner > .button { justify-self: end; }

.button {
  display: inline-flex;
  min-height: 56px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
}

.button-small { min-height: 44px; padding: 8px 17px; font-size: .96rem; }

.button-outline {
  color: var(--blue);
  border-color: #9caff4;
}

.button-outline:hover { background: var(--pale); }

.button-primary { color: white; background: var(--blue); }
.button-primary:hover { color: white; background: var(--blue-hover); }

.text-link {
  font-weight: 700;
  text-underline-offset: .26em;
  text-decoration-thickness: 1px;
}

.hero {
  display: grid;
  min-height: clamp(480px, 43vw, 640px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(34px, 5vw, 72px);
}

.hero-copy { padding-block: 4px; }

h1 {
  font-size: clamp(2.7rem, 4.65vw, 4.35rem);
  line-height: .99;
  letter-spacing: -.063em;
}

h1 em {
  display: block;
  margin-top: .11em;
  color: var(--blue);
  font-style: normal;
}

.hero-intro {
  max-width: 39ch;
  margin-top: 23px;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.54vw, 1.34rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 27px;
}

.hero-price {
  margin-top: 15px;
  color: var(--muted);
  font-size: .98rem;
}

.hero-price strong { color: var(--ink); }

.hero-figure {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.26;
  border: 1px solid #dfe4ee;
  border-radius: 23px;
  background: #e4e6d9;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 48%;
}

.sample-card {
  position: absolute;
  bottom: clamp(11px, 2vw, 25px);
  left: clamp(11px, 2vw, 25px);
  display: flex;
  max-width: calc(100% - 22px);
  align-items: center;
  gap: 11px;
  padding: 11px 15px 11px 11px;
  border: 1px solid #fff;
  border-radius: 11px;
  background: var(--paper);
  box-shadow: 0 5px 24px rgba(37, 37, 33, .18);
  line-height: 1.28;
}

.sample-icon {
  display: grid;
  position: relative;
  width: 41px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--pale);
}

.sample-icon::after {
  width: 16px;
  height: 10px;
  border: solid var(--blue);
  border-width: 0 0 2px 2px;
  transform: translateY(-2px) rotate(-45deg);
  content: "";
}

.sample-copy { display: grid; gap: 3px; }

.sample-copy small {
  color: var(--blue);
  font-size: .81rem;
  font-weight: 700;
}

.sample-copy > span { color: var(--muted); font-size: .875rem; }

.section { padding-block: clamp(44px, 6vw, 84px); }

.how {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.how h2 { max-width: 25ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.steps p, .pricing-intro p, .questions p {
  margin-top: 9px;
  color: var(--muted);
}

.steps p { max-width: 35ch; }

.step-icon {
  position: relative;
  display: grid;
  width: 50px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--pale);
}

.step-icon i, .step-icon i::before, .step-icon i::after { position: absolute; }

.camera i {
  width: 24px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.camera i::before {
  inset: -5px auto auto 5px;
  width: 10px;
  height: 4px;
  border-radius: 3px 3px 0 0;
  background: currentColor;
  content: "";
}

.camera i::after {
  inset: 2px auto auto 5px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.description i {
  width: 19px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.description i::after {
  inset: 5px 3px auto;
  height: 2px;
  background: currentColor;
  box-shadow: 0 4px currentColor, 0 8px currentColor;
  content: "";
}

.package i {
  width: 23px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.package i::before {
  inset: 4px 0 auto;
  border-top: 2px solid currentColor;
  content: "";
}

.package i::after {
  inset: 8px 6px auto;
  height: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.ratings {
  border-top: 1px solid var(--line);
}

.rating-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px clamp(28px, 5vw, 75px);
}

.rating-copy h2 span {
  display: block;
  margin-top: .13em;
  color: var(--blue);
}

.rating-copy p {
  max-width: 39ch;
  margin-top: 14px;
  color: var(--muted);
}

.rating-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 14px);
}

.rating-sample {
  display: grid;
  align-items: center;
  padding: clamp(8px, 1.3vw, 19px);
  border: 1px solid #d5def4;
  border-radius: 12px;
  background: #fff;
}

.rating-crop {
  --frame-width: 155;
  --frame-height: 79;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--frame-width) / var(--frame-height);
}

.rating-crop-basic { --source-width: 266; --crop-x: 21; --crop-y: 138; }
.rating-crop-high { --source-width: 260; --crop-x: 13; --crop-y: 152; }
.rating-crop-maximum { --source-width: 264; --crop-x: 9; --crop-y: 152; }

.rating-crop img {
  position: absolute;
  top: calc(-100% * var(--crop-y) / var(--frame-height));
  left: calc(-100% * var(--crop-x) / var(--frame-width));
  width: calc(100% * var(--source-width) / var(--frame-width));
  height: auto;
}

.pricing { background: var(--pale); }
.pricing-intro p { max-width: 55ch; margin-top: 15px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 25px);
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.price {
  display: grid;
  gap: 17px;
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid #d5def4;
  border-radius: 15px;
  background: var(--paper);
}

.price h3 { font-size: clamp(1.13rem, 1.65vw, 1.4rem); }

.price:last-child { border-color: #99adf5; }

.rate { color: var(--muted); }

.rate strong {
  display: block;
  color: var(--blue);
  font: 700 clamp(2.6rem, 4.1vw, 3.75rem)/.97 var(--heading);
  letter-spacing: -.06em;
}

.total {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.faq {
  display: grid;
  grid-template-columns: .64fr 1.36fr;
  gap: 20px clamp(30px, 5vw, 75px);
}

.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }

.questions summary {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 13px 40px 13px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.questions summary::-webkit-details-marker { display: none; }

.questions summary::after {
  position: absolute;
  right: 2px;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 400;
  content: "+";
}

.questions details[open] summary::after { content: "−"; }
.questions p { margin: 0 28px 17px 0; }

.start-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 21px 30px;
  padding: clamp(24px, 4vw, 50px);
  border-radius: 17px;
  color: white;
  background: var(--blue);
}

.start-panel p {
  max-width: 54ch;
  margin-top: 13px;
  color: #eef2ff;
}

.button-white { color: var(--blue); background: white; }
.button-white:hover { background: var(--pale); }

.footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: grid;
  gap: 5px;
  padding-block: 8px;
}

.footer-brand small {
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 1000px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .rating-layout { grid-template-columns: 1fr; }
  .rating-samples { max-width: 600px; }
  .hero { gap: 24px; }
  h1 { font-size: clamp(2.45rem, 5vw, 4.35rem); }
  .hero-intro { margin-top: 17px; }
  .hero-actions { margin-top: 20px; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 63px; grid-template-columns: 1fr auto; gap: 12px; }
  .site-header nav { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 23px; padding-block: 28px; }
  .hero-copy { padding-block: 2px; }
  h1 { font-size: clamp(2.65rem, 9.5vw, 4.2rem); }
  .hero-figure { aspect-ratio: 1.36; border-radius: 16px; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 25px; }
  .steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    align-items: start;
  }
  .step-icon { grid-row: span 2; width: 44px; margin-bottom: 0; }
  .steps p { max-width: 48ch; margin-top: 5px; }
  .price-grid { grid-template-columns: 1fr; margin-top: 23px; }
  .price {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px 13px;
    padding: 16px;
  }
  .price h3 { font-size: 1.23rem; }
  .rate { grid-row: span 2; text-align: right; line-height: 1.3; }
  .rate strong { font-size: 2rem; }
  .total { padding-top: 0; border-top: 0; font-size: .98rem; }
  .faq { grid-template-columns: 1fr; }
  .footer { min-height: 77px; }
}

@media (max-width: 360px) {
  .hero-actions { column-gap: 17px; }
  .hero-actions .button { padding-inline: 16px; }
  .hero-figure { aspect-ratio: 1.16; }
  .sample-copy > span { font-size: .81rem; }
}

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