/* Manrope from Google Fonts. The @font-face rules are inlined from
   fonts.googleapis.com/css2?family=Manrope:wght@400..800 (latin, latin-ext;
   one variable file each) so the page doesn't wait for a second stylesheet.
   The files are still served by fonts.gstatic.com. */
/* latin-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/manrope/v20/xn7gYHE41ni1AdIRggmxSuXd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/manrope/v20/xn7gYHE41ni1AdIRggexSg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Pricefold site. Tokens from the brand sheet (1-logo-and-tokens). */
:root {
  --primary: #3d35c8;
  --primary-hover: #2f28a3;
  --primary-subtle: #eeedfc;
  --accent: #ffb020; /* fill only, never text on white */
  --accent-ink: #a15c00;
  --ink: #16151f;
  --muted: #5c5b6e;
  --border: #e3e2ea;
  --surface: #f6f6f9;
  --white: #ffffff;
  --radius: 12px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --page: 1180px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
}

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

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--white);
  padding: 8px 12px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}

.site-header nav a:not(.button) {
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a:not(.button):hover {
  color: var(--primary);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  font: 700 15px/20px var(--font);
  text-decoration: none;
  cursor: pointer;
}

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

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}

.button-secondary:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--muted);
}

.button-block {
  width: 100%;
}

/* Type */
.eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-subtle);
  color: var(--primary);
  font: 700 12px/16px var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.label {
  color: var(--accent-ink);
  font: 700 12px/16px var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.07;
  font-weight: 800;
}

.display em {
  font-style: normal;
  color: var(--primary);
}

h1 {
  font-size: clamp(36px, 5vw, 44px);
  line-height: 1.18;
  font-weight: 800;
}

h2 {
  font-size: 30px;
  line-height: 38px;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.lead {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--muted);
}

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

.small {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

/* Fold corner: the brand flap */
.corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  background: url("assets/fold-corner.svg") center / cover no-repeat;
}

/* The hero's flap: amber only, folded from the top-right edge. */
.corner-amber {
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 72px 0 80px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero .display {
  margin: 20px 0;
}

.hero .lead {
  max-width: 34em;
  margin: 0 0 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.product-card {
  justify-self: center;
  width: min(100%, 340px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(22, 21, 31, 0.12);
  overflow: hidden;
}

.product-card .art {
  background: #ece6dd;
  padding: 28px 24px 20px;
}

.product-card .body {
  padding: 18px 20px 20px;
}

.product-card .name {
  margin: 0 0 6px;
  font-weight: 700;
}

.price-on-request {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.product-card .request {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font: 600 15px/20px var(--font);
}

/* Features */
.features {
  padding: 96px 0 48px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.feature:nth-child(even) .feature-copy {
  order: 2;
}

.feature h2 {
  margin: 10px 0 12px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature-image {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

/* Pricing */
.pricing {
  background: var(--surface);
  padding: 88px 0;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 24px;
  margin: 40px 0 24px;
  text-align: left;
}

.plan {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  border: 2px solid var(--primary);
}

.plan .corner {
  width: 44px;
  height: 44px;
}

.plan-name {
  margin: 0 0 10px;
  font-weight: 700;
}

.plan-price {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 44px;
  font-weight: 800;
}

.plan-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.checks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.checks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
  font-size: 15px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* FAQ */
.faq {
  padding: 88px 0 96px;
}

.faq .wrap {
  max-width: 760px;
}

.faq h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.faq details {
  border-top: 1px solid var(--border);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--primary);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: -6px 0 18px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9c8d3;
  padding: 40px 0;
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.site-footer a {
  color: var(--white);
}

.site-footer .copyright {
  margin-left: auto;
}

/* Support */
.page {
  background: var(--surface);
  padding: 72px 0 96px;
}

.support .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.support .lead {
  margin: 16px 0 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.contact-card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
}

.contact-card a {
  font-weight: 700;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 15px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9c8d3;
  border-radius: 8px;
  font: 500 16px/24px var(--font);
  color: var(--ink);
  background: var(--white);
}

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

.field .hint {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Privacy */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 48px;
}

.page-head p {
  margin: 12px 0 0;
}

.policy .wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 88px;
}

.toc {
  position: sticky;
  top: 24px;
  align-self: start;
}

.toc ol {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.toc a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

.prose {
  font-size: 17px;
  line-height: 29px;
}

.prose h2 {
  margin: 40px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 24px 0 8px;
}

.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
  line-height: 22px;
}

.prose th,
.prose td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th {
  background: var(--surface);
}

.callout {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--surface);
}

.callout h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
}

.notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--primary-subtle);
  color: var(--ink);
}

/* Narrow screens */
@media (max-width: 860px) {
  .hero .wrap,
  .feature,
  .support .wrap,
  .policy .wrap {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .feature {
    gap: 24px;
    margin-bottom: 56px;
  }

  .plans {
    grid-template-columns: minmax(0, 420px);
  }

  .toc {
    position: static;
  }

  .hero .corner {
    width: 56px;
    height: 56px;
  }

  .site-footer .copyright {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header .wrap {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header nav {
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }

  .form-card {
    padding: 24px 20px;
  }
}
