:root{
  --honey-1: #FFD084;
  --honey-2: #FF9A3C;
  --bg-navy: #0F172A;
  --cream: #FFF5E8;
  --muted: #9AA4B2;
  --bg-light-grey: #E8E8E8;
}

html,body{
  height:100%;
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--bg-navy);
  background-color: var(--bg-light-grey);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-size: 18px;
  line-height: 1.7;
}

.site-bg {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-light-grey);
  position:relative;
  overflow:hidden;
}

/* Large organic honeycomb cluster */
.site-bg::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  background-image: url('honeycomb-colored.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom left;
  pointer-events: none;
  opacity: 0.25;
  z-index: 1;
}

.container {
  position:relative;
  z-index:10;
  max-width:1100px;
  margin:0 auto;
  padding:40px 48px 24px;
  background-color: var(--cream);
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 80px rgba(0,0,0,0.08);
  color: var(--bg-navy);
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.hero .logo {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 104px;
  height: 104px;
  transition: transform 0.3s ease;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  line-height: 1;
}

.hero .logo:hover {
  transform: scale(1.05);
}

.hero h1{
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(36px, 5vw, 56px);
  margin:0 0 8px 0;
  font-weight:800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero p > span {
  white-space: nowrap;
}

.hero p{
  grid-column: 2;
  grid-row: 2;
  margin:0;
  color:var(--muted);
  font-size:1.15rem;
  font-weight: 500;
}

section {
  margin-bottom: 32px;
}

section h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: var(--bg-navy);
  letter-spacing: -0.01em;
}

section p {
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--bg-navy);
  font-size: 1.05rem;
}

.about{
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 28px 32px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about p{
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.about a {
  white-space: nowrap;
}

.coming-soon {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.coming-soon h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.coming-soon p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon p a {
  white-space: nowrap;
}

section a {
  color: var(--honey-2);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

section a::after {
  content: ' →';
  transition: transform 0.2s ease;
  display: inline-block;
}

section a:hover {
  color: var(--bg-navy);
}

section a:hover::after {
  transform: translateX(4px);
}

.app-toggle {
  display: flex;
  gap: 12px;
  margin-top: 0;
  justify-content: flex-start;
}

.toggle-btn {
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--bg-navy);
}

.toggle-btn.active {
  background: var(--bg-navy);
  color: var(--cream);
  border-color: var(--bg-navy);
}

.app-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.app-list.hidden {
  display: none;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 22px 22px 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.app-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 154, 60, 0.3);
}

.app-info {
  flex: 1;
}

.app-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--bg-navy);
  letter-spacing: -0.01em;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.app-info{
  flex: 1;
}

.app-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
}

.app-links .app-store-badge{
  flex: 1;
  text-align: center;
}

.app-store-badge {
  display: inline-block;
  padding: 10px 22px;
  background: var(--bg-navy);
  color: var(--cream);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.app-store-badge:hover {
  background: var(--honey-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 154, 60, 0.3);
}

.app-store-badge.disabled {
  background: var(--muted);
  opacity: 0.4;
  cursor: not-allowed;
  position: relative;
}

.app-store-badge.disabled::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--honey-1);
  color: var(--bg-navy);
  border: 2px solid var(--honey-2);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-store-badge.disabled:hover::after {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.nav-logo img {
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--bg-navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--honey-2);
}

.footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.footer-links {
  margin: 0 0 8px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.footer-group {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px 20px;
}

.footer-group li {
  margin: 0;
  display: flex;
  align-items: center;
}

.footer-group li + li::before {
  content: "\00B7";
  color: var(--muted);
  margin-right: 20px;
  margin-left: -10px;
}

.footer-group a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-group a:hover {
  color: var(--bg-navy);
}

.footer-copyright {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}


.security-page header {
  margin-bottom: 48px;
}

.security-page h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 16px 0 0 0;
  color: var(--bg-navy);
}

.back-link {
  display: inline-block;
  color: var(--honey-2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--bg-navy);
}

.security-section {
  margin-bottom: 16px;
}

.security-section ul {
  list-style: disc;
  margin-left: 24px;
  margin-top: 12px;
}

.security-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.text-small {
  font-size: 14px;
  color: var(--muted);
}

.warrant-canary {
  margin-top: -8px;
  opacity: 0.22;
  transition: opacity 0.2s ease;
}

.warrant-canary p {
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.warrant-canary:hover,
.warrant-canary:focus-within {
  opacity: 0.85;
}

.theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--bg-navy);
  background: var(--cream);
  color: var(--bg-navy);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Manual theme overrides - highest priority */
body.dark-mode {
  --cream: #0F172A !important;
  --bg-light-grey: #1a1f2e !important;
  --bg-navy: #E8E8E8 !important;
  --muted: #B8C5D0 !important;
}

body.light-mode {
  --honey-1: #FFD084 !important;
  --honey-2: #FF9A3C !important;
  --bg-navy: #0F172A !important;
  --cream: #FFF5E8 !important;
  --muted: #9AA4B2 !important;
  --bg-light-grey: #E8E8E8 !important;
}

body.dark-mode .site-bg::before{
  background-image: url('honeycomb-colored-dark.svg');
  opacity: 0.15;
  filter: brightness(0.8) saturate(1.2);
}

body.dark-mode .container{
  box-shadow: 0 0 80px rgba(0,0,0,0.5);
}

body.dark-mode .logo[src="logo-wordmark.svg"] {
  content: url("logo-wordmark-dark.svg");
}

body.dark-mode .hero .logo {
  background: rgba(255, 255, 255, 0.1);
}

/* Narrow viewports: phones and small tablets */
@media (max-width: 640px){
  html,body{
    font-size: 16px;
  }

  .container{
    padding: 24px 20px 32px;
    box-shadow: none;
  }

  .about,
  .coming-soon{
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

  .security-page header{
    margin-bottom: 16px;
  }

  .hero{
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    margin-bottom: 16px;
  }

  .hero .logo{
    grid-column: 1;
    grid-row: 1;
    width: clamp(32px, 10vw, 50px);
    height: clamp(32px, 10vw, 50px);
    aspect-ratio: 1;
    font-size: clamp(20px, 6vw, 32px);
  }

  .hero h1{
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(20px, 7vw, 36px);
    margin: 0;
    white-space: nowrap;
  }

  .hero p{
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: clamp(12px, 4vw, 18px);
    line-height: 1.25;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.7);
  }

  .about{
    margin-bottom: 16px;
    padding: 20px 20px;
  }

  .coming-soon{
    padding: 28px 20px;
  }

  .coming-soon p a{
    display: block;
    margin-top: 4px;
  }

  section{
    margin-bottom: 28px;
  }

  section h2{
    font-size: 24px;
  }

  .app-toggle{
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .toggle-btn{
    flex: 1;
    padding: 8px 16px;
  }

  .app-list{
    grid-template-columns: 1fr;
  }

  .app-card{
    padding: 14px 16px;
  }

  .app-card:hover{
    transform: none;
  }

  .app-store-badge{
    padding: 9px 14px;
  }

  .footer-links{
    flex-direction: column;
    gap: 4px;
  }

  .footer-group{
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .footer-group li{
    white-space: nowrap;
  }

  .footer-group li + li::before{
    content: none;
  }

  .theme-toggle{
    top: auto;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Dark mode based on system preference */
@media (prefers-color-scheme: dark){
  :root{
    --cream: #0F172A;
    --bg-light-grey: #1a1f2e;
    --bg-navy: #E8E8E8;
    --muted: #B8C5D0;
  }

  body:not(.light-mode):not(.dark-mode) .site-bg::before{
    background-image: url('honeycomb-colored-dark.svg');
    opacity: 0.15;
    filter: brightness(0.8) saturate(1.2);
  }

  .container{
    box-shadow: 0 0 80px rgba(0,0,0,0.5);
  }

  /* Logo swap for dark mode */
  .logo[src="logo-wordmark.svg"] {
    content: url("logo-wordmark-dark.svg");
  }

  body:not(.light-mode):not(.dark-mode) .hero .logo {
    background: rgba(255, 255, 255, 0.1);
  }
}

