/* deskonline.cloud — homepage styles
   Palette from the logo: slate #203038, orange #E07830. Teal #058A91 carried over from the old site for links. */

:root {
  --ink: #203038;
  --ink-soft: #3a4a52;
  --muted: #6b7a82;
  --orange: #e07830;
  --orange-deep: #c4621d;
  --teal: #058a91;
  --teal-deep: #046e74;
  --paper: #ffffff;
  --ground: #eef2f3;
  --line: #d5dde0;
  --font: "Ubuntu", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 500; }

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

.skip {
  position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem;
  background: var(--ink); color: #fff; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 4px;
  font-weight: 500; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: 72px;
}
.brand img { width: 118px; height: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { border-bottom-color: var(--orange); }
.nav-login a { padding: 0.5rem 1rem; border: 2px solid var(--ink); border-radius: 4px; }
.nav-login a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.tagline { color: var(--muted); font-weight: 400; font-style: italic; margin-bottom: 1rem; font-size: 1.05rem; }
.hero h1 {
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem);
  font-weight: 700; margin-bottom: 1.4rem;
}
.brandname { color: var(--ink); }

.needs { list-style: none; margin: 0 0 2rem; padding: 0; }
.needs li { position: relative; padding: 0.55rem 0 0.55rem 2.2rem; border-top: 1px solid var(--line); }
.needs li:last-child { border-bottom: 1px solid var(--line); }
.needs li::before {
  content: ""; position: absolute; left: 0.35rem; top: 1.15rem; width: 0.7rem; height: 0.7rem;
  background: var(--orange); border-radius: 2px;
}
.needs a { color: var(--ink-soft); text-decoration: none; font-size: 1.1rem; }
.needs a:hover strong { color: var(--orange-deep); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.login-note { margin: 0; color: var(--muted); }

.hero-shot { margin: 0; position: relative; min-width: 0; }
.hero-shot img {
  width: 100%; border-radius: 6px;
  box-shadow: 0 24px 60px -20px rgba(32,48,56,0.45), 0 0 0 1px rgba(32,48,56,0.08);
}
@media (min-width: 900px) {
  .hero-shot { width: calc(100% + 8vw); }
  .hero-shot img { width: 100%; }
}

/* Australian strip */
.australian { margin-top: clamp(3rem, 6vw, 5rem); background: var(--ink); color: #dfe7ea; padding: 2.2rem 0; }
.australian-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.australian p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.australian strong { color: #fff; display: block; margin-bottom: 0.2rem; }
.australian strong::after { content: ""; display: block; width: 2rem; height: 3px; background: var(--orange); margin-top: 0.4rem; }

/* Pillars */
.pillar { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pillar-alt { background: var(--ground); }
.pillar-grid { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 9.5fr); gap: clamp(1.5rem, 4vw, 4rem); }
.pillar-label h2 { position: sticky; top: 92px; padding-top: 0.4rem; border-top: 4px solid var(--orange); margin: 0; }
.lead { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); color: var(--ink); font-weight: 500; line-height: 1.3; margin-bottom: 1.5rem; max-width: 30ch; }

.features { list-style: none; margin: 0 0 2.5rem; padding: 0; max-width: 68ch; columns: 1; }
.features li { padding: 0.55rem 0 0.55rem 1.1rem; border-left: 2px solid var(--line); margin-bottom: 0.35rem; }
.features li strong { color: var(--ink); font-weight: 700; }

.shots { display: grid; gap: 1.25rem; }
.shots-3 { grid-template-columns: repeat(3, 1fr); }
.shots-4 { grid-template-columns: repeat(2, 1fr); }
.shots figure { margin: 0; }
.shots img { border-radius: 4px; border: 1px solid var(--line); background: #fff; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.shots figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.45rem; }

/* Pricing */
.pricing { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 60ch; margin-bottom: 2rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.plans { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 0.95rem; }
.plans th, .plans td { padding: 0.8rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.plans thead th { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); line-height: 1.25; }
.plans tbody th { font-weight: 500; color: var(--ink-soft); width: 22%; }
.plans thead th:first-child { width: 22%; }
.plans td { color: var(--ink-soft); }
.price-row td { background: #fbf3ec; }
.price { font-size: 1.35rem; font-weight: 700; color: var(--orange-deep); display: block; line-height: 1.1; }
.price-note { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }
.table-note { font-size: 0.9rem; color: var(--muted); margin-top: 1.2rem; max-width: 70ch; }

/* Sign-up */
.signup { background: var(--ground); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.signup-grid > div p { max-width: 42ch; }
.signup-terms { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); margin: 1rem 0 0; max-width: 90ch; border-top: 1px solid var(--line); padding-top: 1.25rem; }

/* Apps & support */
.apps { padding: clamp(3rem, 6vw, 5rem) 0; }
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.apps-grid p { max-width: 48ch; }
.app-links { list-style: none; margin: 0; padding: 0; }
.app-links li { padding: 0.5rem 0; border-top: 1px solid var(--line); }
.app-links li:last-child { border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--ink); color: #c9d3d8; padding: 3.5rem 0 1.5rem; font-size: 0.93rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer h3 { color: #fff; margin-top: 0; }
.site-footer h3 + ul + h3 { margin-top: 1.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 3rem; }
.footer-brand img { width: 150px; margin-bottom: 0.75rem; }
.footer-tagline { color: #fff; font-style: italic; margin-bottom: 0.5rem; }
.footer-base { margin-top: 3rem; }
.footer-base p { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; }
.footer-base p { margin: 0; color: #9fb0b8; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pillar-label h2 { position: static; }
  .australian-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-block; background: none; border: 2px solid var(--ink); color: var(--ink);
    font: inherit; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 4px; cursor: pointer;
  }
  .site-nav { position: relative; }
  .site-nav ul {
    display: none; position: absolute; right: 0; top: calc(100% + 0.6rem); flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; min-width: 240px; padding: 0.5rem 0;
    box-shadow: 0 12px 30px -10px rgba(32,48,56,0.3);
  }
  .site-nav ul.open { display: flex; }
  .site-nav li a { display: block; padding: 0.7rem 1.1rem; border-bottom: 0; }
  .site-nav li a:hover { background: var(--ground); }
  .nav-login { padding: 0.5rem 1.1rem 0.4rem; }
  .nav-login a { text-align: center; }
}

@media (max-width: 760px) {
  .shots-3, .shots-4 { grid-template-columns: 1fr 1fr; }
  .signup-grid, .apps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .shots-3, .shots-4 { grid-template-columns: 1fr; }
  .brand img { width: 96px; }
  .needs a { font-size: 1rem; }
}

@media print {
  .site-header, .nav-toggle, .btn { display: none; }
  body { color: #000; }
}
