/* Meranex Ltd — static site. No scripts, no cookies, no third-party requests. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-latin.woff2") format("woff2");
}

:root {
  --navy: #1B2340;
  --gold: #C9A961;
  --cream: #F7F5F0;
  --white: #ffffff;
  --muted: #5b6079;
  --line: #e4e0d6;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 -12px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: var(--navy); background: var(--cream); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

/* Type */
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lede { margin-top: 20px; max-width: 48ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.rule { width: 56px; height: 4px; background: var(--gold); margin: 0 0 24px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  color: var(--white); background: var(--navy); border: 2px solid var(--navy); border-radius: 12px;
}
.button:hover { background: #262f55; border-color: #262f55; }
.button.ghost { color: var(--navy); background: transparent; }
.button.ghost:hover { background: rgba(27, 35, 64, 0.06); border-color: var(--navy); }
.button.gold { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.button.gold:hover { background: #d6b973; border-color: #d6b973; }

/* Bands */
.band { padding: 88px 0; }
.band.cream { background: var(--cream); }
.band.navy { background: var(--navy); color: var(--white); }
.band.navy h2 { color: var(--white); }
.band.navy .accent { color: var(--gold); }
.band.navy p { color: rgba(255, 255, 255, 0.86); }
.band.tight { padding: 64px 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { padding: 80px 0 88px; }
.hero .photo { aspect-ratio: 5 / 4; }

/* Launch band */
.launch .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.launch p { margin-top: 18px; max-width: 44ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.phone { width: min(100%, 290px); margin: 0 auto; padding: 9px; border-radius: 40px; background: #0c1022; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.phone img { width: 100%; border-radius: 31px; }
.phone.light { box-shadow: 0 18px 44px rgba(27, 35, 64, 0.18); }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tile { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--cream); color: var(--navy); text-decoration: none; }
.tile .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.tile .text { padding: 26px 28px 30px; }
.tile h3 { font-size: 26px; }
.tile p { margin-top: 8px; color: var(--muted); }
.tile:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Page head */
.page-head { padding: 72px 0 24px; }

/* Products */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 8px; }
.feature { text-align: center; }
.feature .phone { width: min(100%, 250px); }
.feature h3 { margin-top: 28px; }
.feature p { margin: 8px auto 0; max-width: 30ch; color: var(--muted); }
.more-to-come { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* Services */

.figure { border-radius: var(--radius); background: var(--white); padding: 28px; }
.figure img { width: 100%; }
.narrow { max-width: 62ch; }

/* Contact: testo ed email a sinistra, foto a destra alta quanto il blocco; sul telefono la foto va sotto */
.contact-band { padding: 72px 0 88px; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: stretch; }
.contact-photo { position: relative; min-height: 280px; }
.contact-photo picture { position: absolute; inset: 0; }
.details { margin: 36px 0 0; display: grid; gap: 2px 0; }
.details dt { color: var(--muted); font-size: 15px; }
.details dd { margin: 0; font-weight: 600; font-size: 20px; overflow-wrap: anywhere; }

/* Long text (privacy) */
.prose h2 { margin: 36px 0 8px; font-size: 21px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose .updated { margin-top: 36px; color: var(--muted); font-size: 14px; }
.plain p { margin: 0 0 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }
.site-footer a { color: inherit; }

@media (max-width: 860px) {
  .split, .launch .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .split.flip > :first-child { order: 0; }
  .features { grid-template-columns: 1fr; gap: 56px; }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .band { padding: 56px 0; }
  .band.tight { padding: 48px 0; }
  .hero { padding: 44px 0 56px; }
  .page-head { padding: 44px 0 16px; }
  .contact-band { padding: 44px 0 56px; }
  .actions .button { width: 100%; }
  .figure { padding: 18px; }
}

.photo picture { display: block; width: 100%; height: 100%; }
.phone picture { display: block; }
.service .body { margin-top: 18px; max-width: 56ch; font-size: 18px; }
.actions.centre { justify-content: center; margin-top: 56px; }
