/* Property Asset website. Colors follow the app icon: deep teal, gold, sage and cream. */
:root {
  --bg: #f6f1e7; --surface: #fffdf8; --surface-2: #efe7d8; --text: #182a30; --muted: #5a6a6e;
  --line: #e0d6c4; --accent: #7a5c2e; --accent-strong: #5f4621; --gold: #c99a5b; --sage: #7f9c86;
  --on-accent: #fffdf8; --shadow: 0 1px 2px rgb(24 42 48 / 6%), 0 12px 32px rgb(24 42 48 / 8%);
  --radius: 18px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121e22; --surface: #1a2a2f; --surface-2: #213439; --text: #f5efe2; --muted: #a9b5b2;
    --line: #2c4248; --accent: #e3c48a; --accent-strong: #f0d6a4; --gold: #e3c48a; --sage: #9dbaa3;
    --on-accent: #121e22; --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 30%); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121e22; --surface: #1a2a2f; --surface-2: #213439; --text: #f5efe2; --muted: #a9b5b2;
  --line: #2c4248; --accent: #e3c48a; --accent-strong: #f0d6a4; --gold: #e3c48a; --sage: #9dbaa3;
  --on-accent: #121e22; --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 30%); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 46rem; }
.center { text-align: center; }
/* Hidden above the page (not to one side, which scrolls sideways in right-to-left pages) until focused. */
.skip { position: absolute; inset-inline-start: 1rem; top: -999px; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 650; color: var(--text); text-decoration: none; margin-inline-end: auto; }
.brand img { border-radius: 8px; }
.site-header nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 520px) { .site-header nav .optional { display: none; } }
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .92rem; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: .75rem 0; }
.site-footer a { color: var(--muted); }
.brand-line { display: flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--text); margin: 0; }
.brand-line img { border-radius: 6px; }
.fine { font-size: .82rem; margin: 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.button:hover { background: var(--accent-strong); color: var(--on-accent); }
.button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button.secondary:hover { background: var(--surface-2); color: var(--text); }
.button.disabled { background: var(--surface-2); color: var(--muted); cursor: default; }

/* Hero */
.hero { padding: 3rem 0 4rem; background:
  radial-gradient(60rem 30rem at 85% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
  radial-gradient(40rem 24rem at 0% 100%, color-mix(in srgb, var(--sage) 16%, transparent), transparent 70%); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero { padding: 5rem 0 6rem; } }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
.cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.75rem 0 1rem; }
.platforms { color: var(--muted); font-size: .92rem; margin: 0; }
.hero-shot { justify-self: center; width: min(320px, 80vw); }

/* Phone frame around screenshots */
.phone { border-radius: 42px; padding: 10px; background: #0d1518; box-shadow: var(--shadow), inset 0 0 0 1px rgb(255 255 255 / 8%); }
.phone img { border-radius: 33px; aspect-ratio: 719 / 1560; width: 100%; }

/* iPad frame and Mac window around landscape iPad captures */
.ipad { border-radius: clamp(14px, 2.4vw, 30px); padding: clamp(6px, 1.1vw, 13px); background: #0d1518;
  box-shadow: var(--shadow), inset 0 0 0 1px rgb(255 255 255 / 8%); }
.ipad img { border-radius: clamp(8px, 1.4vw, 18px); aspect-ratio: 1600 / 1103; width: 100%; }
.mac { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mac-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mac-bar i { width: 11px; height: 11px; border-radius: 50%; }
.mac-bar i:nth-child(1) { background: #ee6a5f; } .mac-bar i:nth-child(2) { background: #f5bd4f; } .mac-bar i:nth-child(3) { background: #61c454; }
.mac-bar span { margin: 0 auto; transform: translateX(-20px); font-size: .75rem; font-weight: 600; color: var(--muted); }
.mac-screen { aspect-ratio: 1600 / 1065; overflow: hidden; }
.mac-screen img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.split-devices { display: grid; gap: 2.5rem; align-items: center; }
.split-devices .section-lede { margin-bottom: 1.25rem; }
/* The device collage (and the Mac window's controls) keep their left-to-right layout in right-to-left languages. */
.devices, .mac { direction: ltr; }
.devices { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .split-devices { grid-template-columns: 1fr 1.6fr; gap: 3rem; }
  .devices { display: block; position: relative; padding-bottom: 12%; }
  .devices .mac { position: absolute; width: 58%; left: -6%; bottom: 0; }
}

/* Sections */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--surface-2); }
.section-title { margin: 0 0 .75rem; }
.section-lede { color: var(--muted); font-size: 1.1rem; max-width: 44rem; margin: 0 0 2.5rem; }
.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.feature h3 { margin: .6rem 0 .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--accent); background: color-mix(in srgb, var(--gold) 16%, transparent); }
.gallery { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 2rem; }
.gallery figure { margin: 0; max-width: 300px; justify-self: center; width: 100%; }
.gallery figcaption { text-align: center; color: var(--muted); margin-top: 1rem; font-size: .95rem; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1.3fr 1fr; } }
.checks { list-style: none; padding: 0; margin: 1.25rem 0; }
.checks li { padding-inline-start: 2rem; position: relative; margin: .7rem 0; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: color-mix(in srgb, var(--sage) 30%, transparent); color: var(--text); font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.price-label { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; }
.price { font-size: 3rem; font-weight: 700; margin: .25rem 0 .5rem; color: var(--accent); line-height: 1; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; margin: .75rem 0; }
summary { cursor: pointer; padding: 1rem 0; font-weight: 600; }
details p { margin: 0 0 1rem; color: var(--muted); }

/* Content pages (support, legal) */
.page { padding: 3rem 0 4rem; }
.page h2 { font-size: 1.4rem; margin: 2.5rem 0 .5rem; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
.contact p { margin: .25rem 0; }
.legal blockquote { margin: 1.25rem 0; padding: .9rem 1.1rem; background: var(--surface); border-inline-start: 4px solid var(--gold); border-radius: 10px; }
.legal blockquote p { margin: 0; }
.table { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: start; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--surface-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1.2rem; margin: 1.5rem 0 2rem; font-size: .95rem; }
.toc ol { margin: .5rem 0; padding-inline-start: 1.3rem; columns: 2 16rem; }

/* Language menu (a <details> disclosure, so it works without JavaScript) */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: .3rem; cursor: pointer;
  color: var(--muted); font-size: .9rem; min-height: 44px; padding: 0 .2rem; border-radius: 8px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); }
.lang-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-menu summary::after { content: ""; width: .4em; height: .4em; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-2px); margin-inline-start: .1rem; }
.lang-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + .25rem); z-index: 10; min-width: 12rem; margin: 0; padding: .35rem;
  list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.site-header .lang-menu ul a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--text); }
.site-header .lang-menu ul a:hover { background: var(--surface-2); }
.site-header .lang-menu ul a[aria-current="true"] { color: var(--accent); font-weight: 600; }
.site-header .lang-menu ul a[aria-current="true"]::after { content: " ✓"; }
.site-header nav { align-items: center; }
.notice { background: var(--surface-2); border-radius: 12px; padding: .75rem 1rem; color: var(--muted); }
