/* Kibble: the Concierge look from Kibble Desk. Forest green, ivory, brass, terracotta. */
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-Variable.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --forest: #1C2A23;
  --forest-2: #2C3E34;
  --forest-text: #E6EBE4;
  --forest-muted: #A9B3A9;
  --brass: #C9A66B;
  --ivory: #F7F3EA;
  --paper: #FFFDF8;
  --sand: #EFE8DA;
  --line: #E2D9C8;
  --ink: #1F1D1A;
  --muted: #5F584C;
  --accent: #A8513A;
  --accent-dark: #8C4230;
  --leaf: #2E6A48;
  --danger: #8E281C;
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: block; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 243, 234, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font: 500 1.35rem/1 var(--serif); }
.top nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .96rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }
.top nav a.button { color: #fff; }

/* ---- Buttons */
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--accent); transition: background .15s; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button.ghost:hover { background: var(--paper); color: var(--ink); }
.button.light { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.button.light:hover { background: #fff; }
.button.small { padding: 9px 16px; font-size: .92rem; }
.button[aria-disabled="true"] { background: var(--forest); border-color: var(--forest); cursor: default; }
.hero .button[aria-disabled="true"], section.forest .button[aria-disabled="true"] { background: var(--paper); border-color: var(--paper); color: var(--forest); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }

/* ---- Hero on forest green */
.hero { background: var(--forest); color: var(--forest-text); padding: 84px 0 0; overflow: hidden; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .lead { color: var(--forest-muted); }
.hero .eyebrow { color: var(--brass); }
.hero .note { color: var(--forest-muted); font-size: .92rem; }
.hero .button.ghost { color: var(--forest-text); border-color: rgba(255,255,255,.25); }
.hero .button.ghost:hover { background: var(--forest-2); }
.hero-shot { position: relative; margin-top: 56px; }
.hero-shot .window { border-radius: 14px 14px 0 0; border-bottom: 0; }

/* A desktop window around a screenshot. */
.window { background: var(--paper); border: 1px solid rgba(0,0,0,.12); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(20, 30, 25, .28); }
.window .bar { height: 30px; background: #F1ECE2; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D0BF; }
.window .bar b { margin-left: 10px; font: 600 .74rem/1 var(--sans); color: var(--muted); letter-spacing: .02em; }

/* A phone around a screenshot. */
.phone { width: 260px; border-radius: 34px; background: #111; padding: 9px; box-shadow: 0 24px 60px rgba(20, 30, 25, .3); }
.phone img { border-radius: 26px; }
.phone.small { width: 210px; border-radius: 28px; padding: 7px; }
.phone.small img { border-radius: 22px; }
.hero-shot .phone { position: absolute; right: 4%; bottom: -40px; width: 230px; }

/* ---- Sections */
section { padding: 96px 0; }
section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.sand { background: var(--sand); }
section.forest { background: var(--forest); color: var(--forest-text); }
section.forest h2, section.forest h3 { color: #fff; }
section.forest .lead, section.forest .muted { color: var(--forest-muted); }
section.forest .eyebrow { color: var(--brass); }
.head { margin-bottom: 48px; }

/* Two products side by side. */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.product header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product header img { width: 52px; height: 52px; border-radius: 13px; }
.product header h3 { margin: 0; font-size: 1.7rem; }
.product header small { display: block; color: var(--muted); font-size: .88rem; letter-spacing: .02em; }
.product ul { padding: 0; margin: 4px 0 26px; list-style: none; }
.product li { padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; }
.product li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.product .actions { margin-top: auto; margin-bottom: 0; }

/* Feature rows: picture one side, words the other. */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip { grid-template-columns: 1fr 1.35fr; }
.feature.flip .pic { order: 2; }
.feature .pic.phones { display: flex; gap: 22px; justify-content: center; }
.feature .pic.phones .phone:nth-child(2) { margin-top: 48px; }
.feature ul { padding-left: 1.1em; margin: 0; color: var(--muted); }
.feature li { margin: .35em 0; }
.feature li strong { color: var(--ink); font-weight: 600; }

/* Small feature grid. */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.grid h3 { font-size: 1.25rem; margin-bottom: .35em; }
.grid p { color: var(--muted); margin: 0; }
section.forest .grid p { color: var(--forest-muted); }
.grid .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }
section.forest .grid .icon { background: var(--forest-2); color: var(--brass); }
.grid .icon svg { width: 22px; height: 22px; }

/* How the two apps connect. */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid rgba(255,255,255,.14); }
.steps li { list-style: none; padding: 28px 26px 8px 0; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); font: 500 2.6rem/1 var(--serif); color: var(--brass); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--forest-muted); margin: 0; font-size: .97rem; }
ol.steps { padding: 0; margin: 0; }

/* The three looks. */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.looks figure { margin: 0; }
.looks figcaption { margin-top: 14px; }
.looks figcaption b { font: 500 1.25rem/1.2 var(--serif); display: block; }
.looks .window { box-shadow: 0 14px 34px rgba(20, 30, 25, .14); }

/* Plain facts in a row. */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 22px 24px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 500 1.35rem/1.2 var(--serif); margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .95rem; }

/* Price card. */
.price { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
.price h2 { margin-bottom: .3em; }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { padding: 12px 0 12px 32px; border-top: 1px solid var(--line); position: relative; }
.price li:first-child { border-top: 0; }
.price li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }

/* Questions. */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 500 1.2rem/1.3 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 46em; }

/* Closing call to action. */
.cta { text-align: center; }
.cta .actions { justify-content: center; }

/* ---- Footer */
footer.site { background: var(--forest); color: var(--forest-muted); padding: 56px 0 44px; font-size: .93rem; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { font: 600 .75rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--brass); margin: 6px 0 14px; }
footer.site a { color: var(--forest-text); text-decoration: none; display: block; margin: 7px 0; }
footer.site a:hover { color: #fff; }
footer.site a.brand { display: flex; margin: 0; }
footer.site .brand span { color: #fff; }
footer.site p { margin: 14px 0 0; }

/* ---- Policy pages */
.doc { padding: 64px 0 90px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.doc li { margin: .3em 0; }

/* ---- Phones and tablets */
@media (max-width: 920px) {
  .products, .feature, .feature.flip, .price { grid-template-columns: 1fr; }
  .feature.flip .pic { order: 0; }
  .feature { gap: 32px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .looks { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  .hero-shot .phone { width: 150px; right: 2%; bottom: -24px; padding: 6px; border-radius: 22px; }
  .hero-shot .phone img { border-radius: 17px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .top nav a:not(.button), .top nav .button[aria-disabled="true"] { display: none; }
  .hero { padding-top: 56px; }
  .grid, .steps, .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts div:first-child { border-top: 0; }
  .product, .price { padding: 26px; }
  .feature .pic.phones .phone { width: 46%; }
  .feature .pic.phones .phone:nth-child(2) { margin-top: 28px; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .hero-shot .phone { display: none; }
}
