/* Bhutan Legal Service landing page.
   Direction A (enterprise legal), layout after harvey.ai: serif headline left, promise and
   one button right, full-width product screenshot on a soft wash, three feature blocks.
   Light only by decision (K, 2026-10-15). */

@font-face {
  font-family: "Jomolhari";
  src: url("fonts/Jomolhari-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #f6f5f1;          /* warm off-white page */
  --ink: #17181a;         /* headline and body */
  --muted: #5d6066;       /* secondary text */
  --line: #dfdcd3;        /* hairlines */
  --wash: #c3cfcb;        /* sage wash behind the product shot */
  --wash-deep: #a7b8b3;
  --card: #ffffff;
  --live: #1f6b4a;        /* "available" green */
  --soon: #8a6d2f;        /* "coming soon" ochre */

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --dz: "Jomolhari", "Noto Serif Tibetan", "Microsoft Himalaya", serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Type */
.eyebrow { margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; }
.dz-word { font-family: var(--dz); font-size: clamp(34px, 4.2vw, 52px); line-height: 1; color: var(--ink); }
.eyebrow-label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: lowercase; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(50px, 7.4vw, 104px);
  line-height: .98; letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0 0 10px; text-wrap: balance; }
p { margin: 0 0 1em; }
.dz-small { font-family: var(--dz); font-size: .8em; margin-right: .2em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 4px; font-weight: 500; font-size: 15px;
  text-decoration: none; border: 1px solid var(--ink); white-space: nowrap;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* Top bar */
.top { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: 72px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.hero-right { padding-bottom: 14px; }
.promise { font-size: 19px; color: var(--muted); max-width: 44ch; margin-bottom: 26px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-note { font-size: 14px; color: var(--muted); }

.shot {
  margin: 72px 0 0; padding: clamp(16px, 4vw, 56px) clamp(16px, 4vw, 56px) 0;
  border-radius: 6px 6px 0 0;
  background:
    radial-gradient(120% 90% at 20% 10%, var(--wash-deep) 0%, transparent 60%),
    linear-gradient(180deg, var(--wash) 0%, #d9e0dd 100%);
}
.shot img {
  width: 100%; border-radius: 6px 6px 0 0;
  box-shadow: 0 30px 60px -20px rgba(23, 24, 26, .35), 0 0 0 1px rgba(23, 24, 26, .08);
}

/* Products */
.products { padding-block: 88px 24px; border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px 32px 28px; display: flex; flex-direction: column; min-width: 0; }
.product h2 { font-size: 34px; }
.product p:last-of-type { flex: 1; }
.status { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--live); }
.status-soon { color: var(--soon); }
.link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 1px; }
.link:hover { color: var(--live); border-color: var(--live); }
.link-muted { color: var(--muted); border-color: transparent; }

/* Features */
.features { padding-block: 56px 96px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.feature { border-top: 1px solid var(--ink); padding-top: 20px; min-width: 0; }
.feature p:last-child { color: var(--muted); margin: 0; font-size: 16px; }

/* Pilot */
.pilot { background: var(--ink); color: #f1efe9; padding-block: 88px; }
.pilot .mono { color: #a9adb3; }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.pilot h2 { color: #fff; }
.pilot-text p { color: #cfd2d6; max-width: 62ch; }
.pilot-text .contact { color: #fff; }
.pilot-text a { color: #fff; }

/* Footer */
.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 24px; align-items: start; }
.brand-foot { margin: 0; }
.foot-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 60ch; }

/* Phone and small tablet */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .bar { padding-block: 14px; }
  .brand { font-size: 20px; }
  .hero { padding-block: 44px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero-right { padding-bottom: 0; }
  .shot { margin-top: 40px; }
  .products { padding-block: 56px 16px; }
  .product-grid, .feature-grid, .pilot-grid { grid-template-columns: 1fr; }
  .product { padding: 24px 22px 22px; }
  .features { padding-block: 40px 64px; }
  .feature-grid { gap: 32px; }
  .pilot { padding-block: 56px; }
  .foot-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
