/* digitalalbumstudio.com — home page */
body.home {
  --gold: #b8862f;
  --gold-2: #d7a74e;
  --ink: #1b1a1e;
  --ink-2: #26242a;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  background: #faf8f5;
}
.home h1,
.home h2 {
  font-family: 'Cormorant Garamond', 'DAS Greek Serif', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
}
.home h1 em,
.home h2 em {
  font-style: italic;
  color: var(--gold-2);
}
.home h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 6px 0 18px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}
.lead {
  font-size: 18px;
  color: #5d574f;
}
.dark .lead,
.hero .lead {
  color: #c9c2b6;
}
.narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.fine {
  font-size: 14px;
  color: #8f877c;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--gold-2);
}
.btn.ghost {
  background: transparent;
  color: #f3efe8;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn.small {
  padding: 7px 16px;
  font-size: 14px;
}
.btn:disabled {
  opacity: 0.6;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(27, 26, 30, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 62px;
}
.nav .logo {
  color: #f3efe8;
}
.nav .links a {
  color: #d8d1c5;
  margin-left: 20px;
  font-size: 14px;
  text-decoration: none;
}
.nav .links a:hover {
  color: #fff;
}
.nav .lang {
  color: #d8d1c5;
  border-color: rgba(255, 255, 255, 0.25);
}
/* Photographers sign in to their albums and galleries (/manage) */
.nav .signin {
  color: #d8d1c5;
  font-size: 14px;
  text-decoration: none;
  margin-right: 12px;
  white-space: nowrap;
}
.nav .signin:hover {
  color: #fff;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 70% 0%, #3a2f22 0%, transparent 60%), var(--ink);
  color: #f3efe8;
  padding: 70px 0 90px;
  overflow: hidden;
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  margin: 16px 0 18px;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(215, 167, 78, 0.6);
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 12px;
}
.hero .cta-row {
  justify-content: center;
}
.hero-visual {
  position: relative;
  padding-bottom: 30px;
}
.hero-phone {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 30%;
}

/* Device frames */
.laptop .screen {
  background: #0d0d0f;
  border: 10px solid #2b2b30;
  border-bottom-width: 14px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.laptop .screen img,
.tablet .screen img,
.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.laptop .base {
  height: 14px;
  margin: 0 -6%;
  background: linear-gradient(#cfcfd4, #9a9aa1);
  border-radius: 0 0 16px 16px;
}
.phone .screen {
  aspect-ratio: 390 / 844;
  border: 9px solid #111;
  border-radius: 34px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 2px #3a3a3f;
  position: relative;
}
.phone .screen::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 34%;
  height: 16px;
  transform: translateX(-50%);
  background: #111;
  border-radius: 10px;
  z-index: 2;
}
.phone.landscape .screen {
  aspect-ratio: 844 / 390;
}
.phone.landscape .screen::before {
  top: 50%;
  left: 6px;
  width: 16px;
  height: 34%;
  transform: translateY(-50%);
}
.tablet .screen {
  aspect-ratio: 1024 / 768;
  border: 14px solid #1a1a1d;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 2px #3a3a3f;
}

/* Trust strip */
.trust {
  background: #f1ece4;
  border-bottom: 1px solid #e6dfd3;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 22px;
  border-left: 1px solid #ddd3c3;
}
.trust-item:first-child {
  border-left: none;
}
/* Wide screens: icon above the text, centred. */
@media (min-width: 901px) {
  .trust-row {
    max-width: 1240px;
  }
  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 2px 26px;
  }
  .trust-item small {
    max-width: 230px;
    margin-left: auto;
    margin-right: auto;
  }
}
.trust-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(184, 134, 47, 0.45);
  background: #faf6ee;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg {
  width: 22px;
  height: 22px;
}
.trust-item b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #2a2723;
  line-height: 1.3;
}
.trust-item small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #7d756a;
  line-height: 1.4;
}

/* Feature blocks */
.feature {
  padding: 90px 0;
}
.feature.dark,
.early.dark {
  background: var(--ink);
  color: #f3efe8;
}
.feature-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.feature-grid.reverse .feature-text {
  order: 2;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ticks li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: #4f4a43;
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
}
.center-head {
  text-align: center;
  margin-bottom: 40px;
}
.devices {
  display: grid;
  grid-template-columns: 2.1fr 0.75fr 1.55fr;
  gap: 34px;
  align-items: center;
  margin: 10px 0 50px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
/* Icon on the left of the title, text below both. */
.cards .card {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  row-gap: 12px;
  align-items: center;
  align-content: start;
}
.dark .card {
  background: var(--ink-2);
  border: 1px solid #36333a;
  border-radius: 14px;
  padding: 22px;
}
.dark .card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}
.dark .card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #b9b2a6;
  font-size: 15px;
}
.card .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(184, 134, 47, 0.45);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .icon svg {
  width: 20px;
  height: 20px;
}
.wide-shot {
  max-width: 900px;
  margin: 60px auto 0;
}

/* Steps */
.steps-section {
  padding: 90px 0;
  background: #f1ece4;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid #e6dfd3;
  border-radius: 14px;
  padding: 20px 18px;
  /* Number on the left of the title, text below both. */
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  align-content: start;
}
.steps li p {
  grid-column: 1 / -1;
  margin-top: 12px !important;
}
.steps b {
  flex: none;
  display: inline-flex;
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  align-items: center;
  justify-content: center;
}
.steps h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.steps p {
  margin: 0;
  color: #6b6358;
  font-size: 15px;
}

/* Early access */
.early {
  padding: 90px 0;
}
.early-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.spots {
  margin: 24px 0 8px;
  font-size: 20px;
}
.spots #spots {
  font-family: 'Cormorant Garamond', 'DAS Greek Serif', Georgia, serif;
  font-size: 64px;
  color: var(--gold-2);
  line-height: 1;
  vertical-align: -6px;
  margin-right: 6px;
}
.signup {
  background: var(--ink-2);
  border: 1px solid #36333a;
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signup .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.signup label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #d8d1c5;
}
.signup input:not([type='checkbox']),
.signup select,
.signup textarea {
  background: #141317;
  color: #f3efe8;
  border: 1px solid #3c3940;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.signup fieldset {
  border: 1px solid #3c3940;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.signup legend {
  font-size: 14px;
  color: #d8d1c5;
  padding: 0 6px;
}
.signup .chk {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.signup .consent {
  align-items: flex-start;
  font-size: 13px;
}
.signup .consent a {
  color: var(--gold-2);
}
.signup .hp {
  position: absolute;
  left: -9999px;
}
.msg {
  min-height: 1.2em;
  font-size: 15px;
  color: #d8d1c5;
}
.msg.ok {
  color: #8fd19e;
}
.msg.err {
  color: #ff9a9a;
}

/* FAQ */
.faq {
  padding: 80px 0;
}
.narrow-wrap {
  max-width: 780px;
}
.faq details {
  border-bottom: 1px solid #e6dfd3;
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}
.faq p {
  color: #5d574f;
  margin: 10px 0 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .early-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid.reverse .feature-text {
    order: 0;
  }
  .devices {
    grid-template-columns: 1fr 1fr;
  }
  .devices .tablet {
    grid-column: 1 / -1;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .trust-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }
  .trust-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .nav .links {
    display: none;
  }
  .hero {
    padding: 44px 0 60px;
  }
}
@media (max-width: 560px) {
  .trust-row {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .trust-item {
    border-left: none;
    padding: 0;
  }
  .cards,
  .steps,
  .signup .two {
    grid-template-columns: 1fr;
  }
  .devices {
    grid-template-columns: 1fr;
  }
  .devices .phone:not(.landscape) {
    width: 62%;
    margin: 0 auto;
  }
  .hero-phone {
    width: 36%;
    right: 0;
  }
  .nav .btn.small {
    display: none;
  }
}

/* The account pages: /signup and /welcome */
body.account-page {
  background: radial-gradient(1200px 500px at 70% 0%, #3a2f22 0%, transparent 60%), var(--ink);
  color: #f3efe8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.account-main {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 16px 72px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.account-intro h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  margin: 0 0 16px;
}
.account-intro p {
  color: #c9c2b6;
  font-size: 17px;
}
.account-steps {
  margin: 22px 0 0;
  padding-left: 22px;
  color: #d8d1c5;
  line-height: 1.6;
}
.account-steps li {
  margin-bottom: 8px;
}
.account-steps li::marker {
  color: var(--gold-2);
  font-weight: 600;
}
.download-card {
  background: var(--ink-2);
  border: 1px solid #36333a;
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.download-card .muted {
  color: #a49c90;
  font-size: 14px;
}
.account-page .msg[hidden],
.account-page [hidden] {
  display: none;
}
@media (max-width: 820px) {
  .account-main {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
}
