/* SahiSeal site. Tokens from docs/design/brand.dc.html: teal, amber, ink,
   slate, mist, rule; IBM Plex Sans/Serif/Mono. */
:root {
  --primary: #0F5C5E;
  --primary-hover: #0A4244;
  --primary-subtle: #F2F7F7;
  --accent: #E0A33A; /* fill only, never text on white */
  --accent-ink: #8A4B07;
  --ink: #13232B;
  --muted: #4A5C63;
  --border: #D6E2E2;
  --surface: #F2F7F7;
  --white: #ffffff;
  --radius: 12px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --page: 1180px;
  --header-h: 73px; /* 72px bar + 1px border */
}

*,
*::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, 4.2vw, 64px);
  line-height: 1.05;
  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 */
/* The whole hero (headline, subline, buttons, product card) fits the first
   screen: it fills the viewport below the header and centres its content. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding: clamp(24px, 4vh, 48px) 0;
}

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

.hero .wrap {
  width: 100%;
}

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

.hero .lead {
  max-width: 34em;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
}

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

.product-card {
  justify-self: center;
  width: 100%;
  max-width: min(420px, 32vw);
  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;
  }

  .hero {
    min-height: 0;
  }

  .hero .wrap {
    gap: 28px;
  }

  .product-card {
    max-width: 420px;
  }

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

@media (max-width: 560px) {
  /* Phones: the whole hero fits a 390×844 screen. One-row header (the text
     links are in the page and footer), a smaller headline, and the product
     card as a compact row. */
  .site-header .wrap {
    min-height: 60px;
  }

  .site-header nav a:not(.button) {
    display: none;
  }

  .site-header .button {
    min-height: 40px;
    padding: 8px 14px;
  }

  .hero {
    padding: 20px 0 28px;
  }

  .hero .display {
    font-size: 30px;
    line-height: 1.1;
    margin: 12px 0;
  }

  .hero .lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero .actions {
    margin-bottom: 0;
  }

  .hero .actions + .small {
    display: none;
  }

  .eyebrow {
    font-size: 11px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 96px 1fr;
  }

  .product-card .art {
    display: grid;
    place-items: center;
    padding: 12px;
  }

  .product-card .art svg {
    height: 56px;
  }

  .product-card .body {
    padding: 12px 14px;
  }

  .price-on-request {
    margin-bottom: 10px;
  }

  .product-card .request {
    min-height: 40px;
  }

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

/* Text wordmark until the SahiSeal logo exists */
.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

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

/* Hero card without product art (holding page): one column at every width */
.status-card .checks {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .product-card.status-card {
    display: block;
  }

  .status-card .body {
    padding: 14px 16px;
  }

  .status-card .checks li {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
  }
}

/* Brand: seal mark beside the wordmark; serif display headings */
.wordmark{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.wordmark svg{flex:none}
.display,.page-head h1{font-family:var(--serif);font-weight:600}
.prose{max-width:760px}
.prose h2{font-size:20px;line-height:28px;margin:40px 0 8px}
.prose p,.prose li{color:var(--ink)}
.prose table{border-collapse:collapse;width:100%;font-size:15px}
.prose th,.prose td{border-bottom:1px solid var(--border);padding:8px 12px 8px 0;text-align:left;vertical-align:top}
