/* ==========================================================
   Maeko Data Protect — site stylesheet
   Brand colours sampled from the v2 design spec PDFs.
   ========================================================== */

:root {
  --brand-pink:        #d35590;
  --brand-pink-deep:   #c92e76;
  --brand-blue:        #6da9d9;
  --brand-blue-light:  #69b4e1;
  --brand-blue-deep:   #3c8fb8;
  --brand-purple:      #462c66;
  --brand-purple-light:  #3d1c77;
  --brand-purple-deep:   #211063;
  --text-dark:         #3a3a3a;
  --text-mid:          #5a5a5a;
  --text-soft:         #8a8a8a;
  --hairline:          #e6e6e6;
  --bg:                #ffffff;
  --bg-soft:           #f7fbfd;

  /* Buttons: rectangular w/ 10px radius, height = 3× text size */
  --btn-radius:        10px;
  --btn-font-size:     18px;
  --btn-pad-y:         18px;          /* (3×18 - 18) / 2 = 18 → total height ≈ 3× text */
  --btn-login-font:    16px;
  --btn-login-pad-y:   12px;          /* (2.5×16 - 16) / 2 = 12 → total height = 2.5× text */

  --radius-field:      18px;
  --radius-card:       12px;

  --font-display: "Geist", 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    "Geist", 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg);
  font-size: 16pt;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */

.site-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header / nav ---------- */

.site-header {
  padding-top: 32px;
  padding-bottom: 12px;
}

.site-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.logo-link { display: inline-block; line-height: 0; }
.logo-link img { width: 150px; max-width: 28vw; height: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 16px;
}

.main-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.main-nav a:hover { color: var(--brand-pink); text-decoration: none; }
.main-nav a.is-active { color: var(--brand-pink); }

/* Login button: smaller, 2.5× text height */
.nav-login {
  background: var(--brand-purple);
  color: #fff !important;
  padding: var(--btn-login-pad-y) 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: var(--btn-login-font);
  line-height: 1;
  display: inline-block;
}
.nav-login:hover { background: var(--brand-purple-deep); text-decoration: none; }

/* ---------- Page body / hero ---------- */

main.page-main {
  flex: 1 0 auto;
  padding: 50px 0 80px;
}

/* The page header (title + intro) is full width.
   Two-column grid only kicks in below the header for the body content. */
.page-header {
  margin-bottom: 36px;
}

.page-body-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: flex-start;
}

.page-body-grid .content { max-width: 720px; }
.page-body-grid.no-rail { grid-template-columns: 1fr; }
.page-body-grid.no-rail .content { max-width: 880px; }

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-stack .btn { width: 280px; max-width: 100%; }

/* ---------- Headings ---------- */

h1.page-title {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--brand-pink);
  margin-bottom: 18px;
}
h1.page-title .alt { color: var(--brand-blue); }

.page-intro {
  font-size: 18px;
  color: var(--brand-blue);
  font-weight: 500;
  max-width: 760px;
}

h2.section-h {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-pink);
  margin: 26px 0 8px;
}
h2.section-h.alt-blue { color: var(--brand-blue); }

h3.sub-h {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-blue-light);
  margin: 14px 0 8px;
}

p { margin-bottom: 16px; color: var(--text-dark); }
p strong, .brand-pink { color: var(--brand-pink); font-weight: 700; }
.brand-blue { color: var(--brand-blue); font-weight: 700; }

ul.feature-list { list-style: none; margin: 4px 0 12px 4px; padding: 0; }
ul.feature-list li {
  padding: 2px 0;
  color: var(--text-dark);
}

.mission-block { margin-top: 28px; }
.mission-block .label {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 14px;
}
.mission-block .target {
  color: var(--brand-pink);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}

/* ---------- Buttons (rectangular w/ 10px radius, height = 3× text size) ---------- */

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: var(--btn-font-size);
  line-height: 1;                        /* text height = font-size */
  padding: var(--btn-pad-y) 32px;        /* height becomes ≈ 3× text size */
  border-radius: var(--btn-radius);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.btn-pink  { background: var(--brand-pink); color: #fff; }
.btn-pink:hover  { background: var(--brand-pink-deep); text-decoration: none; }
.btn-blue  { background: var(--brand-blue); color: #fff; }
.btn-blue:hover  { background: var(--brand-blue-deep); text-decoration: none; }
.btn-purple  { background: var(--brand-purple); color: #fff; }
.btn-purple:hover  { background: var(--brand-purple-deep); text-decoration: none; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Larger CTA button used on the splash hero */
.btn-xl {
  --btn-font-size: 22px;
  --btn-pad-y: 26px;                      /* still 3× text size */
  padding: var(--btn-pad-y) 56px;
  min-width: 280px;
}

/* ---------- Splash hero (full width, no column) ---------- */

.splash-page { text-align: left; position: relative; }

.splash-binary {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 62%;
  max-width: 760px;
  pointer-events: none;
  z-index: 0;
}
.splash-binary img { width: 100%; height: auto; display: block; }

.splash-content { position: relative; z-index: 1; }

.splash-headline-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.splash-headline {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.98;
  font-weight: 700;
  margin: 0;
  flex: 0 1 auto;
}
.splash-headline .first  { color: var(--brand-pink); display: block; }
.splash-headline .second { color: var(--brand-blue); display: block; padding-left: 180px; }

.splash-hero {
  position: relative;
  display: block;
}

.splash-image {
  display: block;
  height: auto;
  width: 100%;
  margin-bottom: 12px;
}

.splash-overlay-text {
  position: absolute;
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.splash-overlay-text h1 {
  font-size: 2.5rem;
  /*margin: 0 0 0.5rem;*/
}

.splash-overlay-text p {
  font-size: 1.1rem;
  margin: 0;
}

.splash-sub {
  font-size: 28px;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 50px 0 56px;
  max-width: 980px;
  font-weight: 400;
}

.splash-cta-row {
  display: flex;
  gap: 28px;
  justify-content: right;
  flex-wrap: wrap;
  margin-top: 12px;
}

.Strapline {
	font-size: 28pt;
}


.AlignCentre { text-align :center;}

.TextBold { font-weight:800; }

.TextPink { color: var(--brand-pink); }
.TextBlue { color: var(--brand-blue); }
.TextPurple { color: var(--brand-purple); }

.Spacer20px { font-size:20px; line-height:20px; }

/* ---------- Forms ---------- */

.form-card { max-width: 560px; margin-top: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  margin-bottom: 16px;
  gap: 18px;
}
.form-row > label {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  border: 2px solid var(--brand-blue);
  background: #fff;
  border-radius: var(--radius-field);
  padding: 11px 18px;
  font-size: 15px;
  color: var(--text-dark);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.form-input::placeholder { color: var(--text-soft); }
.form-input:focus,
.form-select:focus { border-color: var(--brand-pink); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'><polygon points='0,0 14,0 7,10' fill='%234ba5d2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 22px;
  font-size: 14px;
  color: var(--text-mid);
}
.consent-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-pink);
}

.form-meta {
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 500;
  line-height: 1.5;
  margin-top: 18px;
  max-width: 420px;
}

.form-error {
  background: #fdecef;
  border: 1px solid #f5b6c7;
  color: #b3134a;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.form-success {
  background: #e9f6f0;
  border: 1px solid #a9d9c1;
  color: #1f7a4d;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

/* ---------- Signup-specific ---------- */

.signup-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 280px;
}
.signup-buttons .btn { font-size: 18px; }
.signup-buttons .btn.dimmed { opacity: 0.35; }
.signup-buttons .btn.is-active { box-shadow: 0 4px 14px rgba(225,60,135,0.25); }

.signup-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.signup-intro {
  color: var(--brand-blue);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 20px;
}

.pricing-box {
  background: #e8f3fa;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 22px 0;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 16px;
  color: var(--text-dark);
}
.pricing-row .label { color: var(--text-dark); }
.pricing-row .value { font-weight: 500; }
.pricing-row.total {
  border-top: 1px solid #b9d8e8;
  margin-top: 12px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.coupon-row { display: flex; gap: 10px; }
.coupon-row .form-input { flex: 1; }
.coupon-row .coupon-apply {
  background: #fff;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  border-radius: var(--radius-field);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.coupon-row .coupon-apply:hover { background: var(--brand-blue); color: #fff; }

.stripe-note {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-soft);
}
.stripe-note .tag {
  display: inline-block;
  background: #f0f0f0;
  border: 1px solid #ddd;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-mid);
  margin-right: 6px;
}

.also-option { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-mid); }
.also-option a { color: var(--brand-blue); text-decoration: underline; }

.portal-strip {
  border-top: 1px solid var(--hairline);
  margin-top: 50px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.portal-strip-text strong {
  display: block;
  font-size: 17px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.portal-strip-text span { color: var(--text-mid); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 30px 0 32px;
  margin-top: 30px;
}
.site-footer-inner {
  text-align: right;
  font-size: 16px;
  color: var(--text-dark);
}
.site-footer-inner a { color: var(--text-dark); }
.site-footer-inner a:hover { color: var(--brand-pink); text-decoration: none; }
.site-footer-inner .sep { color: var(--text-soft); padding: 0 6px; }
.site-footer-inner a.is-active { color: var(--brand-pink); }

/* ---------- Contact specifics ---------- */

.contact-list { font-size: 22px; font-weight: 700; margin-top: 30px; }
.contact-list .label { color: var(--brand-pink); }
.contact-list a { color: var(--brand-pink); }

/* ---------- Login / 2FA ---------- */

.auth-card { max-width: 460px; margin: 24px auto 0; padding: 0 8px; }
.auth-card .form-row { grid-template-columns: 1fr; gap: 6px; }
.auth-card .form-row > label {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
}
.qr-block { text-align: center; padding: 20px; background: #f7fbfd; border-radius: 12px; }
.qr-block img { max-width: 220px; height: auto; border-radius: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-wrap { padding: 0 22px; }
  .site-header-inner { flex-direction: column; gap: 18px; }
  .main-nav { flex-wrap: wrap; gap: 16px; padding-top: 4px; }
  .main-nav a { font-size: 16px; }
  .nav-login { padding: 8px 18px; }
  .page-body-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-stack, .signup-buttons { flex-direction: row; width: 100%; }
  .cta-stack .btn, .signup-buttons .btn { flex: 1; min-width: 140px; width: auto; }
  h1.page-title { font-size: 36px; }
  .splash-binary { display: none; }
  .splash-content { padding-top: 16px; }
  .splash-headline { font-size: 56px; }
  .splash-headline .second { padding-left: 30px; }
  .splash-walker { height: 130px; }
  .splash-sub { font-size: 20px; margin: 30px 0; }
  .btn-xl { --btn-font-size: 20px; --btn-pad-y: 20px; padding: var(--btn-pad-y) 32px; min-width: 0; }
  .form-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row > label { margin-bottom: 0; }
  .site-footer-inner { text-align: center; }
}
