/* Sutherland Shire Apps — site styles */
:root {
  --ink: #13293d;
  --ocean: #2e6c9c;
  --ocean-deep: #1f4f76;
  --surf: #e3eff6;
  --sun: #f2a23a;
  --sun-deep: #d9861a;
  --slate: #5a6b79;
  --line: #c9dbe7;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-lg: 28px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--ocean-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Headings: wider cuts of Archivo carry the voice */
h1, h2, h3 { font-stretch: 112%; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; font-stretch: 118%; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 750; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 106%; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: 1.2rem; color: var(--slate); max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-stretch: 106%;
  padding: 14px 24px; border-radius: var(--radius-sm); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-stretch: 112%; font-size: 1.1rem; }
.brand img { width: 52px; height: auto; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--ocean); }
.nav .btn { padding: 10px 16px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--surf) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero-note { color: var(--slate); font-size: .95rem; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }

/* The phone: the one bold element on the page */
.phone {
  width: 300px; aspect-ratio: 9 / 18.5; background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px -25px rgba(19, 41, 61, .55);
  position: relative;
}
.screen { background: #f6f9fb; border-radius: 34px; height: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.screen-top { background: var(--ocean); color: #fff; padding: 132px 18px 16px; }
.screen-top strong { display: block; font-size: 1.05rem; font-stretch: 110%; }
.screen-top span { font-size: .82rem; opacity: .85; }
.class-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; }
.class-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.class-list b { display: block; font-size: .92rem; }
.class-list .tag { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--surf); color: var(--ocean-deep); }
.class-list .off { opacity: .45; text-decoration: line-through; }
.class-list .tag-off { background: #fde7c6; color: #8a4f00; }
.notif {
  position: absolute; left: 10px; right: 10px; top: 36px;
  background: rgba(255, 255, 255, .97); border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 12px 30px -10px rgba(19, 41, 61, .45); font-size: .84rem; line-height: 1.35;
  border-left: 4px solid var(--sun);
  animation: drop 0.7s cubic-bezier(.2, .9, .3, 1.2) 0.6s both;
}
.notif-head { display: flex; justify-content: space-between; font-size: .74rem; color: var(--slate); margin-bottom: 3px; }
.notif b { display: block; }
@keyframes drop { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }
.phone-caption { font-size: .88rem; color: var(--slate); text-align: center; margin: 16px auto 0; max-width: 300px; }

/* Sections */
section { padding: 80px 0; }
.section-intro { margin-bottom: 40px; }
.alt { background: var(--surf); }

/* What we build: two-column list, not cards */
.build-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin: 0; padding: 0; list-style: none; }
.build-list li { border-top: 3px solid var(--ocean); padding-top: 16px; }
.build-list p { color: var(--slate); margin: 0; }
@media (max-width: 760px) { .build-list { grid-template-columns: 1fr; } }

/* Case study */
.case { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.case img { width: 180px; border-radius: 50%; }
.wins { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.wins li { padding-left: 18px; border-left: 3px solid var(--sun); }
.wins b { display: block; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } .wins { grid-template-columns: 1fr; } }

.ideas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.ideas p { color: var(--slate); }
@media (max-width: 760px) { .ideas { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so numbers are earned */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 54px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 48px; right: -12px; height: 2px; background: var(--line); }
.steps p { color: var(--slate); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* Pricing */
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--ink); color: #fff; font-weight: 700; font-stretch: 106%; }
.price-table td.price { font-weight: 800; font-size: 1.15rem; font-stretch: 110%; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.fine { font-size: .92rem; color: var(--slate); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pricing-grid > div { min-width: 0; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
dl.terms { margin: 0; }
dl.terms dt { font-weight: 700; margin-top: 12px; }
dl.terms dd { margin: 2px 0 0; color: var(--slate); }

.guarantee { margin-top: 56px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.guarantee h2 { color: #fff; }
.guarantee p { color: #d6e3ee; }
.guarantee ol { margin: 0; padding-left: 1.2em; color: #d6e3ee; }
.guarantee li { margin-bottom: 8px; }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; padding: 28px; } }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Service area line */
.area { margin-top: 48px; }
.area ol { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; position: relative; }
.area li { flex: 1 1 0; min-width: 100px; position: relative; padding-top: 26px; font-weight: 600; font-size: .95rem; }
.area li::before { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ocean); z-index: 1; }
.area li::after { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 3px; background: var(--ocean); }
.area li:last-child::after { display: none; }
.area li.home::before { background: var(--sun); border-color: var(--sun-deep); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ways { list-style: none; padding: 0; margin: 0 0 24px; }
.ways li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ways b { display: block; font-size: .9rem; color: var(--slate); font-weight: 600; }
.ways a { font-weight: 700; font-size: 1.12rem; text-decoration: none; }
form label { display: block; font-weight: 600; margin: 14px 0 6px; }
form input, form textarea, form select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
form input:focus, form textarea:focus, form select:focus { border-color: var(--ocean); outline: none; box-shadow: 0 0 0 3px rgba(46, 108, 156, .2); }
form textarea { min-height: 130px; resize: vertical; }
form .btn { margin-top: 18px; }
.form-status { margin-top: 12px; font-weight: 600; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #b9cbda; padding: 36px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #fff; }

/* Article pages */
.article { padding: 56px 0 80px; }
.article .wrap { max-width: 760px; }
.article h2 { margin-top: 1.6em; font-size: 1.6rem; }
.article .back { display: inline-block; margin-bottom: 24px; }
.article .disclosure { background: var(--surf); border-radius: var(--radius-sm); padding: 16px 20px; }

@media (max-width: 480px) {
  .brand { font-size: .95rem; }
  .brand img { width: 40px; }
  .nav .btn { white-space: nowrap; padding: 9px 12px; font-size: .95rem; }
}
