html {
  line-height: 1.15;
}

body {
  margin: 0;
}

* {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  -webkit-font-smoothing: antialiased;
}

p,
li,
ul,
pre,
div,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
figcaption {
  margin: 0;
  padding: 0;
}

button {
  background-color: transparent;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  color: inherit;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img {
  display: block;
}

html {
  scroll-behavior: smooth;
}

@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap");

:root {
  --accent: #ff6600;
  --dark: #121212;
  --light: #ffffff;
}

html {
  font-family: "Lexend", sans-serif;
  font-size: 16px;
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.button-primary {
  background: var(--accent);
  color: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.button-primary:hover {
  opacity: 0.9;
}

/* Layout helpers */
section {
  padding: 4rem 0;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.card {
  background: #f7f7f7;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-icon {
  font-size: 1.75rem;
  color: var(--accent);
}

.email-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.email-form input {
  flex: 1 1 auto;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.founder {
  background: #fafafa;
  text-align: center;
  padding: 3rem 1rem;
}

.founder img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-weight: 500;
}

/* Audience toggle */
.audience-toggle {
  display: flex;
  justify-content: center;
  margin: 3rem auto 1rem;
  position: relative;
  gap: 0;
  height: 48px;
}
.audience-toggle input {
  display: none;
}
.audience-toggle label {
  flex: 0 0 150px;
  display: grid;
  place-items: center;
  font-weight: 600;
  border: 2px solid var(--accent);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s;
}
.audience-toggle label:first-of-type {
  border-radius: 50px 0 0 50px;
}
.audience-toggle label:last-of-type {
  border-left: none;
  border-radius: 0 50px 50px 0;
}
.audience-toggle input:checked + label {
  background: var(--accent);
  color: #fff;
}

/* Audience sections */
.audience-section {
  display: none;
  animation: fade 0.4s ease-out forwards;
}
.audience-section.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soft radial spotlight behind phone */
.hero-bg {
  position: absolute;
  right: 15%;
  top: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle at center,
    rgba(255, 100, 0, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(60px);
  z-index: -1;
}

/* Keyhole blueprint overlay */
.hero-keyhole {
  position: absolute;
  left: 0;
  top: 80px;
  width: 380px;
  height: 380px;
  background: url("/img/keyhole.svg") center/contain no-repeat;
  opacity: 0.06;
}

/* Phone wrapper sizing */
.phone-wrapper {
  flex: 0 0 360px;
  max-width: 360px;
}

/* ---------------------------------------------------
   Sticky header (default state)
---------------------------------------------------- */
.sticky-nav {
  /* keeps it stuck to the top in every browser */
  position: sticky;
  top: 0;

  /* layout */
  width: 100%;
  z-index: 1000; /* sits above page content */
  padding: 1.25rem 0; /* roomier when page loads */

  /* look & feel */
  background: #ffffff; /* solid fallback */
  backdrop-filter: saturate(180%) blur(10px); /* nice frost-glass on supported browsers */
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    padding 0.3s ease;
}

/* ---------------------------------------------------
   Sticky header after you start scrolling
---------------------------------------------------- */
.sticky-nav.scrolled {
  /* shrink height a bit */
  padding: 0.75rem 0;

  /* subtle elevation + slightly translucent bg */
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

footer {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #000000;
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 1rem;
  text-align: center;
  background-color: #f9f9f9;
}

footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
}

footer nav a {
  color: #ff6600;
  text-decoration: none;
  margin: 0 0.6rem;
}

footer nav a:hover,
footer nav a:focus {
  text-decoration: underline;
}
