/* =====================================================================
   alt108 website styles  ·  "Freight" design (November 2026)
   ---------------------------------------------------------------------
   Think of the page as a set of TILES on a grey table. Each tile is a
   rounded box: dark, white or orange. Grids decide how tiles sit side
   by side, and on phones they stack one under the other.

   HOW THIS FILE IS ORGANISED (top to bottom):
     1. Colours, fonts and sizes   <- change the whole look from here
     2. Basics (page, text, links, buttons)
     3. Tiles (the rounded boxes used everywhere)
     4. Header and menu
     5. Home page sections, in the order they appear
     6. Demo pages
     7. Footer
     8. Tablet and phone adjustments (at the very bottom)
   ===================================================================== */


/* ---------- 1. COLOURS, FONTS AND SIZES ----------
   These are "variables". Change one here and it changes everywhere. */
:root {
  --table:  #E7EAEE;   /* grey page background, the "table" the tiles sit on */
  --ink:    #0E1116;   /* main text colour (almost black) */
  --dark:   #14171C;   /* dark tiles */
  --dark-2: #262A31;   /* slightly lighter dark, for boxes inside dark tiles */
  --white:  #FFFFFF;   /* white tiles */
  --orange: #FF5A1F;   /* the one loud colour: buttons, highlights */
  --soft:   #4A515B;   /* grey text for smaller notes */
  --soft-on-dark: #B9C0C9; /* grey text on dark tiles */
  --line:   #D5DAE0;   /* thin lines and borders */

  /* Fonts come from Google Fonts (linked in the <head> of each page) */
  --font-head: 'Unbounded', 'Arial Black', sans-serif;  /* wide, heavy headings */
  --font-body: 'Onest', 'Segoe UI', Arial, sans-serif;  /* everything else */

  --round: 28px;       /* how rounded the big tiles are */
  --round-small: 18px; /* smaller boxes inside tiles */
  --gap: 10px;         /* space between tiles */
  --max: 1200px;       /* maximum width of the page content */
}


/* ---------- 2. BASICS ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }      /* menu links glide down the page */
body {
  margin: 0;
  background: var(--table);
  color: var(--ink);
  font: 17px/1.55 var(--font-body);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.2; }
p  { margin: 0 0 1em; }
a  { color: inherit; }
b, strong { font-weight: 600; }

/* .wrap keeps content centred and not too wide */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Every section gets the same space above and below */
section { padding: 40px 0; scroll-margin-top: 80px; }

/* Orange words inside a heading: <span class="hl">...</span> */
.hl { color: var(--orange); }

/* A short intro line next to or under a heading */
.lead { font-size: 1.1rem; color: var(--soft); max-width: 60ch; }
.tile.dark .lead { color: var(--soft-on-dark); }

/* Heading row: heading on the left, short text on the right */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 4px 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 34ch; color: var(--soft); }

/* Buttons: pill shaped. Add "btn-orange", "btn-white" or "btn-dark" */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 22px;
  font: 600 15px/1 var(--font-body); text-decoration: none;
  border: 0; cursor: pointer; transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-white  { background: var(--white); color: var(--ink); }
.btn-dark   { background: var(--dark); color: var(--white); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Small pill labels, e.g. "Main demo" */
.chip { display: inline-block; background: var(--orange); color: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.chip.grey { background: var(--table); color: var(--ink); }


/* ---------- 3. TILES ----------
   <div class="tile">        white tile
   <div class="tile dark">   dark tile
   <div class="tile orange"> orange tile */
.tile { background: var(--white); border-radius: var(--round); padding: 30px; min-width: 0; position: relative; overflow: hidden; }
.tile.dark   { background: var(--dark); color: var(--white); }
.tile.orange { background: var(--orange); color: var(--white); }
.tile.flush  { padding: 0; }                /* for pictures that fill the tile */
.tile > :last-child { margin-bottom: 0; }

/* Big number inside a tile, e.g. 2–5 */
.big-number { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-head); letter-spacing: -0.04em; color: var(--orange); margin: 10px 0; }


/* ---------- 4. HEADER AND MENU ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--table); }
.site-header .wrap { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.logo { font: 800 24px/1 var(--font-head); letter-spacing: -0.04em; text-decoration: none; margin-right: auto; }
.logo span { color: var(--orange); }
.brand { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.brand .logo { margin-right: 0; }
.brand small { font-size: 12px; color: var(--soft); white-space: nowrap; }
@media (max-width: 420px) { .brand small { display: none; } } /* too tight on small phones; the About section also explains it */
.menu { display: flex; gap: 8px; align-items: center; }
.menu a { background: var(--white); border-radius: 999px; padding: 10px 17px; font-size: 14px; font-weight: 500; text-decoration: none; }
.menu a:hover { background: var(--dark); color: var(--white); }
.menu a.btn-orange { background: var(--orange); color: var(--white); }
.menu-toggle { display: none; background: var(--dark); color: var(--white); border: 0; border-radius: 999px; padding: 10px 16px; font: 600 14px var(--font-body); cursor: pointer; }


/* ---------- 5. HOME PAGE SECTIONS ---------- */

/* 5.1 HERO: headline tile + picture tile + two number tiles */
.hero { padding-top: 6px; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr .9fr; grid-template-rows: auto auto; gap: var(--gap); }
.hero-main { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 460px; padding: 40px; }
/* The orange ring in the corner of the headline tile */
.hero-main::after { content: ""; position: absolute; right: -120px; top: -120px; width: 240px; height: 240px; border-radius: 50%; border: 42px solid var(--orange); z-index: 0; }
.hero-main > * { position: relative; z-index: 1; }  /* keeps the text above the ring */
.hero-main small { font-size: 13px; color: var(--soft-on-dark); }
.hero-main h1 { max-width: 13ch; margin: 14px 0 16px; position: relative; z-index: 1; }
.hero-main p { color: var(--soft-on-dark); max-width: 46ch; }
.hero-picture { grid-row: span 2; display: flex; }
.hero-picture svg { width: 100%; height: 100%; }
.stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; padding: 24px; }
.stat .big-number { margin: 0; }
.stat .price { font: 800 clamp(1.6rem, 2.6vw, 2rem)/1 var(--font-head); letter-spacing: -0.04em; }

/* 5.2 DEMOS: one wide dark card + three white cards */
.demo-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); }
.demo-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 18px; border-radius: 24px; }
.demo-card h3, .demo-card p, .demo-card .go, .demo-card .chip, .demo-card .call { margin-left: 6px; margin-right: 6px; }
.demo-card h3 { margin-bottom: 0; }
.demo-card p { font-size: 14.5px; color: var(--soft); margin-bottom: 0; }
.demo-card.dark p { color: var(--soft-on-dark); }
.demo-card .chip { align-self: flex-start; }
.demo-card .call { font: 700 15px/1.2 var(--font-head); color: var(--orange); letter-spacing: -0.02em; }
/* The "Try it →" row at the bottom of each card */
.demo-card .go { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; text-decoration: none; }
.demo-card .go i { width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: var(--white); display: grid; place-items: center; font-style: normal; transition: transform .15s; }
.demo-card.dark .go i { background: var(--orange); }
.demo-card .go:hover i { transform: translateX(3px); }
/* Little drawn "screens" at the top of each card (pure decoration) */
.screen { height: 120px; border-radius: var(--round-small); background: #F1F3F5; position: relative; overflow: hidden; }
.demo-card.dark .screen { background: var(--dark-2); }
.screen i { position: absolute; display: block; border-radius: 4px; background: var(--line); height: 8px; }
.demo-card.dark .screen i { background: #3E444D; }
.screen i.o { background: var(--orange); }
.coming-soon { margin: 14px 6px 0; font-size: 15px; color: var(--soft); }

/* 5.3 THE REAL PROBLEM: text tile + three-circles picture tile */
.problem-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); }
.four { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.four li { background: var(--table); border-radius: var(--round-small); padding: 18px; font-size: 15px; color: var(--soft); }
.four li b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; letter-spacing: -0.02em; margin-bottom: 4px; }
.picture-tile { display: flex; flex-direction: column; }
.picture-tile svg { width: 100%; flex: 1; min-height: 360px; }
.picture-tile figcaption { padding: 0 28px 24px; font-size: 14px; color: var(--soft-on-dark); }

/* 5.4 WHAT AI CHANGES: the table */
.table-scroll { overflow-x: auto; margin: 20px 0; border-radius: var(--round-small); }
.ai-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.ai-table th { background: var(--dark); color: var(--white); text-align: left; padding: 14px 16px; font-weight: 600; font-size: 13px; }
.ai-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ai-table tr:last-child td { border-bottom: 0; }
.ai-table td:first-child { font-weight: 600; }
/* "Yes" and "Partly" get little pills */
.yes, .partly { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.yes { background: var(--table); }
.partly { background: #FFE2D6; }
.pullquote { font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--font-head); letter-spacing: -0.03em; max-width: 30ch; margin: 28px 0 0; }

/* 5.5 OUTCOMES: dark tile with big pills */
.outcomes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.outcomes li { border: 1.5px solid #3E444D; border-radius: 999px; padding: 12px 22px; font: 700 clamp(1rem, 1.8vw, 1.25rem)/1 var(--font-head); letter-spacing: -0.02em; }
.outcomes li:nth-child(odd) { background: var(--orange); border-color: var(--orange); }

/* 5.6 Pricing: three step tiles + guarantee tile */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.step { display: flex; flex-direction: column; gap: 6px; }
.step .num { font: 800 3rem/1 var(--font-head); color: var(--orange); letter-spacing: -0.04em; margin-bottom: 18px; }
.step p { color: var(--soft); font-size: 15.5px; }
.guarantee { grid-column: 1 / -1; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.guarantee h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 0; max-width: 24ch; }
.guarantee p { margin: 0; max-width: 52ch; }

/* 5.7 ABOUT: text tile, photo tile, contact tile, hobby tile */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: var(--gap); }
.about-text { grid-row: span 2; }
.pronounce { font-style: italic; color: var(--soft); }
.promise-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.promise-list li { background: var(--table); border-radius: var(--round-small); padding: 14px 18px; font-size: 15.5px; }
.founder { display: flex; flex-direction: column; gap: 14px; }
.founder img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--round-small); }
.founder .quote { font-size: 15px; color: var(--soft-on-dark); margin: 0; }
.direct { display: flex; justify-content: space-between; align-items: center; background: var(--orange); color: var(--white); border-radius: 999px; padding: 12px 20px; text-decoration: none; font-weight: 600; }
.direct strong { font-family: var(--font-head); letter-spacing: -0.02em; }
.hobby { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px; }
.hobby img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--round-small); }
.hobby p { margin: 0; font-size: 15px; }

/* 5.8 FAQ: heading on the left, questions on the right */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gap); align-items: start; }
.faq-grid .tile.dark { position: sticky; top: 90px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--white); border-radius: var(--round-small); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 20px/1 var(--font-head); color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--soft); padding-bottom: 18px; margin: 0; }

/* 5.9 CONTACT: dark tile with the form inside */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 44px; }
.contact-grid a { color: var(--orange); }
.form-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.req { color: var(--orange); }
input, select, textarea {
  width: 100%; font: 16px var(--font-body); color: var(--ink);
  background: #F4F5F7; border: 1.5px solid transparent; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
textarea { min-height: 110px; resize: vertical; }
input[type="file"] { background: transparent; padding: 6px 0; }
.form-status { margin: 12px 0 0; font-size: 14px; }


/* ---------- 6. DEMO PAGES ---------- */
.crumb { margin: 0 4px 12px; font-size: 14px; }
.crumb a { text-decoration: none; font-weight: 600; }
.demo-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gap); }
.demo-hero-grid .tile.dark { padding: 40px; }
.demo-hero-grid .tile.dark::after { content: ""; position: absolute; right: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%; border: 38px solid var(--orange); z-index: 0; }
.demo-hero-grid .tile.dark > * { position: relative; z-index: 1; }
.demo-hero-grid h1 { max-width: 18ch; position: relative; z-index: 1; }
.demo-hero-grid .lead { position: relative; z-index: 1; }
.demo-hero-grid .stat .big-number { font-size: clamp(2.2rem, 4vw, 3rem); }
.note { font-size: 14px; color: var(--soft); }
/* Two panels side by side: the app and the live data */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); margin-top: 18px; }
.panel { background: var(--white); border-radius: var(--round-small); overflow: hidden; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--dark); color: var(--white); font-size: 13px; font-weight: 600; }
.panel-head a { color: var(--orange); text-decoration: none; }
.panel iframe { width: 100%; height: 680px; border: 0; display: block; }
.placeholder { display: grid; place-items: center; min-height: 300px; height: 100%; background: #F4F5F7; color: var(--soft); font-size: 15px; text-align: center; padding: 20px; }
.video-box { aspect-ratio: 16 / 9; }
.video-box iframe { width: 100%; height: 100%; border: 0; }
/* Three fact tiles in a row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.facts .tile p { color: var(--soft); font-size: 15.5px; }
/* "Built with" pills */
.built-with { list-style: none; padding: 0; margin: 14px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.built-with li { border: 1.5px solid #3E444D; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.cta-tile { padding: 44px; }
.cta-tile h2 { max-width: 20ch; }
/* Workflow picture next to its explanation (asset tracker page) */
.workflow-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap); }
.workflow-grid .tile.flush svg { width: 100%; height: 100%; min-height: 420px; }
.steps-list { margin: 18px 0 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--soft); }
.steps-list b { color: var(--ink); }


/* ---------- 7. FOOTER ---------- */
.site-footer { padding: 30px 0 40px; font-size: 14px; color: var(--soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }


/* ---------- 8. TABLET AND PHONE ADJUSTMENTS ----------
   "@media (max-width: 960px)" means: only use these rules when the
   screen is 960 pixels wide or narrower. */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-main { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .hero-picture { grid-row: span 2; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid, .about-grid, .faq-grid, .contact-grid, .demo-hero-grid, .split, .workflow-grid { grid-template-columns: 1fr; }
  .about-text { grid-row: auto; }
  .faq-grid .tile.dark { position: static; }
  .steps, .facts { grid-template-columns: 1fr; }
  .panel iframe { height: 600px; }
}

@media (max-width: 760px) {
  /* The menu folds away behind a "Menu" button */
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; left: 20px; right: 20px; top: 64px; flex-direction: column; align-items: stretch; background: var(--dark); padding: 12px; border-radius: 22px; }
  .menu.open { display: flex; }
  .menu a { text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .tile, .hero-main, .contact-grid, .cta-tile, .demo-hero-grid .tile.dark { padding: 24px; }
  .hero-grid, .demo-grid, .four, .form-row { grid-template-columns: 1fr; }
  .hero-picture { grid-row: auto; }
  .hero-picture svg { max-height: 460px; }
  .stat { min-height: 0; }
  .hero-main::after, .demo-hero-grid .tile.dark::after { display: none; }  /* no ring on phones */
}

/* People who switch off animations in their settings get none */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .demo-card .go i { transition: none; }
}

/* ---------- EXTRA: lists inside dark tiles, testimonials ---------- */
.tile.dark .steps-list { color: var(--soft-on-dark); }

/* Testimonials (switched on by pasting snippets/testimonials.html into index.html) */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.testimonial { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.testimonial blockquote { margin: 0; font: 600 1.1rem/1.4 var(--font-body); }
.testimonial .who { font-size: 14px; color: var(--soft); }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }

/* The call-in number on the AI receptionist page */
.call-id { display: block; font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--font-head); letter-spacing: -0.03em; margin: 8px 0; }
