/* Remind This · Ulba Studio · 2026 */

/* Base */

:root {
  --page-bg: #f7f7f7;
  --card-bg: #f0f1f2;
  --text-primary: #262424;
  --text-secondary: #6a6a6a;
  --blue: #0088ff;
  --white: #ffffff;
  --border: #e8e8e8;
  --page-width: 1440px;
  --content-width: 1024px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}


/* Layout */

.site {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: 208px;
  padding-right: 208px;
}


/* Header */

.site-header {
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.brand-name {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}


/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;

  border-radius: 12px;

  transition:
    transform 140ms ease,
    opacity 140ms ease;
}

.button:hover {
  opacity: 0.86;
}

.button:active {
  transform: scale(0.98);
}

.button-dark {
  background: var(--text-primary);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.button-header {
  padding: 8px 16px;
}

.button-primary {
  width: 160px;
  padding: 12px 16px;
}


/* Capture bar */

.capture-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.capture-bar-small {
  width: 480px;
  padding: 8px;
}

.capture-input {
  min-width: 0;
  height: 36px;
  flex: 1;

  display: flex;
  align-items: center;

  padding: 8px 10px;
  overflow: hidden;
  border-radius: 10px;
}

.capture-caret {
  width: 2px;
  height: 18px;
  flex: 0 0 2px;

  background: var(--blue);
  border-radius: 999px;

  animation: caret-blink 1s steps(1) infinite;
}

.capture-placeholder {
  min-width: 0;
  flex: 1;

  color: #727272;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.2px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.capture-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.capture-icon-button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(38, 36, 36, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.capture-icon-button img {
  width: 24px;
  height: 24px;
}

.capture-create-button {
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 16px;

  background: var(--blue);
  color: var(--white);

  border-radius: 10px;

  font-size: 13px;
  font-weight: 500;
  line-height: 16px;

  white-space: nowrap;
}

@keyframes caret-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}


/* Hero */

.hero {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 80px;
  padding-top: 80px;
}

.hero-content {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 40px;
}

.hero-copy {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;
  padding: 0 80px;

  text-align: center;
}

.hero-copy h1 {
  width: 100%;

  color: var(--text-primary);

  font-size: 54px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.6px;
}

.hero-copy p {
  width: 100%;

  color: var(--text-secondary);

  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.purchase-block {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;
}

.purchase-actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.purchase-note {
  color: var(--text-secondary);

  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;

  text-align: center;
}

.hero-media {
  width: 100%;
  aspect-ratio: 676 / 380;

  position: relative;
  overflow: hidden;

  border-radius: 16px;
  background: #ededed;
}

.hero-video {
  width: 100%;
  height: 100%;

  object-fit: cover;
  border-radius: inherit;
}

.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: rgba(38, 36, 36, 0.571);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  cursor: pointer;

  transform: translate(-50%, -50%);

  transition:
    transform 140ms ease,
    opacity 140ms ease;
}

.hero-play:hover {
  opacity: 0.7;
}

.hero-play:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.hero-play-icon {
  width: 22px;
  height: 22px;

  position: relative;

  margin-left: 3px;
}

.hero-play-icon::before {
  content: "";

  position: absolute;
  inset: 0;

  background: var(--white);

  clip-path: polygon(
    20% 8%,
    92% 50%,
    20% 92%
  );

  border-radius: 6px;
}


/* Sections */

.section {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 32px;
  margin-top: 80px;
}

.section-heading {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;
  padding: 0 80px;

  text-align: center;
}

.section-heading h2 {
  width: 100%;

  color: var(--text-primary);

  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-heading p {
  width: 100%;

  color: var(--text-secondary);

  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}


/* Features */

.feature-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.feature-card {
  height: 440px;

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;

  padding: 40px;

  background: var(--card-bg);
  border-radius: 24px;

  overflow: hidden;
}

.feature-copy {
  width: 100%;

  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.feature-copy h3 {
  width: 100%;

  color: var(--text-primary);

  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.feature-copy p {
  width: 100%;

  color: var(--text-secondary);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.feature-art {
  position: absolute;
  z-index: 1;

  max-width: none;

  pointer-events: none;
  user-select: none;
}

.feature-art-shortcut {
  width: 424px;
  height: 235px;

  left: 40px;
  top: 84.38px;

  object-fit: cover;
}

.feature-art-voice {
  width: 504px;
  height: 217px;

  left: 0;
  top: 102.38px;

  object-fit: cover;
}

.feature-art-dates {
  width: 424px;
  height: 204px;

  left: 40px;
  top: 115.38px;

  object-fit: cover;
}

.feature-art-reminders {
  width: 359px;
  height: 311px;

  left: 40px;
  top: 40.38px;

  object-fit: cover;
}


/* FAQ */

.faq-section {
  margin-top: 80px;
}

.faq-list {
  width: 100%;

  display: flex;
  flex-direction: column;
}

.faq-item {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 16px;
  padding: 24px 0;

  border-bottom: 1px solid rgba(38, 36, 36, 0.12);
}

.faq-item h3 {
  width: 100%;

  color: var(--text-primary);

  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.faq-item p {
  width: 100%;

  color: var(--text-secondary);

  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.purchase-block-bottom {
  margin-top: 80px;
}


/* Legal pages */

.legal-page {
  width: 100%;
  max-width: 760px;

  margin: 80px auto 0;
}

.legal-header {
  display: flex;
  flex-direction: column;

  gap: 12px;
  margin-bottom: 48px;
}

.legal-header h1 {
  color: var(--text-primary);

  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.legal-header p {
  color: var(--text-secondary);

  font-size: 16px;
  line-height: 1.5;
}

.legal-content {
  display: flex;
  flex-direction: column;

  gap: 36px;
}

.legal-section {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.legal-section h2 {
  color: var(--text-primary);

  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.legal-section h3 {
  color: var(--text-primary);

  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);

  font-size: 16px;
  line-height: 1.65;
}

.legal-section ul,
.legal-section ol {
  margin: 0;
  padding-left: 24px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  opacity: 0.7;
}

.legal-divider {
  width: 100%;
  height: 1px;

  background: rgba(38, 36, 36, 0.12);
}


/* Footer */

.site-footer {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;

  margin-top: 80px;
  padding-bottom: 80px;

  color: var(--text-secondary);

  font-size: 16px;
  line-height: 1.5;

  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;

  gap: 8px;

  font-weight: 500;
  white-space: nowrap;
}

.footer-nav a {
  transition: color 140ms ease;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-legal {
  font-weight: 400;
}


/* Breakpoints */

@media (max-width: 1280px) {
  .site {
    max-width: 100%;

    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 900px) {
  .site {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-copy,
  .section-heading {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .site {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    height: 72px;
    padding: 16px 0;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 16px;
  }

  .button-header {
    font-size: 14px;
    padding: 7px 12px;
    border-radius: 10px;
  }

  .hero {
    gap: 56px;
    padding-top: 56px;
  }

  .capture-bar-small {
    width: 100%;
  }

  .capture-placeholder {
    font-size: 12px;
  }

  .capture-icon-button {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .capture-icon-button img {
    width: 21px;
    height: 21px;
  }

  .capture-create-button {
    height: 34px;
    padding: 0 12px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .purchase-actions {
    width: 100%;
  }

  .button-primary {
    flex: 1;
    width: auto;
  }

  .hero-media {
    border-radius: 14px;
  }

  .section {
    margin-top: 64px;
  }

  .section-heading {
    padding: 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 17px;
  }

  .feature-card {
    height: 400px;
    padding: 28px;
    border-radius: 20px;
  }

  .feature-copy h3 {
    font-size: 22px;
  }

  .feature-art-shortcut {
    left: 28px;
    top: 70px;

    width: calc(100% - 56px);
    height: auto;
  }

  .feature-art-voice {
    left: 0;
    top: 86px;

    width: 145%;
    height: auto;
  }

  .feature-art-dates {
    left: 28px;
    top: 110px;

    width: calc(100% - 56px);
    height: auto;
  }

  .feature-art-reminders {
    left: 28px;
    top: 28px;

    width: 72%;
    height: auto;
  }

  .faq-item h3 {
    font-size: 18px;
  }

  .faq-item p {
    font-size: 16px;
  }

  .legal-page {
    margin-top: 56px;
  }

  .legal-header {
    margin-bottom: 40px;
  }

  .legal-header h1 {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .legal-content {
    gap: 32px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
  }

  .purchase-block-bottom,
  .site-footer {
    margin-top: 64px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
}
