/* Opalmail product site. Follows the Opalmail brand guidelines v1.0: Warm Pearl and Ivory, Ink, Deep Sea links,
   Fraunces for headlines and the wordmark, Manrope for everything else. The only colour is the opal. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/manrope-latin.woff2") format("woff2"); }

:root {
  --pearl: #f7f3ee; --ivory: #fffdf9; --ink: #221e27; --ink-2: #4a4450; --ink-3: #5a5360; --line: rgb(34 30 39 / 0.12);
  --sea: #173f3c; --espresso: #2b2326; --mist: #a7dad7; --sand: #ede6dd;
  --opal: radial-gradient(circle at 88% -10%, rgb(168 147 242 / 0.6), transparent 46%), radial-gradient(circle at 108% 62%, rgb(127 224 204 / 0.5), transparent 44%), radial-gradient(circle at 62% 118%, rgb(255 179 138 / 0.45), transparent 46%), #221e27;
  --wrap: 1160px; --r: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 500 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.25; margin: 0; }
p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ivory); padding: 10px 14px; border-radius: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(247 243 238 / 0.82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 500 1.55rem/1 "Fraunces", Georgia, serif; letter-spacing: -0.03em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 650; }
.nav a:hover, .nav a[aria-current="page"] { background: rgb(34 30 39 / 0.07); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: var(--ivory); font: 750 1rem/1 "Manrope", sans-serif; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: #37313d; color: var(--ivory); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgb(34 30 39 / 0.22); }
.btn.ghost:hover { background: rgb(34 30 39 / 0.06); color: var(--ink); }
.btn.light { background: var(--ivory); color: var(--ink); }
.btn.light:hover { background: #fff; color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; color: var(--ivory); margin-left: 6px; }
.nav .btn:hover { background: #37313d; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(760px 700px at -6% -14%, #fbf5ec 0%, transparent 62%), radial-gradient(620px 560px at 104% 4%, #d9c8b8 0%, transparent 62%),
  radial-gradient(900px 460px at 52% 120%, #b9a79c 0%, transparent 62%), var(--pearl); }
.hero .lead { margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.shot { margin-top: clamp(40px, 6vw, 72px); border-radius: 28px 28px 0 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.8); border-bottom: 0; box-shadow: 0 -10px 80px -30px rgb(43 35 38 / 0.45); background: #cbbcad; }
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts .wrap > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts .wrap > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 500 1.6rem/1.1 "Fraunces", Georgia, serif; letter-spacing: -0.02em; }
.facts span { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--ink-3); }

section { padding: clamp(64px, 9vw, 112px) 0; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--ivory); border: 1px solid rgb(34 30 39 / 0.08); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--ink-2); font-size: 1rem; }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; margin-bottom: 8px; color: var(--ink); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.band { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .pic { border-radius: var(--r); overflow: hidden; border: 1px solid rgb(34 30 39 / 0.1); box-shadow: 0 30px 70px -40px rgb(43 35 38 / 0.5); }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%; background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.300l3 3 6-6.500' fill='none' stroke='%23fffdf9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ticks b { color: var(--ink); }
.steps { counter-reset: s; }
.steps .card { counter-increment: s; }
.steps .card::before { content: counter(s, decimal-leading-zero); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.2em; color: var(--sea); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--ivory); border: 1px solid rgb(34 30 39 / 0.08); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 "Manrope", sans-serif; color: var(--ink-3); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.opal { background: var(--opal); color: var(--ivory); border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; gap: 20px; justify-items: start; }
.opal p { color: rgb(255 253 249 / 0.86); max-width: 56ch; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-head .lead { margin-top: 20px; }
.contact-list { display: grid; gap: 14px; }
.contact-list a.card { text-decoration: none; color: var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.contact-list a.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgb(43 35 38 / 0.5); }
.contact-list small { color: var(--ink-3); font-size: 0.95rem; }
.prose { max-width: 72ch; display: grid; gap: 16px; color: var(--ink-2); }
.prose h2 { font-size: 1.8rem; color: var(--ink); margin-top: 18px; }

footer { background: var(--espresso); color: #ddd4cc; padding: 56px 0 40px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer .brand { color: var(--ivory); }
footer h3 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: #c4b9b0; margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer a { color: #f7f3ee; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
footer a:hover { color: var(--mist); }
footer .fine { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 0.14); padding-top: 22px; font-size: 0.9rem; color: #c4b9b0; }

@media (max-width: 900px) {
  .g3, .g2, .split, .facts .wrap { grid-template-columns: minmax(0, 1fr); }
  .facts .wrap > div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .facts .wrap > div:first-child { border-top: 0; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .nav a:not(.btn) { padding: 0 10px; font-size: 0.9rem; }
  .top .wrap { flex-wrap: wrap; padding: 8px 0; gap: 4px 12px; }
  .shot { border-radius: 18px 18px 0 0; }
}
@media (max-width: 520px) {
  .top .wrap { flex-wrap: nowrap; gap: 8px; min-height: 60px; padding: 0; }
  .brand { font-size: 1.35rem; } .brand svg { width: 26px; height: 26px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { min-height: 42px; padding: 0 16px; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
